Skip to content
This repository has been archived by the owner on Apr 16, 2019. It is now read-only.

cannot mount file system #26

Open
slifin opened this issue May 4, 2014 · 13 comments
Open

cannot mount file system #26

slifin opened this issue May 4, 2014 · 13 comments

Comments

@slifin
Copy link

slifin commented May 4, 2014

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
Copy link

jpenguin commented May 5, 2014

Same error on Kubunntu 14.04 & OSX 10.9.2 & OpenSUSE

@jpenguin
Copy link

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

@synthVerity
Copy link

Same problem on Debian Wheezy.

@mrdrogdrog
Copy link

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

@rjbell4
Copy link
Contributor

rjbell4 commented May 18, 2014

This is the commit that broke things: simon-weber/gmusicapi@64922aa

@rjbell4
Copy link
Contributor

rjbell4 commented May 18, 2014

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
Copy link
Contributor

rjbell4 commented May 18, 2014

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
Copy link
Contributor

rjbell4 commented May 18, 2014

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

@rjbell4
Copy link
Contributor

rjbell4 commented May 19, 2014

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
Copy link

how exactly did you fix the problem?

@grazor
Copy link

grazor commented May 19, 2014

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 = [email protected]
password = password
deviceId = device_id_without_leading_0x

@rjbell4
Copy link
Contributor

rjbell4 commented May 19, 2014

This should be fixed in the latest code now

@squisher
Copy link

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants