hechtus / squeezebox-googlemusic

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

Plugin failed to load #65

Open pgallaway opened 9 years ago

pgallaway commented 9 years ago

Installation fails. Cannot configure the plugin. I saw another comparable report with some of the same, but not all the same failures. I do have Play configured on a couple devices, can't get to the settings page.


[15-01-04 21:23:42.5762] main::init (368) Starting Logitech Media Server (v7.8.1, 1418369688, Thu Jan 1 03:04:01 UTC 2015) perl 5.020001 2015-01-04 21:24:17 squeezeboxserver_safe stopped. 2015-01-04 21:24:22 squeezeboxserver_safe started. [15-01-04 21:24:22.8012] main::init (368) Starting Logitech Media Server (v7.8.1, 1418369688, Thu Jan 1 03:04:01 UTC 2015) perl 5.020001 [15-01-04 21:24:23.0354] Slim::bootstrap::tryModuleLoad (286) Warning: Module [Plugins::GoogleMusic::Plugin] failed to load: Can't locate Inline.pm in @INC (you may need to install the Inline module) (@INC contains: /usr/sbin/Plugins/Bandcamp/lib /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Bandcamp/lib /var/lib/squeezeboxserver/cache/InstalledPlugins /usr/share/squeezeboxserver/CPAN/arch/5.20/x86_64-linux-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.20/x86_64-linux-thread-multi/auto /usr/share/squeezeboxserver/CPAN/arch/5.20.1/x86_64-linux-gnu-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.20.1/x86_64-linux-gnu-thread-multi/auto /usr/share/squeezeboxserver/CPAN/arch/5.20/x86_64-linux-gnu-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.20/x86_64-linux-gnu-thread-multi/auto /usr/share/squeezeboxserver/CPAN/arch/x86_64-linux-gnu-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.20 /usr/share/squeezeboxserver/lib /usr/share/squeezeboxserver/CPAN /usr/share/squeezeboxserver /usr/sbin /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.1 /usr/local/share/perl/5.20.1 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/GoogleMusic/GoogleAPI.pm line 73. BEGIN failed--compilation aborted at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/GoogleMusic/GoogleAPI.pm line 73. 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 772) line 1. BEGIN failed--compilation aborted at (eval 772) line 1.

[15-01-04 21:24:23.0356] Slim::Utils::PluginManager::load (323) Error: Couldn't load Plugins::GoogleMusic::Plugin [15-01-04 21:24:23.3373] Slim::Web::JSONRPC::requestMethod (443) request not dispatchable!

hechtus commented 9 years ago

The report says that the Perl Inline package is missing or not installed properly. Have you gone through the installation procedure and installed the Inline and Inline::Python package?

pgallaway commented 9 years ago

? I followed the directions through. I tried both the developer branch of gmusicapi (and then the standard branch when it failed). Anything else I can try?

Debian Jessie/testing Logitech Media Server Version: 7.8.1 - 1418369688 @ Thu Jan 1 03:04:01 UTC 2015 Platform Architecture: x86_64-linux Perl Version: 5.20.1 - x86_64-linux-gnu-thread-multi Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)

user@silo:~$ cpanm --notest Inline Inline is up to date. (0.78) user@silo:~$ cpanm --notest Inline::Python Inline::Python is up to date. (0.46)

HappyBasher commented 9 years ago

Same here. Upgrading six to latest Version 1.9 fixed it (has to be >= 1.5): pip install --upgrade six and then pip install git+https://github.com/simon-weber/Unofficial-Google-Music-API.git@develop

hechtus commented 9 years ago

@pgallaway Did the instruction above help?

pgallaway commented 9 years ago

Not at first. The command above gave some errors about six being installed by the system and it could not upgrade. It was at 1.8.1. I went down that path trying to [force] an update using some scripts (almost certainly a bad idea) but it still didn't work. I purged logitechmediaserver and installed version 7.9. Ran through the install steps again and now it seems to work. Thanks!

chrisd53 commented 9 years ago

Couldn't initially get to load on Squeezeplug running on Odroid U3. After applying advice from both HappyBasher and pgallaway above now working fine. None of the tweaks applying to the Raspberry squeezeplug needed in my case. Thanks!

gps1539 commented 9 years ago

I'm hitting the same issue and I have tried on LMS 7.8.0 on arm and 7.9.0 x86_64. In both cases I'm running arch linux.

On arch I believe python package includes python-dev and I can't see a python-dev package in aur or the main repos.

I tries Happybasher's and pgallaway's suggestion but it did not work for me.

Please let me know if there any logs or version info that would be helpful

dojero commented 9 years ago

My experience is the same as gps1539...I'm running Arch and ran all pip commands as per the installation and this page. But plugin still will not load. Logitechmediaserver is version 7.8.0, which is the latest version on Arch (in the aur repositories). Any help would be appreciated.

gps1539 commented 9 years ago

I just checked python-dev on debian, it just contains /usr/bin/python-config and /usr/share/doc/python-dev, the 1st is installed on my Arch rigs and I doubt the doc is a dependency.

Are there any logs we can look at to see why the plugin isn't loading?

gps1539 commented 9 years ago

I looked at the content of the python-dev rpm file to installed all missing files with pacman, but the plugin still will not load for me. Happy to help debug and submit logs etc.