Comments (7)
It looks an error related to unicode chars not correctly handled but I'm wondering if is related to my code or to the code of the 'pip' tool.
I need few information:
- what is the exact command that raise this error?
- what is the full path name of the folder in which you launch the command (
pwd
)?
from gmusicproxy.
It is the install command located on your website:
pip install https://github.com/diraimondo/gmusicproxy/tarball/master
Just to note, the same error occurs if I manually download and install by unzipping the .zip file.
And for the location is a folder on my desktop where I installed the virtualenv. I have also tried without the virtualenv, but the issue still occurs. The exact location is found at
/Users/JacobMonroe/Desktop/googlemusicproxy.
I'm hoping the issue is easily solvable for the fact that I am not adept at dealing with code. I'm more for the GUI type of guy.
If it helps, my pip version is 1.5.2, running on Mac OS X.
from gmusicproxy.
I've never tried to execute my code on a Mac OS X system: this is a new ground for me.
The code written by me for the installation phase is very minimal and I don't see where the bug could be.
Can you test this procedure?
- download the zip file of gmusicproxy
- substitute the setup.py with the following code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import sys
setup(
name='gmusicproxy',
version='0.9.2.1',
author='Mario Di Raimondo',
author_email='[email protected]',
url='https://github.com/diraimondo/gmusicproxy',
scripts=[GMUSICPROXYFILE],
license='no license',
description='Google Play Music Proxy - "Let\'s stream Google Play Music using any music program"',
long_description='no description',
install_requires=['gmusicapi==3.0.0', 'netifaces', 'pyxdg', 'eyed3', 'python-daemon'],
#dependency_links = ['https://github.com/simon-weber/Unofficial-Google-Music-API/tarball/develop#egg=gmusicapi-3.0.0-dev']
)
- run
pip install .
from gmusicproxy.
The pip
command in the instructions will install all the dependencies too. The problem could be related to one of these packages.
Could you try to singularly install all the packages?
pip install gmusicapi
pip install netifaces
pip install pyxdg
pip install eyed3
pip install python-daemon
from gmusicproxy.
I was able to get it to install. Using the separate setup.py did not work unfortunately; however, installing the individual dependencies did help me see the solution. Netifaces and eye3 could not be installed through pip because from what I recall, it said that it could not find the download source/location specified. Solving this was easy, I just used easy_install (no pun intended).
I am now reaching another error for some reason. Using the command gmusicproxy -e password or gmusic -p password all give me an error stating, "Sorry, those credentials weren't accepted." I have double checked and checked again to see if my credentials are correct in my.config folder, and they are, including the device-id which I got from my phone.
Additionally, using gmusicproxy -c config gives me:
Traceback (most recent call last):
File "/Users/JacobMonroe/Desktop/googlemusicproxy/proxy/bin/gmusicproxy", line 5, in <module>
pkg_resources.run_script('gmusicproxy==0.9.2.1', 'GMusicProxy')
File "/Users/JacobMonroe/Desktop/googlemusicproxy/proxy/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/Users/JacobMonroe/Desktop/googlemusicproxy/proxy/lib/python2.7/site-packages/pkg_resources.py", line 1345, in run_script
exec(script_code, namespace, namespace)
File "/Users/JacobMonroe/Desktop/googlemusicproxy/proxy/lib/python2.7/site-packages/gmusicproxy-0.9.2.1-py2.7.egg/EGG-INFO/scripts/GMusicProxy", line 534, in <module>
File "/Users/JacobMonroe/Desktop/googlemusicproxy/proxy/lib/python2.7/site-packages/gmusicproxy-0.9.2.1-py2.7.egg/EGG-INFO/scripts/GMusicProxy", line 445, in getOptions
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1688, in parse_args
args, argv = self.parse_known_args(args, namespace)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1720, in parse_known_args
namespace, args = self._parse_known_args(args, namespace)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1926, in _parse_known_args
start_index = consume_optional(start_index)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1866, in consume_optional
take_action(action, args, option_string)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1778, in take_action
argument_values = self._get_values(action, argument_strings)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 2218, in _get_values
value = self._get_value(action, arg_string)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 2247, in _get_value
result = type_func(arg_string)
IOError: [Errno 2] No such file or directory: 'config'
And using almost every other command, I get:
Traceback (most recent call last):
File "/Users/JacobMonroe/Desktop/googlemusicproxy/proxy/bin/gmusicproxy", line 5, in <module>
pkg_resources.run_script('gmusicproxy==0.9.2.1', 'GMusicProxy')
File "/Users/JacobMonroe/Desktop/googlemusicproxy/proxy/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/Users/JacobMonroe/Desktop/googlemusicproxy/proxy/lib/python2.7/site-packages/pkg_resources.py", line 1345, in run_script
exec(script_code, namespace, namespace)
File "/Users/JacobMonroe/Desktop/googlemusicproxy/proxy/lib/python2.7/site-packages/gmusicproxy-0.9.2.1-py2.7.egg/EGG-INFO/scripts/GMusicProxy", line 580, in <module>
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 419, in __init__
self.server_bind()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 108, in server_bind
SocketServer.TCPServer.server_bind(self)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 430, in server_bind
self.socket.bind(self.server_address)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 48] Address already in use
I think if I can't get this figured out, I'm going to give up because I think this is way out of my league. But thanks for the help so far.
Nevermind, I thought I was having issues with virtualenvwrapper, so I reinstalled and attempted to install GmusicProxy again and it gives me the error, "ValueError: ('Missing distribution spec', '/Users/JacobMonroe/Downloads/gmusicproxy-maste/GMusicProxy')" and it if use pip install -r gmusicproxy, it gives, "ValueError: ('Expected version spec in', 'import BaseHTTPServer, socket, urlparse, urllib2, requests', 'at', ' BaseHTTPServer, socket, urlparse, urllib2, requests')."
I'm done for a little while because it's like i fix something, then another error, then another.
from gmusicproxy.
The error IOError: [Errno 2] No such file or directory: 'config'
should mean that it is not able to find the config
file. The error socket.error: [Errno 48] Address already in use
means that an instance of gmusicproxy is already running and the port is busy.
from gmusicproxy.
Everything is working now. For some reason it wouldn't find the config file I placed in the .config file so I typed it directly into the command line. It worked. Thank you for the help.
from gmusicproxy.
Related Issues (20)
- Memory Error HOT 1
- Search for uploaded (locker) music HOT 1
- get_playlist hangs HOT 28
- get_by_search error HOT 6
- version check fails
- /get_new_station_by_search is broken HOT 2
- Plans or thoughts on OAuth? HOT 5
- Add additional end points get_promoted get_listen_now get_situations HOT 8
- JSON endpoint HOT 6
- Add accept header handling
- port 80 HOT 1
- get_song requests: 'dict' object is not callable HOT 6
- Prepare 2.2.0 Release
- Shuffle is broken
- Error installing dependencies and starting HOT 1
- Return album, artist, and song IDs in JSON
- Migrate to YouTube Music HOT 6
- Support range requests HOT 5
- sometimes stream ends prematurely
- Add Alpine Docker Image
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gmusicproxy.