Hello,
I have the newest software, the new version looks great, I love that I can now see the upcoming calendar items and the new layout is nice!
I am however struggling with getting the iCal feeds to work. Any of my private ones appear to generate messages like below. Do you have any ideas on how to stop these?
If I grep the ICS I see the following actions:
ACTION:AUDIO
ACTION:DISPLAY
ACTION:EMAIL
ACTION:NONE
Looking here, it looks like there is a workaround that is non ideal but possible. Appears to not work at first try but will experiment.
ics-py/ics-py#127
Thoughts?
Starting new loop__
Date: Sat 9 Feb 19, time: 07:32
Connecting to Openweathermap API servers...
weather data:
Temperature: 24 °C
Humidity: 45%
Icon code: 01d
weather-icon name: wi-day-sunny
Wind speed: 2km/h
Sunrise-time: 7:00
Sunset time: 17:29
Cloudiness: 1%
Weather description: Clear
Fetching events from your calendar
Traceback (most recent call last):
File "/home/pi/E-Paper-Master/Calendar/E-Paper.py", line 282, in
main()
File "/home/pi/E-Paper-Master/Calendar/E-Paper.py", line 196, in main
ical = Calendar(urlopen(icalendars).read().decode())
File "/home/pi/.local/lib/python3.5/site-packages/ics/icalendar.py", line 69, in init
self._populate(container[0]) # Use first calendar
File "/home/pi/.local/lib/python3.5/site-packages/ics/component.py", line 60, in _populate
extractor.function(self, lines) # Send a list or empty list
File "/home/pi/.local/lib/python3.5/site-packages/ics/icalendar.py", line 214, in events
calendar.events = list(map(event_factory, lines))
File "/home/pi/.local/lib/python3.5/site-packages/ics/icalendar.py", line 213, in event_factory
return Event._from_container(x, tz=calendar._timezones)
File "/home/pi/.local/lib/python3.5/site-packages/ics/component.py", line 32, in _from_container
k._populate(container)
File "/home/pi/.local/lib/python3.5/site-packages/ics/component.py", line 60, in _populate
extractor.function(self, lines) # Send a list or empty list
File "/home/pi/.local/lib/python3.5/site-packages/ics/event.py", line 497, in alarms
event.alarms = list(map(alarm_factory, lines))
File "/home/pi/.local/lib/python3.5/site-packages/ics/event.py", line 495, in alarm_factory
af = AlarmFactory.get_type_from_container(x)
File "/home/pi/.local/lib/python3.5/site-packages/ics/alarm.py", line 45, in get_type_from_container
return AlarmFactory.get_type_from_action(action_type.value)
File "/home/pi/.local/lib/python3.5/site-packages/ics/alarm.py", line 36, in get_type_from_action
raise ValueError('Invalid alarm action')
ValueError: Invalid alarm action