Bug 2369815 - AttributeError: 'zoneinfo.ZoneInfo' object has no attribute 'localize'
Summary: AttributeError: 'zoneinfo.ZoneInfo' object has no attribute 'localize'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: khal
Version: 42
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ben Boeckel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-06-02 15:05 UTC by Johan Vromans
Modified: 2025-07-17 01:26 UTC (History)
4 users (show)

Fixed In Version: khal-0.13.0-10.fc42
Clone Of:
Environment:
Last Closed: 2025-07-17 01:26:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Johan Vromans 2025-06-02 15:05:02 UTC
Khal occasionally crashes with

AttributeError: 'zoneinfo.ZoneInfo' object has no attribute 'localize'

Khal has been fixed for a while, but Fedora still carries an old version.

Current version is 0.13.0, Fedora version is 0.11.3.

Please upgrade to the upstream version.

Reproducible: Sometimes

Steps to Reproduce:
It doesn't happens always, but often when removing an occurence from a repeating event.
Actual Results:
AttributeError: 'zoneinfo.ZoneInfo' object has no attribute 'localize'

Expected Results:
No error.

Additional Information:
Even without this error, it would be better to follow upstream more closely.

Comment 1 Ben Boeckel 2025-06-05 14:42:05 UTC

*** This bug has been marked as a duplicate of bug 2358984 ***

Comment 2 Ben Boeckel 2025-07-10 03:45:26 UTC
0.13.0 requires newer setuptools than F42 has. I'll look at this more closely.

Comment 3 Fedora Update System 2025-07-15 04:03:20 UTC
FEDORA-2025-afe5d94b55 (khal-0.13.0-10.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-afe5d94b55

Comment 4 Fedora Update System 2025-07-16 01:40:17 UTC
FEDORA-2025-afe5d94b55 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-afe5d94b55`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-afe5d94b55

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2025-07-17 01:26:46 UTC
FEDORA-2025-afe5d94b55 (khal-0.13.0-10.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.