Open WillAyd opened 7 months ago
@wgtmac will improve this. See also:
This seems to be related to the installed version of tz database on the test machine. I checked my laptop and the path /usr/share/zoneinfo/US/Pacific
exists. Could you verify the version by checking /usr/share/doc/tzdata/version
file? @WillAyd
That file does not exist for me. This is running popOS 22.04
Could you try installing the tzdata-legacy
package?
I don't see that package for 22.04 - I think first appeared in 23.04?
Oh, sorry. Could you install tzdata
?
It is already installed - tzdata is already the newest version (2024a-0ubuntu0.22.04).
Hmm. tzdata
must install /usr/share/zoneinfo/US/Pacific
: https://packages.ubuntu.com/jammy/all/tzdata/filelist
Ah OK - interesting indeed. That must have been deleted off of my system somehow, but I do see that in a recovery OS.
Happy to close this issue if we want to chalk it up to an unsupported system configuration
Could you try installing the
tzdata-legacy
package?
I also observed pyarrow breaking while processing ORC files, due to inexistent IANA keys. Those were observed on running the pandas test suit locally, but just trying to read some pre-existent ORC files completely broke python and ipython. My setup includes Ubuntu Mantic, Python 3.11 and tzdata
version 2024.1.
At least in my case, installing tzdata-legacy
system wide was enough to get ride of those errors.
I've been debugging this issue and independently found the same solution - installing tzdata-legacy
. Just stashing my error message here in case it is helpful for others.
pyarrow.lib.ArrowInvalid: Cannot locate timezone 'US/Eastern': US/Eastern not found in timezone database
Describe the bug, including details regarding any error messages, version, and platform.
This is an upstream report of https://github.com/pandas-dev/pandas/issues/56292
I noticed when running the pandas test suite I was getting this error:
The workaround is to create that timezone file:
Although I think the error should be handled more gracefully than via abort
Component(s)
Python