Skip to content
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

[BUG]: Trigger crashes with "TypeError: source.toLowerCase is not a function" #16

Open
GeorgSchmitz opened this issue Apr 24, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@GeorgSchmitz
Copy link

Describe the bug
Thank you very much for providing this node. Unfortunately I'm running into a problem where I cannot find a solution by myself. I use an ics calendar file from my local waste disposal company in order to remind me to move the bins to the street.
I'm using version 2.2.5 of your node running on a raspberry "bookworm" with node red running in version 3.1.9.
The same function works on my laptop using the same versions but running ArchLinux.
I have no idea how to catch the problem in order to solve it.

To Reproduce
Steps to reproduce the behavior:

  1. input
    Use the "Abfallkalender" from www.schoenmackers.de select "Parkstraße", select "Hausnummer 2", tick the boxes "Bioabfall", "Leichtverpackungen", "Papier" and "Restabfall".
  2. config
    I selected ical, gave it a name and placed the path to the file. The file is chmod 777 (for testing)
  3. ouput
    TypeError: source.toLowerCase is not a function
    or when I start node red with the command: "DEBUG=kaldender-events* node-red"
    [error] [ical-events:Leichtverpackungen] TypeError: source.toLowerCase is not a function
    This fault message also applies for the other categories of rubbish bins.
  4. See error

Expected behavior
When I use the trigger node, it shouldn't output fault messages

Screenshots
Bildschirmfoto vom 2024-04-24 10-24-50

Additional context
I guess the fault is somehow caused by myself. But copying the complete node to a different machine does do the trick. It works out of the box with the same calendar file. I have no idea how to start solving the problem by myself and would be happy to get some support.

Thank you very much in advance!
Georg

@GeorgSchmitz GeorgSchmitz added the bug Something isn't working label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants