rhythmbox-gmusic icon indicating copy to clipboard operation
rhythmbox-gmusic copied to clipboard

Plugin won't load

Open skribe opened this issue 11 years ago • 5 comments

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'

skribe avatar Oct 02 '13 03:10 skribe

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

artyomszasa avatar Oct 18 '13 11:10 artyomszasa

Same here, Ubuntu 13.10 AMD64, same log.

ezequielfalcon avatar Oct 23 '13 12:10 ezequielfalcon

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

danielfn avatar Oct 31 '13 07:10 danielfn

@danielfn thanks for the solution!

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

clschnei avatar Dec 16 '13 16:12 clschnei

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

erichlf avatar Feb 12 '14 09:02 erichlf