mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 09:06:02 +03:00
[GH-ISSUE #218] Use of color in output makes finding errors difficult #150
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#150
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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!)
@pirate commented on GitHub (Apr 17, 2019):
USE_COLOR=FalseI 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