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.

    MMM-PublicTransportDB

    Scheduled Pinned Locked Moved Troubleshooting
    6 Posts 4 Posters 3.3k Views 4 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.
    • U Offline
      Ultimatum22 Module Developer
      last edited by

      Are there any errors in the linux console? And in your browser, open the console with f12 in a chrome browser while you are on your MM page.

      1 Reply Last reply Reply Quote 0
      • T Offline
        Tekki
        last edited by

        Attached is the output in the console.

        Initializing MagicMirror.
        translator.js:197 Loading core translation file: translations/en.json
        translator.js:219 Loading core translation fallback file: translations/en.json
        loader.js:182 Load script: modules/MMM-PublicTransportDB//MMM-PublicTransportDB.js
        module.js:414 Module registered: MMM-PublicTransportDB
        loader.js:152 Bootstrapping module: MMM-PublicTransportDB
        loader.js:182 Load script: vendor/node_modules/moment/min/moment-with-locales.js
        loader.js:182 Load script: modules/MMM-PublicTransportDB//./vendor/bluebird-3.4.5.min.js
        loader.js:157 Scripts loaded for: MMM-PublicTransportDB
        loader.js:197 Load stylesheet: modules/MMM-PublicTransportDB//style.css
        loader.js:159 Styles loaded for: MMM-PublicTransportDB
        loader.js:161 Translations loaded for: MMM-PublicTransportDB
        loader.js:197 Load stylesheet: css/custom.css
        :8080/modules/MMM-PublicTransportDB//MMM-PublicTransportDB.js:29 Starting module: MMM-PublicTransportDB
        main.js:422 All modules started!
        module.js:117 MMM-PublicTransportDB received a system notification: ALL_MODULES_STARTED
        module.js:117 MMM-PublicTransportDB received a system notification: DOM_OBJECTS_CREATED```
        1 Reply Last reply Reply Quote 0
        • T Offline
          Tekki
          last edited by

          Hello,

          I found the following message in the console.

          Transportation fetcher created. (Station ID: 8000139)
          (node:5048) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'name' of undefined
          (node:5048) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code
          

          Can someone help me?

          1 Reply Last reply Reply Quote 0
          • J Offline
            Josch
            last edited by

            Hey,

            I don’t know if it is still a problem, but I had the same errors. So I looked into it and found that some return value model porbably changed. I created a pull request from my version which is working:
            https://github.com/olexs/MMM-PublicTransportDB/pulls
            Maybe this helps someone someday ;)

            Cheers,
            Josch

            1 Reply Last reply Reply Quote 0
            • K Offline
              knubbl
              last edited by

              Are u still working on an offline List for Staton IDs?

              1 Reply Last reply Reply Quote 0
              • 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