kitchen: Update DTEX calendar URL
I wrote a Thunderbird add-on for my work computer that periodically exports my entire DTEX calendar to a file. Unfortunately, the file it creates is not directly usable by the kitchen screen server currently; it seems to use a time zone identifier that `tzinfo` doesn't understand: ``` Error in background update: Traceback (most recent call last): File "/usr/local/kitchen/lib64/python3.12/site-packages/kitchen/service/agenda.py", line 19, in _background_update await self._update() File "/usr/local/kitchen/lib64/python3.12/site-packages/kitchen/service/agenda.py", line 34, in _update calendar = await self.fetch_calendar( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/kitchen/lib64/python3.12/site-packages/kitchen/service/caldav.py", line 39, in fetch_calendar return icalendar.Calendar.from_ical(r.text) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/kitchen/lib64/python3.12/site-packages/icalendar/cal.py", line 369, in from_ical _timezone_cache[component['TZID']] = component.to_tz() ^^^^^^^^^^^^^^^^^ File "/usr/local/kitchen/lib64/python3.12/site-packages/icalendar/cal.py", line 659, in to_tz return cls() ^^^^^ File "/usr/local/kitchen/lib64/python3.12/site-packages/pytz/tzinfo.py", line 190, in __init__ self._transition_info[0]) ~~~~~~~~~~~~~~~~~~~~~^^^ IndexError: list index out of range ``` It seems to work fine in Nextcloud, though, so the work-around is to import it as a subscription in Nextcloud and then read it from there, using Nextcloud as a sort of proxy.pull/83/head
parent
28d6bdc3a9
commit
7c9737e092
|
@ -48,8 +48,9 @@ spec:
|
|||
calendar_url: >-
|
||||
https://nextcloud.pyrocufflink.net/remote.php/dav/calendars/B53DE34E-D21F-46AA-B0F4-1EC0933AE220/projects_shared_by_332E433E-43B2-4E3D-A0A0-EB264C624707/
|
||||
dtex: &dtex
|
||||
<<: *credentials
|
||||
calendar_url: >-
|
||||
https://outlook.office365.com/owa/calendar/0f775a4f7bba4abe91d2684668b0b04f@dtexsystems.com/5f42742af8ae4f8daaa810e1efca6e9e8531195936760897056/S-1-8-960331003-2552388381-4206165038-1812416686/reachcalendar.ics
|
||||
https://nextcloud.pyrocufflink.net/remote.php/dav/calendars/B53DE34E-D21F-46AA-B0F4-1EC0933AE220/pyrocufflinknet-1/?export
|
||||
|
||||
agenda:
|
||||
calendars:
|
||||
|
|
Loading…
Reference in New Issue