Skip to content

can't get MMM-BackgroundSlideshow to load #178

@quarky42

Description

@quarky42

I can't get MM to run with MMM-BackgroundSlideshow configured. If I disable MMM-BackgroundSlideshow then MM runs just fine.

I am using one other fullscreen module: MMM-AutoDimmer

I updated MagicMirror today and tried to add it today.
MM is running as a systemd service with user account level permissions.

We'll call that user: someusername

I am using CloudBuddy with rclone to sync /home/someusername/MyGoogleDrive/SlideShowForMagicMirror directory containing .JPG images.

First question: Is this module sensitive to uppercase filenames? Is the problem that the files are .JPG and not .jpg?

My module config looks like this:

  {
    module: 'MMM-BackgroundSlideshow',
    position: 'fullscreen_below',
    config: {
      imagePaths: ['/home/someusername/MyGoogleDrive/SlideShowForMagicMirror'],
      transitionImages: true,
      maxWidth: 1920,
      maxHeight: 1080,
      randomizeImageOrder: true,
      recursiveSubDirectories: true,
      resizeImages: true,
      showAllImagesBeforeRestart: true,
      slideshowSpeed: 450,
      transitionSpeed: 2,
    }
  },

I've tried commenting out most of those configs keeping just the imagePaths, transitionImages, and recursiveSubDirectories (there are no subdirectories now, but I plan on adding them.)

My service logs look like this:

[LOG]   Starting MagicMirror: v2.33.0-develop
[LOG]   Loading config ...
[LOG]   config template file not exists, no envsubst
[INFO]  Checking config file /home/tor/MagicMirror/config/config.js ...
[INFO]  Your configuration file doesn't contain syntax errors :)
[INFO]  Checking modules structure configuration ...
[INFO]  Your modules structure configuration doesn't contain errors :)
[LOG]   Loading module helpers ...
[LOG]   No helper found for module: alert.
[LOG]   Initializing new module helper ...
[LOG]   Module helper loaded: updatenotification
[LOG]   Initializing new module helper ...
[LOG]   Module helper loaded: MMM-OnThisDay
[LOG]   No helper found for module: clock.
[LOG]   Initializing new module helper ...
[LOG]   Module helper loaded: calendar
[LOG]   Initializing new module helper ...
[LOG]   Module helper loaded: MMM-GoogleSheets
[LOG]   No helper found for module: weather.
[LOG]   No helper found for module: MMM-BirdOfTheDay.
[LOG]   Initializing new module helper ...
[LOG]   Module helper loaded: newsfeed
[LOG]   No helper found for module: MMM-AutoDimmer.
npm[1741]: /home/someusername/MagicMirror/node_modules/electron/dist/electron exited with signal SIGBUS
systemd[1]: magicmirror.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: magicmirror.service: Failed with result 'exit-code'.

My config doesn't have any errors, but something wiht running BackgroundSlideshow is crashing electron.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions