EnigmaCurry / GMusicFS

A FUSE filesystem for Google Music
153 stars 36 forks source link

cannot mount file system #26

Open slifin opened 10 years ago

slifin commented 10 years ago

gmusicfs ~/music Traceback (most recent call last): File "/usr/local/bin/gmusicfs", line 9, in load_entry_point('GMusicFS==0.1', 'console_scripts', 'gmusicfs')() File "/usr/local/lib/python2.7/dist-packages/gmusicfs/gmusicfs.py", line 452, in main fs = GMusicFS(mountpoint, true_file_size=args.true_file_size, verbose=verbosity) File "/usr/local/lib/python2.7/dist-packages/gmusicfs/gmusicfs.py", line 229, in init true_file_size=true_file_size, verbose=verbose) File "/usr/local/lib/python2.7/dist-packages/gmusicfs/gmusicfs.py", line 132, in init self.rescan() File "/usr/local/lib/python2.7/dist-packages/gmusicfs/gmusicfs.py", line 138, in rescan self.__aggregate_albums() File "/usr/local/lib/python2.7/dist-packages/gmusicfs/gmusicfs.py", line 172, in __aggregate_albums tracks = self.api.get_all_songs() AttributeError: 'Webclient' object has no attribute 'get_all_songs'

jpenguin commented 10 years ago

Same error on Kubunntu 14.04 & OSX 10.9.2 & OpenSUSE

jpenguin commented 10 years ago

Fails on fedora (output with -vv) https://gist.github.com/jpenguin/faaee0f06d6d2e3f832f

synthVerity commented 10 years ago

Same problem on Debian Wheezy.

mrdrogdrog commented 10 years ago

Same error on Ubuntu 14. Seems like the GMusicApi changed.

rjbell4 commented 10 years ago

This is the commit that broke things: https://github.com/simon-weber/Unofficial-Google-Music-API/commit/64922aabe7a83fa212ecba82373ca7152aab2ebd

rjbell4 commented 10 years ago

I tried the last version from right before the commit that broke this here: https://github.com/rjbell4/Unofficial-Google-Music-API/tarball/gmusicfs

But that hit this error: The requested URL /music/services/loadalltracks was not found on this server

rjbell4 commented 10 years ago

To fix this, GMusicFS should switch to the MobileClient, I believe. There appear to be two pull requests for that alreay at https://github.com/EnigmaCurry/GMusicFS/pulls.

rjbell4 commented 10 years ago

I received authorization errors with both of the pull requests. :(

rjbell4 commented 10 years ago

I did get it to work with karlak's port! I just needed to drop the "0x" in front of the device ID (at least, I think that's what did it).

mrdrogdrog commented 10 years ago

how exactly did you fix the problem?

grazor commented 10 years ago

Thanks, rjbell4! Your method works fine for me. I cloned karlak's repository, installed his version:

su -c "python setyp.py install"

Then discovered my deviceId:

gmusicfs --deviceid

Removed 0x at beginning and put it to the config file:

[credentials]
username = mail@gmail.com
password = password
deviceId = device_id_without_leading_0x
rjbell4 commented 10 years ago

This should be fixed in the latest code now

squisher commented 9 years ago

I was getting file listings but couldn't download any files, the verbose log would show a 403 error. Thanks everyone here for the pointer to remove the 0x from the device id - now it is working again!