Read the statement by Michael Teeuw here.
Need help please MMM-dropbox error
-
Whoops! There was an uncaught exception... TypeError: Cannot read property 'length' of undefined at Class.getData (/Users/patrickhahn/MagicMirror/modules/mmm-dropbox/node_helper.js:54:43) at Class.socketNotificationReceived (/Users/patrickhahn/MagicMirror/modules/mmm-dropbox/node_helper.js:352:18) at Socket.<anonymous> (/Users/patrickhahn/MagicMirror/modules/node_modules/node_helper/index.js:113:11) at Socket.emit (events.js:182:13) at /Users/patrickhahn/MagicMirror/node_modules/socket.io/lib/socket.js:528:12 at process._tickCallback (internal/process/next_tick.js:61:11) -
@sdetweil I will try a new token…thanks Sam
-
@Stoffbeuteluwe that usually means the code did not handle an error return from the api it called.
-
@sdetweil that means it depends on the api?
-
@Stoffbeuteluwe which mmm-dropbox is this?
-
@sdetweil hey Sam can you help me with my current weather module …it is locked at every start off MM and I don’t know why:thinking_face:
-
@Stoffbeuteluwe said in Need help please MMM-dropbox error:
it is locked at every start off MM
what does that mean?
-
-
@sdetweil I love this. Gone from MMM-dropbox to weather module…:grinning_face: :smiling_face_with_open_mouth: :smiling_face_with_open_mouth_smiling_eyes:
-
@sdetweil it is a lock on Remote Control it say a other module have locked the current weather module
i must open the lock then it works -
-
@Stoffbeuteluwe ok at first we can try to handle the Dropbox problem
-
@Stoffbeuteluwe said in Need help please MMM-dropbox error:
is a lock on Remote Control it say a other module have locked the current weather module
no idea, never seen this
-
@Stoffbeuteluwe said in Need help please MMM-dropbox error:
k at first we can try to handle the Dropbox problem
he has a bad design,
he starts a timer, with a 0 delay
initialLoadDelay int 0 How long to delay the initial load (in ms)and so it calls to get data BEFORE it initializes the node helper…
in your config.js config {} section for this module add
initialLoadDelay: 5000,and it says if the token is not specified, present and error message,
if (this.config.token === '') { this.errMsg = 'Please add your Dropbox token to the MagicMirror config.js file.';but it still calls the node helper to get data, which then crashes with the error u see
-
@sdetweil sometimes it works but not very often
-
@sdetweil I will try a new token…thanks Sam
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login