Read the statement by Michael Teeuw here.
MMM-MyWastePickup date problem
-
And the output of your script (test run):
pi@MM3:~/MagicMirror $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" No LSB modules are available. doing test run = true, NO updates will be applied! update log will be in /home/pi/MagicMirror/installers/upgrade.log Check current Node installation ... Node currently installed. Checking version number. Minimum Node version: v16.9.1 Installed Node version: v16.13.2 No Node.js upgrade necessary. Check current NPM installation ... NPM currently installed. Checking version number. Minimum npm version: V7.11.2 Installed npm version: V8.1.2 No npm upgrade necessary. saving custom.css upgrading from version 2.18.0 to 2.18.0 fetching latest revisions there are 2 local files that are different than the master repo installers/mm.sh package.json do you want to save these files for later (Y/n)? Checking for modules with removed libraries require for request in module MMM-SystemStats not found in package.json package.json for module MMM-SystemStats bypass installing request for module MMM-SystemStats , doing test run processing dependency changes for active modules with package.json files processing for module MMM-MyWastePickup please wait ---------------------------------- skipped processing for MMM-MyWastePickup, doing test run processing complete for module MMM-MyWastePickup processing for module MMM-Fuel please wait ---------------------------------- skipped processing for MMM-Fuel, doing test run processing complete for module MMM-Fuel restoring custom.css test run, restoring files stashed pi@MM3:~/MagicMirror $
-
@mymirror said in MMM-MyWastePickup date problem:
! There was an uncaught exception…
0|mm | [07.02.2022 06:05.57.264] [ERROR] TypeError: parse is not a function
0|mm | at /home/pi/MagicMirror/modules/MMM-MyWastePickup/node_helper.js:36:9the module is having a problem, I would report that to the module GitHub page
-
@bravooscar said in MMM-MyWastePickup date problem:
MMM-MyWastePickup
Make sure that you only have one (1) empty line after the last in the schedule_custom.csv. If you have more empty lines it will break.
-
@mickecarlsson
Thanks for your hint.i actually had 2 blank lines at the end of the list.
But nothing changed, no matter if there were 2, 1 or no blank lines at the end of the list (not even after a restart of the MM or of the whole Pi.Jens
-
Hi there,
I recently installed this module and found no problems.
Hereby a screenshot from the last lines in the csv file.and a screenshot to show you that it works;
Best regards,
John -
@johndb
?? Without “Custom” in the beginning of every line?As described here https://github.com/jclarke0000/MMM-MyWastePickup, however, it should look like this:
Calendar,WeekStarting,GreenBin,Garbage,Recycling,YardWaste,ChristmasTree
Custom,03/07/18,1,0,1,0,0
Custom,03/14/18,1,1,1,0,0
Custom,03/21/18,1,0,1,0,0
Custom,03/28/18,1,1,1,0,0And then there is the error message (see above).
I have the version 2.18 of the MM running under Bullseye. -
@all
Who can help?
I think the problem is here:! There was an uncaught exception… 0|mm | [07.02.2022 06:05.57.264] [ERROR] TypeError: parse is not a function 0|mm | at /home/pi/MagicMirror/modules/MMM-MyWastePickup/node_helper.js:36:9
Jens
-
@mymirror
correct without “Custom” in the beginning of each line.My first lines;
-
Did not work on my site:
Just shows “Loading …”My modules/MMM-MyWastePickup/schedule_custom.csv :
WeekStarting,GreenBin,Garbage,Recycling,YardWaste,ChristmasTree 02/09/22,0,1,0,0,0 02/10/22,0,0,1,0,0 03/02/22,0,1,0,0,0 03/09/22,0,1,0,0,0 03/10/22,1,0,0,0,0
But on github (https://github.com/jclarke0000/MMM-MyWastePickup) is following:
Using Your Own Custom Schedule
If you live outside of Toronto and you’d like to use this module, you can create your own schedule to use with this module.First, in your config specify collectionCalendar: ‘Custom’.
Create a CSV based on the following template:
Calendar,WeekStarting,GreenBin,Garbage,Recycling,YardWaste,ChristmasTree
Custom,03/07/18,1,0,1,0,0
Custom,03/14/18,1,1,1,0,0
Custom,03/21/18,1,0,1,0,0
Custom,03/28/18,1,1,1,0,0
Add lines for each pickup date as neededI did so before Bullseye and everything was fine.
Now with Bullseye, MM 2.18 and new node, npm i have a problem.Ideas?
-
@mymirror have you already found a solution?