nvbn / rhythmbox-gmusic

Rhythmbox Google Play Music Plugin
86 stars 20 forks source link

Plugin won't load #35

Open skribe opened 11 years ago

skribe commented 11 years ago

Hi:

I'm on Ubuntu 13.04 64bit. I get the following errors whenever I attempt to load the plugin. I've tried installing from both apt and pip. Neither way seems to work.

Rhythmbox: could not connect to socket Rhythmbox: Connection refused Unable to open ~/.mtpz-data for reading, MTPZ disabled.Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/rhythmboxgmusic/init.py", line 3, in from gmusicapi import Webclient as Api File "/usr/lib/pymodules/python2.7/gmusicapi/init.py", line 9, in from gmusicapi.clients import Webclient, Musicmanager, Mobileclient File "/usr/lib/pymodules/python2.7/gmusicapi/clients/init.py", line 1, in from gmusicapi.clients.webclient import Webclient File "/usr/lib/pymodules/python2.7/gmusicapi/clients/webclient.py", line 9, in import gmusicapi.session File "/usr/lib/pymodules/python2.7/gmusicapi/session.py", line 7, in import oauth2client ImportError: No module named oauth2client

(rhythmbox:10360): libpeas-WARNING **: Error loading plugin 'rhythmboxgmusic'

artyomszasa commented 11 years ago

Same here (Ubuntu 13.04 AMD64, python-oauth2 installed): Unable to open ~/.mtpz-data for reading, MTPZ disabled.Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/rhythmboxgmusic/init.py", line 3, in from gmusicapi import Webclient as Api File "/usr/lib/pymodules/python2.7/gmusicapi/init.py", line 9, in from gmusicapi.clients import Webclient, Musicmanager, Mobileclient File "/usr/lib/pymodules/python2.7/gmusicapi/clients/init.py", line 1, in from gmusicapi.clients.webclient import Webclient File "/usr/lib/pymodules/python2.7/gmusicapi/clients/webclient.py", line 9, in import gmusicapi.session File "/usr/lib/pymodules/python2.7/gmusicapi/session.py", line 7, in import oauth2client ImportError: No module named oauth2client

When using "-d" also found following: (13:07:20) [0x7ffde40042c0] [] /usr/lib/pymodules/python2.7/gmusicapi/compat.py:30: warning: could not import appdirs; will use current directory

ezequielfalcon commented 11 years ago

Same here, Ubuntu 13.10 AMD64, same log.

danielfn commented 11 years ago

Installing the python-google-oauth2client package solves the loading issue. I got it from here: http://code.google.com/p/google-api-python-client/downloads/list

clschnei commented 10 years ago

@danielfn thanks for the solution!

ps - @nvbn Should this package not included in the with the library/README instructions?

erichlf commented 10 years ago

Github needs a +1 feature for comments. @danielfn you are the man (or woman)!