iobroker-community-adapters / ioBroker.ical

Read information from google calender and from iCal files into ioBroker.
MIT License
44 stars 32 forks source link

Einlesen *.isc schlägt mit "getHours is not a function" fehl #210

Closed etad4e5 closed 3 years ago

etad4e5 commented 3 years ago

Hallo,

ich habe den Adapter installiert und versuche nun von meinem Entsorgungsunternehmen das Abfallkalender einzulesen. Dieses sieht so aus

BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Sabre//Sabre VObject 3.1.2//EN CALSCALE:GREGORIAN BEGIN:VEVENT UID:707209@mymuell.de SUMMARY:Restmüll - Gustavstr. 13 DTSTAMP:20210116T214742Z DTSTART:20201201 DTEND:20201202 END:VEVENT BEGIN:VEVENT UID:303697@mymuell.de SUMMARY:Gelber Sack - Gustavstr. 13 DTSTAMP:20210116T214742Z DTSTART:20201203

Nun scheint das Format nicht passend zu sein und es kommt dauerhaft zu folgenden Fehlern:

ical.0 2021-01-16 22:07:45.468 error at processImmediate (internal/timers.js:461:21)
ical.0 2021-01-16 22:07:45.468 error at Immediate. (/opt/iobroker/node_modules/iobroker.ical/main.js:228:25)
ical.0 2021-01-16 22:07:45.468 error at processData (/opt/iobroker/node_modules/iobroker.ical/main.js:358:17)
ical.0 2021-01-16 22:07:45.468 error at checkDates (/opt/iobroker/node_modules/iobroker.ical/main.js:399:19)
ical.0 2021-01-16 22:07:45.468 error (29717) TypeError: ev.start.getHours is not a function
ical.0 2021-01-16 22:07:45.468 error (29717) uncaught exception: ev.start.getHours is not a function
ical.0 2021-01-16 22:07:45.464 info (29717) processing URL: Abfallkalender http://192.168.178.33/Abfallkalender.ics

Beim Google habe ich aus dem Jahr 2016 ein vergleichbares Verhalten gefunden, jedoch ohne eine passende Lösung

Versions:

Danke schon mal im Voraus Eugen

Apollon77 commented 3 years ago

Bitte die Version aus Latest nutzen. Ist es dort weg? Sollte

etad4e5 commented 3 years ago

mit der Version 1.9.0 sind die Fehler weg. Das z.B. Gmail-Kalender funktioniert auch. Jedoch das Kalender aus der ics-Datei nach wie vor nicht verfügbar. Falsches Format? Import der ics-Datei bei z.B. google verläuft einwandfrei

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.

stale[bot] commented 3 years ago

This issue has been automatically closed because of inactivity. Please open a new issue if still relevant and make sure to include all relevant details, logs and reproduction steps. Thank you for your contributions. Dieses Problem wurde aufgrund von Inaktivität automatisch geschlossen. Bitte öffnet ein neues Issue, falls dies noch relevant ist und stellt sicher das alle relevanten Details, Logs und Reproduktionsschritte enthalten sind. Vielen Dank für Eure Unterstützung.