hechtus / squeezebox-googlemusic

Squeezebox (Logitech Media Server) Plugin for Google Play Music
103 stars 24 forks source link

Failed to autogenerate /opt/logitechmediaserver/cache/_Inline/config-x86_64-linux-thread-multi-5.020000 #48

Closed dirusulixes closed 10 years ago

dirusulixes commented 10 years ago

After having not used the plugin for a while I discovered today that it fails to load with this log:

[14-07-29 20:41:14.5264] Slim::bootstrap::tryModuleLoad (285) Warning: Module [Plugins::GoogleMusic::Plugin] failed to load:
Failed to autogenerate /opt/logitechmediaserver/cache/_Inline/config-x86_64-linux-thread-multi-5.020000.

 at /opt/logitechmediaserver/cache/InstalledPlugins/Plugins/GoogleMusic/GoogleAPI.pm line 74.
BEGIN failed--compilation aborted at /opt/logitechmediaserver/cache/InstalledPlugins/Plugins/GoogleMusic/GoogleAPI.pm line 74.
Compilation failed in require at /opt/logitechmediaserver/cache/InstalledPlugins/Plugins/GoogleMusic/Settings.pm line 20.
BEGIN failed--compilation aborted at /opt/logitechmediaserver/cache/InstalledPlugins/Plugins/GoogleMusic/Settings.pm line 20.
Compilation failed in require at /opt/logitechmediaserver/cache/InstalledPlugins/Plugins/GoogleMusic/Plugin.pm line 24.
BEGIN failed--compilation aborted at /opt/logitechmediaserver/cache/InstalledPlugins/Plugins/GoogleMusic/Plugin.pm line 24.
Compilation failed in require at (eval 839) line 1.
BEGIN failed--compilation aborted at (eval 839) line 1.

All the required libraries seem to be installed and up-to-date. Any idea?

hechtus commented 10 years ago

Never heard about this problem yet. Could you please delete the whole /opt/logitechmediaserver/cache/_Inline directory by hand and restart the server?

dirusulixes commented 10 years ago

It did not help:

at /opt/logitechmediaserver/cache/InstalledPlugins/Plugins/GoogleMusic/GoogleAPI.pm line 74. BEGIN failed--compilation aborted at /opt/logitechmediaserver/cache/InstalledPlugins/Plugins/GoogleMusic/GoogleAPI.pm line 74. Compilation failed in require at /opt/logitechmediaserver/cache/InstalledPlugins/Plugins/GoogleMusic/Settings.pm line 20. BEGIN failed--compilation aborted at /opt/logitechmediaserver/cache/InstalledPlugins/Plugins/GoogleMusic/Settings.pm line 20. Compilation failed in require at /opt/logitechmediaserver/cache/InstalledPlugins/Plugins/GoogleMusic/Plugin.pm line 24. BEGIN failed--compilation aborted at /opt/logitechmediaserver/cache/InstalledPlugins/Plugins/GoogleMusic/Plugin.pm line 24. Compilation failed in require at (eval 839) line 1. BEGIN failed--compilation aborted at (eval 839) line 1.

dirusulixes commented 10 years ago

I finally manage to load the plugin by purging Inline and Inline::Python from my system and reinstalling them. I still do not fully understand what happened in the first place.

hechtus commented 10 years ago

Great! Thanks for your patience and reporting.