JedS / Raspdac

Volumio 2 plugin providing Audiophonics Raspdac power button and LCD support
14 stars 5 forks source link

Raspdac not compatible with latest Volumio 2 #8

Open jsaathof opened 6 years ago

jsaathof commented 6 years ago

I upgraded to the latest version of Volumio 2 (version 2.413). This version fails to start if the Raspdac plugin is installed. I fails with the following messages:

error: !!!! WARNING !!!!
error: The plugin user_interface/raspdac failed to load, setting it ti stopped. Error: Error: The module '/data/plugins/user_interface/raspdac/node_modules/epoll/build/Release/epoll.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 48. This version of Node.js requires
NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm- install`).
error: !!!! WARNING !!!!

I removed the directory to get Volumio running again. Now the module cannot be reinstalled since Volumio only allows plugins from a repository. Can you please upgrade your plugin and publish it correctly.

Thanks in advance.

Jurriaan

JedS commented 6 years ago

I just submit a patch to Volumio plugin to be hosted in the store. The patch normally fix the epoll version problem. The pull request has been created... just have to to wait for Volumio to accept it.

sdaguet commented 6 years ago

Any news from Volumio ?

Gody666 commented 6 years ago

Hi! Any new from Volumio? Will be nice try the patch to make it work.

Regards!

sdaguet commented 6 years ago

Hi,

I took the latest version on volumio-plugins github (0.0.7), and encounter the same issues:

https://github.com/volumio/volumio-plugins/pull/245

Stephane

jsaathof commented 5 years ago

Any progress for this ticket?

Gody666 commented 5 years ago

Waiting for news!

jsaathof commented 5 years ago

The ticket in the voiumio plugins repository has been closed due to incompatibility issues. Can this be fixed?

JedS commented 5 years ago

Hi, I finally got time to work on this plugin. I just made some bug fixes :

mskerwiderski commented 5 years ago

Thanks JedS for working on the plugin!

Now I got the plugin 0.0.8 running - results of first tests:

JedS commented 5 years ago

Can you please explain what is not working with Shutdown ? Does the hardware shutdown working (push power button until shutdown) ? What does software shutdown do ? What does software restart do ?

mskerwiderski commented 5 years ago

Booting works fine:

img_0180

jsaathof commented 5 years ago

Any updates or even plans for a fix? I have seen the merge request ticket has been closed at the Volumio plugin repository. I'm not a Node coder so I cannot fix this myself.