MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. zaphbbrox
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Z
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Calendar module is not loaded

      I narrowed it down. The problem seems to be the epiphany-browser. I switched to chromium and now all modules are being loaded.

      posted in Troubleshooting
      Z
      zaphbbrox
    • Calendar module is not loaded

      My Setup:
      Raspberry Pi 2
      Raspbian: 9.4
      node: 10.9.0
      npm: 6.2.0
      MagicMirror: 2.4.1

      Since I didn’t get electron to work, I’m using MM in the serveronly mode. After my RPi boots and the graphical env is loaded, the following commands are executed from ~/.config/lxsession/LXDE/autostart:

      sh /home/pi/mm.sh
      

      The mm.sh file contains:

      exec > /var/log/mm.log
      exec 2>&1
      cd /opt/MagicMirror
      node serveronly &
      sleep 180
      epiphany --profile /home/pi/.config -a http://localhost:8080 &
      sleep 60
      DISPLAY=:0 xte 'key F11'
      

      When i access MM from my laptop everything is fine, but from the RPi the calendar module seems not to be loaded.
      In the logfile /var/log/mm.log I see the following messages:

      ** Message: console message: [native code] @0: Starting module: alert
      
      ** Message: console message: [native code] @0: Start updatenotification
      
      ** Message: console message: [native code] @0: Starting module: clock
      
      ** Message: console message: [native code] @0: Starting module: currentweather
      
      ** Message: console message: [native code] @0: Starting module: weatherforecast
      
      ** Message: console message: [native code] @0: Starting module: newsfeed
      
      ** Message: console message: [native code] @0: All modules started!
      
      

      Does anyone has a clue why the calendar module is not loading?

      EDIT: I changed the script so that it contains all the commands.

      posted in Troubleshooting
      Z
      zaphbbrox
    • 1 / 1