hechtus / squeezebox-googlemusic

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

Plugin fails to load after update to gmusicapi 8.0.0 #95

Open q20 opened 8 years ago

q20 commented 8 years ago

Hi all

I'm seeing the following error after upgrading:

[16-02-17 23:34:27.7137] Slim::bootstrap::tryModuleLoad (286) Warning: Module [Plugins::GoogleMusic::Plugin] failed to load: Error -- py_eval raised an exception at /usr/local/lib/perl/5.14.2/Inline/Python.pm line 221. BEGIN failed--compilation aborted at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/GoogleMusic/GoogleAPI.pm line 82. Compilation failed in require at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/GoogleMusic/Settings.pm line 20. BEGIN failed--compilation aborted at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/GoogleMusic/Settings.pm line 20. Compilation failed in require at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/GoogleMusic/Plugin.pm line 24. BEGIN failed--compilation aborted at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/GoogleMusic/Plugin.pm line 24. Compilation failed in require at (eval 898) line 2. BEGIN failed--compilation aborted at (eval 898) line 2.

Any suggestions as to how to get this working again? Help would be greatly appreciated.

q20 commented 8 years ago

This continues to be an issue after uninstalling gmusicapi and installing 7.0.1.dev0, the version which worked before.

mark-e-mark commented 8 years ago

Hello q20. http://forums.slimdevices.com/showthread.php?98526-Google-Music-Plugin/page11 Are you seeing a logged in message in the LMS Google Plugin page?

Here's the journal of attempts I went through last summer. Resolution seemed to come from disabling and then enabling SSL. I hope there's something there you can use. https://github.com/hechtus/squeezebox-googlemusic/issues/85

q20 commented 8 years ago

Hey, Mark

No logged-in message. The plugin simply fails to load and the errors I listed above are logged. Unfortunately, as the plugin fails to load, I am unable to toggle SSL. Can this be achieved by editing a config file somewhere?

barker94 commented 8 years ago

Hi I'm having the same issue logs say

Error -- py_eval raised an exception at /usr/local/lib/x86_64-linux-gnu/perl/5.20.2/Inline/Python.pm line 177. BEGIN failed--compilation aborted at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/GoogleMusic/GoogleAPI.pm line 74. Compilation failed in require at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/GoogleMusic/Settings.pm line 20. BEGIN failed--compilation aborted at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/GoogleMusic/Settings.pm line 20. Compilation failed in require at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/GoogleMusic/Plugin.pm line 24. BEGIN failed--compilation aborted at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/GoogleMusic/Plugin.pm line 24. Compilation failed in require at (eval 939) line 1. BEGIN failed--compilation aborted at (eval 939) line 1.

tried this but have had no luck

q20 commented 8 years ago

After installing debian jessie on my Raspberry Pi 2 and trying to get this plugin working, I see the following errors logged:

Slim::bootstrap::tryModuleLoad (286) Warning: Module [Plugins::GoogleMusic::Plugin] failed to load: Error -- py_eval raised an exception at /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2/Inline/Python.pm line 177. BEGIN failed--compilation aborted at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/GoogleMusic/GoogleAPI.pm line 74. Compilation failed in require at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/GoogleMusic/Settings.pm line 20. BEGIN failed--compilation aborted at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/GoogleMusic/Settings.pm line 20. Compilation failed in require at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/GoogleMusic/Plugin.pm line 24. BEGIN failed--compilation aborted at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/GoogleMusic/Plugin.pm line 24. Compilation failed in require at (eval 847) line 1. BEGIN failed--compilation aborted at (eval 847) line 1.