Can't install GoogleMusic plugin

Max2Play Home Forums Max2Play Add-ons Can't install GoogleMusic plugin

Viewing 10 posts - 1 through 10 (of 10 total)
  • 20. September 2016 at 16:37 #23111

    I’m trying to install the GoogleMusic plugin but gets the following error.


    When finished this message disappears.
    kwargs = setup_cfg_to_setup_kwargs(config, script_args)
    File "/var/www/max2play/public/build/mock/pbr-1.10.0-py2.7.egg/pbr/util.py", line 431, in setup_cfg_to_setup_kwargs
    if pkg_resources.evaluate_marker('(%s)' % env_marker):
    AttributeError: 'module' object has no attribute 'evaluate_marker'
    error in setup command: Error parsing /var/www/max2play/public/build/mock/setup.cfg: AttributeError: 'module' object has no attribute 'evaluate_marker'
    Complete output from command python setup.py egg_info:
    ERROR:root:Error parsing

    Traceback (most recent call last):

    File "/var/www/max2play/public/build/mock/pbr-1.10.0-py2.7.egg/pbr/core.py", line 111, in pbr

    attrs = util.cfg_to_args(path, dist.script_args)

    File "/var/www/max2play/public/build/mock/pbr-1.10.0-py2.7.egg/pbr/util.py", line 248, in cfg_to_args

    kwargs = setup_cfg_to_setup_kwargs(config, script_args)

    File "/var/www/max2play/public/build/mock/pbr-1.10.0-py2.7.egg/pbr/util.py", line 431, in setup_cfg_to_setup_kwargs

    if pkg_resources.evaluate_marker('(%s)' % env_marker):

    AttributeError: 'module' object has no attribute 'evaluate_marker'
    ----------------------------------------
    Command python setup.py egg_info failed with error code 1 in /var/www/max2play/public/build/mock
    Storing complete log in /root/.pip/pip.log
    Going to read '/root/.cpan/Metadata'
    Database was generated on Mon, 19 Sep 2016 19:17:02 GMT
    App::cpanminus is up to date (1.7042).
    Inline is up to date. (0.80)
    Inline::Python is up to date. (0.50)
    /var/lib/squeezeboxserver/Plugins /var/www/max2play/public
    /var/lib/squeezeboxserver/Plugins/GoogleMusic /var/lib/squeezeboxserver/Plugins /var/www/max2play/public
    Cloning into '.'...
    error: Failed connect to github.com:443; No route to host while accessing https://github.com/squeezebox-googlemusic/squeezebox-googlemusic.git/info/refs
    fatal: HTTP request failed
    Restarting squeezeboxserver.
    Finished installing Google Music Plugin

    GoogleMusic Plugin installed.
    Important: Now edit the settings of the Plugin within Squeezebox Server Settings, add your GoogleMusic credentials (including a mobile device ID!) and you are ready to go.

    I’m using the wheezy image because I’m having too much problems with the jessie image which annoying because I would really like to use kodi 16 and I can’t find a deb for kodi 16 for wheezy.

    22. September 2016 at 13:33 #23155

    Hello asplundj,

    We try it a several times. And it works fine. It could be a problem with your internet connection, because it seems it having no connection to github – error: Failed connect to github.com:443

    22. September 2016 at 14:03 #23156

    I don’t think it’s an internet problem because I can stream both video and radio fine and I can update the m2p interface. It worked fine on jessie but I just can’t get it to work on wheezy.

    23. September 2016 at 8:58 #23166

    I have it working on jessie now but had to do some extra tricks:

    When adding the repository to the plugin page on the LMS server web interface i get the following error:
    „Bad repository – Redirection limit exceeded“

    This was fixed by installing the libio-socket-ssl-perl package

    sudo apt-get update
    sudo apt-get install libio-socket-ssl-perl

    Perhaps you should include this package in the google music plugin installer.

    23. September 2016 at 10:36 #23168

    Hi asplundj,

    with the Google Music Plugin-installer on the Squeezebox Server tab in Max2Play web interface, it is not needed to do any further plugin installation within the LMS.

    We only tested this with the Jessie version, as the old Wheezy-version will not be fully supported with further addons (to difficult for us to test all versions).

    To install plugins from SSL-secured repositories within LMS your hint on libio-socket-ssl-perl is very good. We will add this as a patch to the Max2Play Squeezebox Server installation, as a lot of Repositories are hosted on Github.

    Cheers,
    Stefan

    7. Oktober 2016 at 22:13 #23312

    Hello,

    I also have have a problem installing the GoogleMusic plugin. This is the log:

    |2016-10-07 22:03:08|
    Install Google Music as Plugin for Squeezebox Server
    Get:1 http://archive.mene.za.net wheezy Release.gpg [198 B]
    Hit http://raspberrypi.collabora.com wheezy Release.gpg
    Get:2 http://archive.mene.za.net wheezy Release [4445 B]
    Hit http://archive.raspberrypi.org wheezy Release.gpg
    Hit http://raspberrypi.collabora.com wheezy Release
    Hit http://archive.raspberrypi.org wheezy Release
    Hit http://mirrordirector.raspbian.org wheezy Release.gpg
    Hit http://mirrordirector.raspbian.org wheezy Release
    Get:3 http://archive.mene.za.net wheezy/contrib armhf Packages [15.1 kB]
    Hit http://raspberrypi.collabora.com wheezy/rpi armhf Packages
    Hit http://archive.raspberrypi.org wheezy/main armhf Packages
    Hit http://mirrordirector.raspbian.org wheezy/main armhf Packages
    Ign http://archive.mene.za.net wheezy/contrib Translation-en
    Hit http://mirrordirector.raspbian.org wheezy/contrib armhf Packages
    Hit http://mirrordirector.raspbian.org wheezy/non-free armhf Packages
    Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en
    Ign http://archive.raspberrypi.org wheezy/main Translation-en
    Hit http://mirrordirector.raspbian.org wheezy/rpi armhf Packages
    Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
    Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
    Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
    Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
    Fetched 19.8 kB in 11s (1757 B/s)
    Reading package lists...
    Reading package lists...
    Building dependency tree...
    Reading state information...
    python-dev is already the newest version.
    python-pip is already the newest version.
    The following packages were automatically installed and are no longer required:
    libmysqlclient16 libvncserver0 tcl tk x11vnc-data
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.kwargs = setup_cfg_to_setup_kwargs(config, script_args)
    File "/var/www/max2play/public/build/mock/pbr-1.10.0-py2.7.egg/pbr/util.py", line 431, in setup_cfg_to_setup_kwargs
    if pkg_resources.evaluate_marker('(%s)' % env_marker):
    AttributeError: 'module' object has no attribute 'evaluate_marker'
    error in setup command: Error parsing /var/www/max2play/public/build/mock/setup.cfg: AttributeError: 'module' object has no attribute 'evaluate_marker'
    Complete output from command python setup.py egg_info:
    ERROR:root:Error parsing
    
    Traceback (most recent call last):
    
    File "/var/www/max2play/public/build/mock/pbr-1.10.0-py2.7.egg/pbr/core.py", line 111, in pbr
    
    attrs = util.cfg_to_args(path, dist.script_args)
    
    File "/var/www/max2play/public/build/mock/pbr-1.10.0-py2.7.egg/pbr/util.py", line 248, in cfg_to_args
    
    kwargs = setup_cfg_to_setup_kwargs(config, script_args)
    
    File "/var/www/max2play/public/build/mock/pbr-1.10.0-py2.7.egg/pbr/util.py", line 431, in setup_cfg_to_setup_kwargs
    
    if pkg_resources.evaluate_marker('(%s)' % env_marker):
    
    AttributeError: 'module' object has no attribute 'evaluate_marker'
    
    error in setup command: Error parsing /var/www/max2play/public/build/mock/setup.cfg: AttributeError: 'module' object has no attribute 'evaluate_marker'
    
    ----------------------------------------
    Command python setup.py egg_info failed with error code 1 in /var/www/max2play/public/build/mock
    Storing complete log in /root/.pip/pip.log
    Going to read '/root/.cpan/Metadata'
    Database was generated on Fri, 07 Oct 2016 13:53:28 GMT
    App::cpanminus is up to date (1.7042).
    Inline is up to date. (0.80)
    Inline::Python is up to date. (0.50)
    /var/lib/squeezeboxserver/Plugins /var/www/max2play/public
    mkdir: cannot create directory 
    
    GoogleMusic: File exists
    /var/lib/squeezeboxserver/Plugins/GoogleMusic /var/lib/squeezeboxserver/Plugins /var/www/max2play/public
    fatal: destination path '.' already exists and is not an empty directory.
    Restarting squeezeboxserver.
    Finished installing Google Music Plugin
    
    GoogleMusic Plugin installed.
    Important: Now edit the settings of the Plugin within Squeezebox Server Settings, add your GoogleMusic credentials (including a mobile device ID!) and you are ready to go.

    Any help on this? 🙁

    • This reply was modified 7 years, 6 months ago by macpac.
    • This reply was modified 7 years, 6 months ago by macpac.
    7. Oktober 2016 at 22:27 #23315

    I don’t think it works with wheezy try the jessie image instead.

    8. Oktober 2016 at 13:13 #23319

    OK, then I’ll need to upgrade to a jessie image. What is the most convenient way to do this? How can I save my configurations and import them again later (Max2Play, LMS)?

    8. Oktober 2016 at 21:34 #23320

    For the LMS settings you can simply copy the /var/lib/squeezeboxserver/ directory to a USB drive and then copy it back to your new image. I don’t think there’s a backup solution for max2play.

    If you’re using kodi you can backup /home/pi/.kodi

    10. Oktober 2016 at 14:02 #23346

    Hi asplundj, Thanks for the advice. So, I’ll give it a try, probably first on a second SD card like you did as I read in another post from you.

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.

Register here