-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ikhal crashes with zoneinfo attrib error adding new event #1367
Comments
This is due to a breaking change in icalendar and should be fixed by #1364. |
@d7415 thanks for the pointer. I backported the functional part of that series to 0.11.3 and confirmed that it fixes this and #1366 https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/74673/diffs |
I'm in 0.11.3 but I got the same error: which version of khal shall I install to be able to add new events? (I'm using vdirsyncer: perhaps I should rather downgrade vdirsyncer? Do you know to which version?) Thanks! |
#1364 is needed to address that but it is not merged so no releases contain that fix at the moment.
|
OK, it indeed works with
```
pip install icalendar==5.0.13
```
Thanks!
Le Sat, Nov 30, 2024 at 01:53:35AM -0800, Leonardo Taccari a écrit :
… > I'm in 0.11.3 but I got the same error: which version of khal shall I install to be able to add new events?
>
#1364 is needed to address that but it is not merged so no releases contain that fix at the moment.
> (I'm using vdirsyncer: perhaps I should rather downgrade vdirsyncer? Do you know to which version?)
>
`vdirsyncer` is unrelated. It depends on `icalendar` Python package. If you can downgrade `icalendar` to a 5.x version it should avoid that problem.
--
Reply to this email directly or view it on GitHub:
#1367 (comment)
You are receiving this because you commented.
Message ID: ***@***.***>
|
Hey, i tried to fix it on #1374 (comment) |
Describe the bug
When trying to add a new event in ikhal, it crashes with
AttributeError: 'zoneinfo.ZoneInfo' object has no attribute '_tzinfos'
If applicable: Stack Trace
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Event added, ikhal doesn't crash
OS, version, khal version and how you installed it:
pip freeze
]Additional context
Add any other context about the problem here. Especially, if the issue came up when reading an .ics file, please provide the content of that file (anonymize if needed).
The text was updated successfully, but these errors were encountered: