mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 17:16:00 +03:00
[GH-ISSUE #1553] Bug: zoneinfo._common.ZoneInfoNotFoundError: 'tzlocal() does not support non-zoneinfo timezones like UTC. \nPlease use a timezone in the form of Continent/City' #2433
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#2433
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 @jvoisin on GitHub (Oct 19, 2024).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1553
Describe the bug
Steps to reproduce
Screenshots or log output
ArchiveBox version
ArchiveBox was installed via pip, on Alpine Linux edge, x64.
@pirate commented on GitHub (Oct 19, 2024):
Is your browser's time zone set to UTC?
@jvoisin commented on GitHub (Oct 19, 2024):
https://webbrowsertools.com/timezone/ shows:
@pirate commented on GitHub (Oct 20, 2024):
Interesting, I've never seen this error before.
dateparserexplicitly indicates the way we're using it withUTCis supported in the docs:https://dateparser.readthedocs.io/en/latest/settings.html#timezone-related-configurations
The only thing I can think of is that maybe the underlying tzdata for the system doesn't include
UTC, which is pretty wild I cant imagine that it wouldn't be supported.I can push a fix in the next release but I don't really know how this could happen.
Could you try and test on your system and see if this works:
@jvoisin commented on GitHub (Oct 21, 2024):
@pirate commented on GitHub (Oct 21, 2024):
Very strange.
Could you try running this and report back if it upgrades anything or if it reports nothing was upgraded:
@jvoisin commented on GitHub (Oct 23, 2024):
Seems like it does, yes
@pirate commented on GitHub (Oct 23, 2024):
Aha ok, after that upgrade does
archivebox server 0.0.0.0:8000still throw the error?If not, I'll add
tzdatato our dependencies to fix it for everyone.@jvoisin commented on GitHub (Oct 24, 2024):
Yup, it's now working
@pirate commented on GitHub (Oct 24, 2024):
Ok I fixed it on dev in
27d5eb23. It'll be out with the nextv0.8.5rcXYZrelease.