[GH-ISSUE #218] Use of color in output makes finding errors difficult #150

Closed
opened 2026-03-01 14:41:04 +03:00 by kerem · 1 comment
Owner

Originally created by @paulehoffman on GitHub (Apr 16, 2019).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/218

I was running ./archive as root, which was probably a bad idea anyway. However, it could not figure out why PDFs and so on were not being kept because the useful part of the error messages was in yellow. Not all of us use "dark mode", which made the error nearly impossible to see.
Proposal: use color more sparingly in error messages, or only use colors that appear well on both dark and light backgrounds.
(And, yes, I am now running just fine once I created a non-root user. I'm quite excited by this program!)

Originally created by @paulehoffman on GitHub (Apr 16, 2019). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/218 I was running ./archive as root, which was probably a bad idea anyway. However, it could not figure out why PDFs and so on were not being kept because the useful part of the error messages was in yellow. Not all of us use "dark mode", which made the error nearly impossible to see. Proposal: use color more sparingly in error messages, or only use colors that appear well on both dark and light backgrounds. (And, yes, I am now running just fine once I created a non-root user. I'm quite excited by this program!)
kerem closed this issue 2026-03-01 14:41:04 +03:00
Author
Owner

@pirate commented on GitHub (Apr 17, 2019):

USE_COLOR=False

I can change it to something other than yellow (but tbh I recommend setting up your terminal config so that all standard ANSI colors are visible). Were you using flux bychance? I know that can make yellows/light greens much harder to distinguish.

Here's some more info on running as root as well if you're curious:
https://github.com/pirate/ArchiveBox/wiki/Security-Overview#do-not-run-as-root

<!-- gh-comment-id:483890793 --> @pirate commented on GitHub (Apr 17, 2019): [`USE_COLOR=False`](https://github.com/pirate/ArchiveBox/wiki/Configuration#use_color) I can change it to something other than yellow (but tbh I recommend setting up your terminal config so that all standard ANSI colors are visible). Were you using flux bychance? I know that can make yellows/light greens much harder to distinguish. Here's some more info on running as root as well if you're curious: https://github.com/pirate/ArchiveBox/wiki/Security-Overview#do-not-run-as-root
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#150
No description provided.