lackhove / google-music-resolver

Google Music Resolver for the Tomahawk music player
GNU General Public License v2.0
15 stars 2 forks source link

debug help #1

Closed sheldon closed 11 years ago

sheldon commented 11 years ago

Hi, I've tried this and not getting the little gear icon appear in the listing in tomahawk. tried the logs you mentioned and the tomahawk debug and log, nothing there either, any ideas how I can debug further?

sheldon commented 11 years ago

managed to find some info in the logs now, think it's a pathing thing:

17:34:17 [0]: * Restart num 10 17:34:17 [0]: Setting working dir: "/usr/local/bin" 17:34:17 [0]: SCRIPT_STDERR "/usr/local/bin/gmusic-resolver" "Traceback (most recent call last): File "/usr/local/bin/gmusic-resolver", line 5, in from pkg_resources import load_entry_point File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2603, in " 17:34:17 [0]: SCRIPT_STDERR "/usr/local/bin/gmusic-resolver" " working_set.require(requires) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 666, in require " 17:34:17 [0]: SCRIPT_STDERR "/usr/local/bin/gmusic-resolver" " needed = self.resolve(parse_requirements(requirements)) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve " 17:34:17 [0]: SCRIPT_STDERR "/usr/local/bin/gmusic-resolver" " raise DistributionNotFound(req) # XXX put more info here pkg_resources.DistributionNotFound" 17:34:17 [0]: SCRIPT_STDERR "/usr/local/bin/gmusic-resolver" ": protobuf==2.4.1 " 17:34:17 [0]: void ScriptResolver::cmdExited(int, QProcess::ExitStatus) SCRIPT EXITED, code 1 status 0 "/usr/local/bin/gmusic-resolver" 17:34:17 [0]: * Reached max restarts, not restarting.

I didn't have pip on osx out the box, so installed it via "brew install python" and then used pip install as per your readme. Any idea how I can get it to look in /usr/local for packages?

sheldon commented 11 years ago

far as I can tell I have protobuf, even though the errors are saying they can't find it

sheldon:Downloads sheldon$ pip install https://github.com/crabmanX/google-music-resolver/tarball/master Downloading/unpacking https://github.com/crabmanX/google-music-resolver/tarball/master Downloading master (89kB): 89kB downloaded Running setup.py egg_info for package from https://github.com/crabmanX/google-music-resolver/tarball/master

Requirement already satisfied (use --upgrade to upgrade): gmusicapi>=2012.11.09 in /Library/Python/2.7/site-packages/gmusicapi-2013.01.05-py2.7.egg (from gmusic-resolver==0.1dev) Requirement already satisfied (use --upgrade to upgrade): keyring>=0.10 in /Library/Python/2.7/site-packages/keyring-1.2-py2.7.egg (from gmusic-resolver==0.1dev) Requirement already satisfied (use --upgrade to upgrade): validictory>=0.8.3 in /usr/local/lib/python2.7/site-packages (from gmusicapi>=2012.11.09->gmusic-resolver==0.1dev) Requirement already satisfied (use --upgrade to upgrade): decorator==3.3.2 in /usr/local/lib/python2.7/site-packages (from gmusicapi>=2012.11.09->gmusic-resolver==0.1dev) Requirement already satisfied (use --upgrade to upgrade): mutagen==1.20 in /usr/local/lib/python2.7/site-packages (from gmusicapi>=2012.11.09->gmusic-resolver==0.1dev) Requirement already satisfied (use --upgrade to upgrade): protobuf==2.4.1 in /usr/local/lib/python2.7/site-packages (from gmusicapi>=2012.11.09->gmusic-resolver==0.1dev) Requirement already satisfied (use --upgrade to upgrade): chardet==2.1.1 in /Library/Python/2.7/site-packages/chardet-2.1.1-py2.7.egg (from gmusicapi>=2012.11.09->gmusic-resolver==0.1dev) Requirement already satisfied (use --upgrade to upgrade): distribute in /usr/local/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg (from protobuf==2.4.1->gmusicapi>=2012.11.09->gmusic-resolver==0.1dev) Cleaning up...

sheldon commented 11 years ago

eventually figured this out, I had some packages in 1 path and others in a different one. some weird thing with osx and installing pip via brew install python.