• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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-SingleStock

Scheduled Pinned Locked Moved Unsolved Troubleshooting
9 Posts 3 Posters 807 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.
  • P Offline
    plainbroke
    last edited by Jul 19, 2023, 9:44 PM

    I have been trying for a week now to get Single Stock to work again.
    I removed and reinstalled it.
    tried it again, no luck.
    ran npm install in the modules/MMM-SingleStock folder.
    still no luck
    Went and deleted and made a new API token.
    Still no luck.
    Any Idea’s as to what I am doing wrong?
    I have 32 other modules running using carousel but can not get this one to work.
    Do I have to have config.js set to 0.0.0.0 or localhost instead of [ } ?

    Slow learner. But trying anyways.

    B 1 Reply Last reply Jul 21, 2023, 2:06 AM Reply Quote 0
    • B Offline
      bhepler Module Developer @plainbroke
      last edited by Jul 21, 2023, 2:06 AM

      @plainbroke - Are you seeing any errors in the log files? Both the front end log file and the back end log. It could be as simple as an API change.

      P 1 Reply Last reply Jul 23, 2023, 2:19 AM Reply Quote 0
      • P Offline
        plainbroke @bhepler
        last edited by Jul 23, 2023, 2:19 AM

        @bhepler
        Ok, where are these logs you speak of?
        I am not very good with all this. I do a lot of trial and error, to figure out what is needed to get MM to work the way I want it to.
        After saying that I am pretty good at following instructions.

        Slow learner. But trying anyways.

        B 1 Reply Last reply Jul 30, 2023, 6:19 PM Reply Quote 0
        • J Offline
          Jalibu Module Developer
          last edited by Jul 23, 2023, 11:21 AM

          you can just use MMM-Jast as a working alternative.

          P 1 Reply Last reply Jul 23, 2023, 11:34 PM Reply Quote 0
          • P Offline
            plainbroke @Jalibu
            last edited by Jul 23, 2023, 11:34 PM

            @Jalibu
            Thats all fine and dandy, except I now have to figure out how to make it very large to fit middle center on my 48 inch screen.
            I had SingleStock all setup to fit my screen. I just need to know how to fix it really. I am using a 120px font with singleStock.

            Slow learner. But trying anyways.

            1 Reply Last reply Reply Quote 0
            • B Offline
              bhepler Module Developer @plainbroke
              last edited by Jul 30, 2023, 6:19 PM

              @plainbroke All right, we’ll start at the beginning. There are two sources for log entries in the MM framework. The front end will be accessible from a web browser. But the front end is unlikely the cause of the problem you’re seeing. So that means finding the back end logs.

              Assuming that you have SSH access to your mirror and you used @sdetweil’s installation script to enable pm2*, you can find the logs by:

              1. Establish a SSH connection to your Pi.
              2. enter pm2 stop all at the command prompt to turn off the Magic Mirror application (Pi and monitor will remain on - you should see the Pi desktop on the mirror after a couple seconds)
              3. enter pm2 flush to clear out the logs
              4. enter pm2 start all to start up the Magic Mirror application
              5. enter pm2 log 0 to see the log entries as they are written. Over the course of the next 30 seconds or so you will see the log entries as the application starts.

              Watch the log files as they arrive and look for anything that starts with ERROR. Anything with “warning” can be ignored. You’re specifically looking for any error that also contains the MMM-SingleStock module name, but that’s not always the case.

              Report back with what you find. Please copy & paste the error message into a post in this thread. Be sure to use the markup features of the forum.

              • If you don’t know how to get an SSH connection to your pi, or you didn’t use the scripts, or you’re not using pm2 to auto-start your mirror, let us know and we’ll deal with that when the time comes.
              P 1 Reply Last reply Jul 31, 2023, 10:25 PM Reply Quote 0
              • P Offline
                plainbroke @bhepler
                last edited by plainbroke Jul 31, 2023, 10:47 PM Jul 31, 2023, 10:25 PM

                @bhepler
                These are the only things not in green. ```
                code_text

                0|mm  | [1607:0731/171531.058268:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
                0|mm  | [1556:0731/171533.905455:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.NetworkManager.GetDevices: object_path= /org/freedesktop/NetworkManager: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files

                Slow learner. But trying anyways.

                P 1 Reply Last reply Jul 31, 2023, 11:29 PM Reply Quote 0
                • P Offline
                  plainbroke @plainbroke
                  last edited by Jul 31, 2023, 11:29 PM

                  0|mm  | MESA-LOADER: failed to retrieve device information
                  0|mm  | MESA-LOADER: failed to retrieve device information
                  0|mm  | MESA-LOADER: failed to retrieve device information
                  0|mm  | MESA-LOADER: failed to open kms_swrast (search paths /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri)
                  0|mm  | failed to load driver: kms_swrast
                  0|mm  | MESA-LOADER: failed to open swrast (search paths /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri)
                  0|mm  | failed to load swrast driver
                  0|mm  | [1969:0731/182543.028972:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
                  
                  

                  Slow learner. But trying anyways.

                  B 1 Reply Last reply Aug 11, 2023, 1:23 AM Reply Quote 0
                  • B Offline
                    bhepler Module Developer @plainbroke
                    last edited by bhepler Aug 11, 2023, 1:23 AM Aug 11, 2023, 1:23 AM

                    @plainbroke - Huh. Those appear to be graphics driver problems. They’re a known issue between the Raspian OS and the Electron framework. They shouldn’t be related to your issue with the module.

                    Okay, let’s dig up the other log files. Easiest thing to do is to make sure your mirror is running and then use the web browser to view the mirror interface. First, edit the config.js to allow other computers to access the interface. Change the address and ipWhiteList to allow other computers to see your mirror:

                    var config = {
                        address: "0.0.0.0",
                        port: 8080,
                        ipWhitelist: [], 
                    ...
                    

                    Save and restart your mirror instance with pm2 restart 0.
                    Now you should point your web browser at the IP address of your mirror. Remember to add the port to the url you enter in the address bar. For example: http://192.168.0.15:8080 should get you your interface if your IP address is 192.168.0.15.

                    Anyhow, you should see the mirror interface in your web browser. Now you need to pull up the developer tools, usually by hitting F12 on your keyboard (I know it works in Chrome and Firefox). A section of your browser will open up with the developer tools. There will be a tab labeled console. These are the other logs I mentioned earlier.
                    Click on the console tab and look for anything that mentions the MMM-SingleStock module. Let us know what it says, especially if it mentions an error.

                    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