MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Need help please MMM-dropbox error

    Scheduled Pinned Locked Moved Solved Troubleshooting
    15 Posts 3 Posters 4.1k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • StoffbeuteluweS Offline
      Stoffbeuteluwe Project Sponsor
      last edited by

      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)
      
      
      S 1 Reply Last reply Reply Quote 0
      • StoffbeuteluweS Offline
        Stoffbeuteluwe Project Sponsor @sdetweil
        last edited by Stoffbeuteluwe

        @sdetweil I will try a new token…thanks Sam

        1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @Stoffbeuteluwe
          last edited by

          @Stoffbeuteluwe that usually means the code did not handle an error return from the api it called.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          StoffbeuteluweS 2 Replies Last reply Reply Quote 0
          • StoffbeuteluweS Offline
            Stoffbeuteluwe Project Sponsor @sdetweil
            last edited by

            @sdetweil that means it depends on the api?

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @Stoffbeuteluwe
              last edited by

              @Stoffbeuteluwe which mmm-dropbox is this?

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              StoffbeuteluweS 1 Reply Last reply Reply Quote 0
              • StoffbeuteluweS Offline
                Stoffbeuteluwe Project Sponsor @sdetweil
                last edited by

                @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:

                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @Stoffbeuteluwe
                  last edited by

                  @Stoffbeuteluwe said in Need help please MMM-dropbox error:

                  it is locked at every start off MM

                  what does that mean?

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  mumblebajM StoffbeuteluweS 2 Replies Last reply Reply Quote 0
                  • StoffbeuteluweS Offline
                    Stoffbeuteluwe Project Sponsor @sdetweil
                    last edited by

                    https://github.com/michael5r/mmm-dropbox

                    1 Reply Last reply Reply Quote 0
                    • mumblebajM Offline
                      mumblebaj Module Developer @sdetweil
                      last edited by

                      @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:

                      Check out my modules at: https://github.com/mumblebaj?tab=repositories
                      Check my blog-post: https://mumblebaj.xyz/
                      Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                      StoffbeuteluweS 1 Reply Last reply Reply Quote 0
                      • StoffbeuteluweS Offline
                        Stoffbeuteluwe Project Sponsor @sdetweil
                        last edited by Stoffbeuteluwe

                        @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

                        S 1 Reply Last reply Reply Quote 0
                        • StoffbeuteluweS Offline
                          Stoffbeuteluwe Project Sponsor @mumblebaj
                          last edited by

                          @mumblebaj 😀

                          StoffbeuteluweS 1 Reply Last reply Reply Quote 0
                          • StoffbeuteluweS Offline
                            Stoffbeuteluwe Project Sponsor @Stoffbeuteluwe
                            last edited by

                            @Stoffbeuteluwe ok at first we can try to handle the Dropbox problem

                            S 1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil @Stoffbeuteluwe
                              last edited by

                              @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

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              1 Reply Last reply Reply Quote 0
                              • S Do not disturb
                                sdetweil @Stoffbeuteluwe
                                last edited by sdetweil

                                @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

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                StoffbeuteluweS 2 Replies Last reply Reply Quote 0
                                • StoffbeuteluweS Offline
                                  Stoffbeuteluwe Project Sponsor @sdetweil
                                  last edited by

                                  @sdetweil sometimes it works but not very often

                                  1 Reply Last reply Reply Quote 0
                                  • StoffbeuteluweS Offline
                                    Stoffbeuteluwe Project Sponsor @sdetweil
                                    last edited by Stoffbeuteluwe

                                    @sdetweil I will try a new token…thanks Sam

                                    1 Reply Last reply Reply Quote 0

                                    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
                                    • 1 / 1
                                    • First post
                                      Last post
                                    Enjoying MagicMirror? Please consider a donation!
                                    MagicMirror created by Michael Teeuw.
                                    Forum managed by Sam, technical setup by Karsten.
                                    This forum is using NodeBB as its core | Contributors
                                    Contact | Privacy Policy