Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. Esinem
    E
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Esinem

    @Esinem

    0
    Reputation
    11
    Posts
    874
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Esinem Follow

    Best posts made by Esinem

    This user hasn't posted anything yet.

    Latest posts made by Esinem

    • Google tasks?

      I installed MMM-gtasks but my To Do list says it’s loading but nothing shows up and I have no idea why. Mind you, given my level of ignorance, that’s not surprising 🙂

      I can’t imagine this is an uncommon requirement but, oddly, I can’t find much on this. What suggestions do you have for the best way to get Google tasks on my MM?

      posted in Troubleshooting
      E
      Esinem
    • RE: MMM-gtasks errors: Error while trying to retrieve access token

      @ninjabreadman Hmm, unfortunately, no change 😞 I ran node serveronly but I couldn’t see any errors. Debug is true in config.js

      pi@raspberrypi:~ $ cd /home/pi/MagicMirror
      pi@raspberrypi:~/MagicMirror $ node serveronly
      Starting MagicMirror: v2.1.3
      Loading config …
      Loading module helpers …
      No helper found for module: alert.
      Initializing new module helper …
      Module helper loaded: updatenotification
      No helper found for module: clock.
      Initializing new module helper …
      Module helper loaded: calendar
      No helper found for module: compliments.
      No helper found for module: currentweather.
      Initializing new module helper …
      Module helper loaded: MMM-gtasks
      No helper found for module: weatherforecast.
      Initializing new module helper …
      Module helper loaded: newsfeed
      All module helpers loaded.
      Starting server on port 8080 …
      Server started …
      Connecting socket for: updatenotification
      Connecting socket for: calendar
      Starting node helper for: calendar
      Connecting socket for: MMM-gtasks
      Starting node helper for: MMM-gtasks
      Connecting socket for: newsfeed
      Starting module: newsfeed
      Sockets connected & modules started …

      Ready to go! Please point your browser to: http://localhost:8080

      posted in Productivity
      E
      Esinem
    • RE: MMM-gtasks errors: Error while trying to retrieve access token

      @ninjabreadman Thanks a ton! Unfortunately, the instructions were referred to but not included in the installation instructions as far as I could see.

      posted in Productivity
      E
      Esinem
    • RE: MMM-gtasks errors: Error while trying to retrieve access token

      Anybody?

      posted in Productivity
      E
      Esinem
    • MMM-gtasks errors: Error while trying to retrieve access token

      Re: MMM-gtasks - Google tasks for your mirror

      Problem loading tasks.
      Try running the mirror with node serveronly for extra info
      Follow the guide in the readme.md
      Have you downloaded your 'client_sectet.json'?
      Have you ran initialy with node serveronly and followed the link provided?
      

      I think my problems relates to my client_secret.json. In the installation guide it says “Download your client_secret.json file by following the guide linked below” except I couldn’t find any guide so just winged it. I assume what I did was incorrect as this is what I got:

      Ready to go! Please point your browser to: http://localhost:8080
      Whoops! There was an uncaught exception...
      TypeError: Cannot read property 'client_secret' of undefined
          at authorize (/home/pi/MagicMirror/modules/MMM-gtasks/GoogleTasks.js:34:51)
          at processClientSecrets (/home/pi/MagicMirror/modules/MMM-gtasks/GoogleTasks.js:112:19)
          at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:447:3)
      

      UPDATE:

      This what I get now:

      Error while trying to retrieve access token { Error: invalid_grant
      at Request._callback (/home/pi/MagicMirror/modules/MMM-gtasks/node_modules/google-auth-library/lib/transporters.js:81:15)
      at Request.self.callback (/home/pi/MagicMirror/modules/MMM-gtasks/node_modules/request/request.js:186:22)
      at emitTwo (events.js:106:13)
      at Request.emit (events.js:191:7)
      at Request. (/home/pi/MagicMirror/modules/MMM-gtasks/node_modules/request/request.js:1163:10)
      at emitOne (events.js:96:13)
      at Request.emit (events.js:188:7)
      at IncomingMessage. (/home/pi/MagicMirror/modules/MMM-gtasks/node_modules/request/request.js:1085:12)
      at IncomingMessage.g (events.js:292:16)
      at emitNone (events.js:91:20) code: 400 }
      Token stored to ./modules/MMM-gtasks/gtasks_token.json

      Now, the screen appears but no error from my Tasks, just says Loading and seems stalled.

      Any help gratefully received. Assume you are explaining to Homer Simpson 🙂

      posted in Productivity
      E
      Esinem
    • RE: Errors trying to run MM on Pi3

      Hurrah!! I found a post dated 3 days ago by Lange which solved it:

      npm install --unsafe-perm

      Thanks for your input.

      posted in Troubleshooting
      E
      Esinem
    • RE: Blank mirror?

      @Lange said in Blank mirror?:

      npm install --unsafe-perm fixed the problem for me.

      Hurrah! You saved my sanity! Finally, after several days of repeated reinstalls and fiddling, it lives!

      posted in Troubleshooting
      E
      Esinem
    • RE: Errors trying to run MM on Pi3

      Aha! Many thanks. We seem to be getting somewhere now but not out of the woods yet. MM loads, which is a result, and I get a black screen with a little drop-down with options like full screen, properties, session info but no data displayed. Something flashed up fast as it loaded which I think indicated it couldn’t find something. Helper module? I’m not sure it’s relevant as I see some modules don’t have helper files

      I had errors relating to electron@1.17.10 so tried installing that but no change.

      Here’s my screen: https://photos.app.goo.gl/4Qbew2OasrjvqhWH2 Doh! Just figured out the drop down is to do with VNC not MM.

      I ran dev and I can see the line with config.js is highlighted. It tested without syntax errors. I appreciate sample stuff needs localising but should the clone of the sample show something or do I need to make any changes to display anything?

      posted in Troubleshooting
      E
      Esinem
    • RE: Errors trying to run MM on Pi3

      @strawberry-3.141 Thanks. Isn’t that what I was told to do or am I completely misunderstanding things?

      First, go to your home directory: cd ~
      Then install electron: npm install electron@1.4.15

      I think I need to study some very basic tutorials before I even try to install stuff!

      posted in Troubleshooting
      E
      Esinem
    • RE: Errors trying to run MM on Pi3

      Thanks but it didn’t seem to work 😞 I tried what you said and then continued with the steps in the tutorial but as you can see it failed. I tried running it again but more errors.

      I’m off to bang my head on a wall! 🙂 I’m quite prepared to believe I’m doing something idiotic as I’m a total Pi/Raspbrian/Python virgin.

      pi@raspberrypi:~ $ magicmirror@2.1.3 start /home/pi/MagicMirror
      bash: magicmirror@2.1.3: command not found
      pi@raspberrypi:~ $ cd MagicMirror/config
      pi@raspberrypi:~/MagicMirror/config $ cp config.js.sample config.js
      pi@raspberrypi:~/MagicMirror/config $ cd $HOME/MagicMirror
      pi@raspberrypi:~/MagicMirror $ npm start

      magicmirror@2.1.3 start /home/pi/MagicMirror
      sh run-start.sh

      run-start.sh: 4: run-start.sh: electron: not found
      npm ERR! file sh
      npm ERR! code ELIFECYCLE
      npm ERR! errno ENOENT
      npm ERR! syscall spawn
      npm ERR! magicmirror@2.1.3 start: sh run-start.sh
      npm ERR! spawn ENOENT
      npm ERR!
      npm ERR! Failed at the magicmirror@2.1.3 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/pi/.npm/_logs/2018-01-01T17_47_18_127Z-debug.log
      pi@raspberrypi:~/MagicMirror $ cd ~
      pi@raspberrypi:~ $ npm install electron@1.4.15

      electron@1.4.15 postinstall /home/pi/node_modules/electron
      node install.js

      npm WARN saveError ENOENT: no such file or directory, open ‘/home/pi/package.json’
      npm WARN enoent ENOENT: no such file or directory, open ‘/home/pi/package.json’
      npm WARN pi No description
      npm WARN pi No repository field.
      npm WARN pi No README data
      npm WARN pi No license field.

      • electron@1.4.15
        updated 1 package in 42.487s
        pi@raspberrypi:~ $
      posted in Troubleshooting
      E
      Esinem