drakedevel/gsclient

cannot run

Closed this issue · 4 comments

I'm on Linux Mint 15, "python --version" says 2.7.4 and mplayer is working.

When I run main.py, I get the following errors.

Traceback (most recent call last):
File "main.py", line 184, in
MainCmd().cmdloop()
File "main.py", line 28, in init
self._client = gsclient.ClientWrapper()
File "/home/brian/Desktop/gsclient-master/gsclient.py", line 41, in init
self.new_session()
File "/home/brian/Desktop/gsclient-master/gsclient.py", line 89, in new_session
self._web.start_session()
File "/home/brian/Desktop/gsclient-master/gs.py", line 101, in start_session
self._service.session = self._send(req)
File "/home/brian/Desktop/gsclient-master/gs.py", line 73, in _send
return self._service.send(req, header)
File "/home/brian/Desktop/gsclient-master/gs.py", line 54, in send
data['fault']['code'])
gs.ServiceException: Server returned: invalid client (code 1024)

The same here....


uname -a
Linux raspberrypi 3.6.11+ #557 PREEMPT Wed Oct 2 18:49:09 BST 2013 armv6l GNU/Linux

python --version
Python 2.7.3

./main.py
Traceback (most recent call last):
File "./main.py", line 184, in
MainCmd().cmdloop()
File "./main.py", line 28, in init
self._client = gsclient.ClientWrapper()
File "/home/pi/gsclient/gsclient.py", line 41, in init
self.new_session()
File "/home/pi/gsclient/gsclient.py", line 89, in new_session
self._web.start_session()
File "/home/pi/gsclient/gs.py", line 101, in start_session
self._service.session = self._send(req)
File "/home/pi/gsclient/gs.py", line 73, in _send
return self._service.send(req, header)
File "/home/pi/gsclient/gs.py", line 54, in send
data['fault']['code'])
gs.ServiceException: Server returned: invalid client (code 1024)

Got the same error with Elementary OS, python 2.7.3
My first thought was it's a Grooveshark error, trying to allow only web browsers; and related to the fact I'm behind a proxy.
But I'm surely wrong, because gsclient has no reason to connect to grooveshark at start.
That's probably a prerequisite package, then.

Is this project still active? In the meantime the following seems to offer similar functionality
https://github.com/jacktheripper51/groove-dl

Closing since Grooveshark is now defunct