[GH-ISSUE #907] Bug: Can't see the entire reaon of failure #563

Open
opened 2026-03-01 14:44:36 +03:00 by kerem · 4 comments
Owner

Originally created by @alexisfrjp on GitHub (Dec 20, 2021).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/907

Describe the bug

On the log webpage, we can't see the reason.

Screenshots or log output

image

No possibility to scroll down.

ArchiveBox version

$ podman run -v /home/alexis/archivebox:/data:Z -p 8000:8000 archivebox/archivebox --version
ArchiveBox v0.6.2
Cpython Linux Linux-4.18.0-348.el8.x86_64-x86_64-with-glibc2.28 x86_64
IN_DOCKER=True DEBUG=False IS_TTY=False TZ=UTC SEARCH_BACKEND_ENGINE=ripgrep

[i] Dependency versions:
 √  ARCHIVEBOX_BINARY     v0.6.2          valid     /usr/local/bin/archivebox                                                   
 √  PYTHON_BINARY         v3.9.5          valid     /usr/local/bin/python3.9                                                    
 √  DJANGO_BINARY         v3.1.10         valid     /usr/local/lib/python3.9/site-packages/django/bin/django-admin.py           
 √  CURL_BINARY           v7.64.0         valid     /usr/bin/curl                                                               
 √  WGET_BINARY           v1.20.1         valid     /usr/bin/wget                                                               
 √  NODE_BINARY           v15.14.0        valid     /usr/bin/node                                                               
 √  SINGLEFILE_BINARY     v0.3.16         valid     /node/node_modules/single-file/cli/single-file                              
 √  READABILITY_BINARY    v0.0.2          valid     /node/node_modules/readability-extractor/readability-extractor              
 √  MERCURY_BINARY        v1.0.0          valid     /node/node_modules/@postlight/mercury-parser/cli.js                         
 √  GIT_BINARY            v2.20.1         valid     /usr/bin/git                                                                
 √  YOUTUBEDL_BINARY      v2021.04.26     valid     /usr/local/bin/youtube-dl                                                   
 √  CHROME_BINARY         v90.0.4430.93   valid     /usr/bin/chromium                                                           
 √  RIPGREP_BINARY        v0.10.0         valid     /usr/bin/rg        
Originally created by @alexisfrjp on GitHub (Dec 20, 2021). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/907 #### Describe the bug On the log webpage, we can't see the reason. #### Screenshots or log output ![image](https://user-images.githubusercontent.com/6713988/146736395-645a6e76-7dae-4904-8264-b576fe375342.png) No possibility to scroll down. #### ArchiveBox version ``` $ podman run -v /home/alexis/archivebox:/data:Z -p 8000:8000 archivebox/archivebox --version ArchiveBox v0.6.2 Cpython Linux Linux-4.18.0-348.el8.x86_64-x86_64-with-glibc2.28 x86_64 IN_DOCKER=True DEBUG=False IS_TTY=False TZ=UTC SEARCH_BACKEND_ENGINE=ripgrep [i] Dependency versions: √ ARCHIVEBOX_BINARY v0.6.2 valid /usr/local/bin/archivebox √ PYTHON_BINARY v3.9.5 valid /usr/local/bin/python3.9 √ DJANGO_BINARY v3.1.10 valid /usr/local/lib/python3.9/site-packages/django/bin/django-admin.py √ CURL_BINARY v7.64.0 valid /usr/bin/curl √ WGET_BINARY v1.20.1 valid /usr/bin/wget √ NODE_BINARY v15.14.0 valid /usr/bin/node √ SINGLEFILE_BINARY v0.3.16 valid /node/node_modules/single-file/cli/single-file √ READABILITY_BINARY v0.0.2 valid /node/node_modules/readability-extractor/readability-extractor √ MERCURY_BINARY v1.0.0 valid /node/node_modules/@postlight/mercury-parser/cli.js √ GIT_BINARY v2.20.1 valid /usr/bin/git √ YOUTUBEDL_BINARY v2021.04.26 valid /usr/local/bin/youtube-dl √ CHROME_BINARY v90.0.4430.93 valid /usr/bin/chromium √ RIPGREP_BINARY v0.10.0 valid /usr/bin/rg ```
Author
Owner

@AndTheDaysGoBy commented on GitHub (Dec 27, 2021):

Might've been a purposeful choice? Fiddling in browser, overflow was set to hidden. Checking admin.css file, we have
github.com/ArchiveBox/ArchiveBox@a9986f1f05/archivebox/templates/static/admin.css (L304)
where it's specifically set to hidden instead of scroll.

<!-- gh-comment-id:1001371609 --> @AndTheDaysGoBy commented on GitHub (Dec 27, 2021): Might've been a purposeful choice? Fiddling in browser, overflow was set to hidden. Checking `admin.css` file, we have https://github.com/ArchiveBox/ArchiveBox/blob/a9986f1f05bfcda8cbb6b7c915854560f98d3e3e/archivebox/templates/static/admin.css#L304 where it's specifically set to `hidden` instead of `scroll`.
Author
Owner

@pirate commented on GitHub (Dec 27, 2021):

Yeah, my reasoning was that having many dozens of nested vertical scrollbars is kind of annoying, and if you need the full output you can ctrl+A , ctrl+c, ctrl+v somewhere else. Maybe horizontal inner scrolling would work better?

<!-- gh-comment-id:1001412581 --> @pirate commented on GitHub (Dec 27, 2021): Yeah, my reasoning was that having many dozens of nested vertical scrollbars is kind of annoying, and if you need the full output you can ctrl+A , ctrl+c, ctrl+v somewhere else. Maybe horizontal inner scrolling would work better?
Author
Owner

@alexisfrjp commented on GitHub (Dec 27, 2021):

If it's annoying, better not to show them at all. What's annoying is to have texts that can't be seen entirely... especially when there is a failure, we can't see the reason. It kinda defeats the purpose of having those.
Ctrl+A doesn't work, I guess it must depend on browsers.

Or maybe show it entirely on a different page (url's page) or on an hover box.

<!-- gh-comment-id:1001417075 --> @alexisfrjp commented on GitHub (Dec 27, 2021): If it's annoying, better not to show them at all. What's annoying is to have texts that can't be seen entirely... especially when there is a failure, we can't see the reason. It kinda defeats the purpose of having those. Ctrl+A doesn't work, I guess it must depend on browsers. Or maybe show it entirely on a different page (url's page) or on an hover box.
Author
Owner

@pirate commented on GitHub (Dec 27, 2021):

Try triple click

<!-- gh-comment-id:1001434087 --> @pirate commented on GitHub (Dec 27, 2021): Try triple click
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#563
No description provided.