Kodi Community Forum

Full Version: [RELEASE] Grooveshark (Script) Music Addon
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Got an error, "Unable to get a new session ID. Wait a few minutes and try again." when i try to start the plugin. I installed it about a week ago, and it's given me this error since then. The install was from the repo. The system is running win7, the debug log is below. I tried adding my user/password as well, but it didn't fix the bug.

Thanks.

Debug log
Code:
15:28:05 T:976 M:2213171200  NOTICE: GrooveShark Exception (onInit):
urllib2.HTTPError
15:28:05 T:976 M:2213171200  NOTICE: Traceback (most recent call last):
15:28:05 T:976 M:2213171200  NOTICE:   File
"C:\Users\htpc\AppData\Roaming\XBMC\addons\script.audio.grooveshark\GrooveShark.py",
line 78, in onInit
15:28:05 T:976 M:2213117952  NOTICE:     self.gs =
GrooveAPI(enableDebug = __debugging__, isXbox = __isXbox__)
15:28:05 T:976 M:2213117952  NOTICE:   File
"C:\Users\htpc\AppData\Roaming\XBMC\addons\script.audio.grooveshark\resources\lib\GrooveAPI.py",
line 58, in __init__
15:28:05 T:976 M:2213097472  NOTICE:     self.sessionID = self.startSession()
15:28:05 T:976 M:2213097472  NOTICE:   File
"C:\Users\htpc\AppData\Roaming\XBMC\addons\script.audio.grooveshark\resources\lib\GrooveAPI.py",
line 161, in startSession
15:28:05 T:976 M:2213097472  NOTICE:     response =
urllib2.urlopen("http://www.moovida.com/services/grooveshark/session_start")
15:28:05 T:976 M:2213097472  NOTICE:   File
"special://xbmc/system/python/Lib\urllib2.py", line 130, in urlopen
15:28:05 T:976 M:2213052416  NOTICE:     return _opener.open(url, data)
15:28:05 T:976 M:2213052416  NOTICE:   File
"special://xbmc/system/python/Lib\urllib2.py", line 364, in open
15:28:05 T:976 M:2213052416  NOTICE:     response = meth(req, response)
15:28:05 T:976 M:2213052416  NOTICE:   File
"special://xbmc/system/python/Lib\urllib2.py", line 471, in
http_response
15:28:05 T:976 M:2213052416  NOTICE:     response = self.parent.error(
15:28:05 T:976 M:2213052416  NOTICE:   File
"special://xbmc/system/python/Lib\urllib2.py", line 396, in error
15:28:05 T:976 M:2213052416  NOTICE:     result = self._call_chain(*args)
15:28:05 T:976 M:2213052416  NOTICE:   File
"special://xbmc/system/python/Lib\urllib2.py", line 337, in
_call_chain
15:28:05 T:976 M:2213052416  NOTICE:     result = func(*args)
15:28:05 T:976 M:2213052416  NOTICE:   File
"special://xbmc/system/python/Lib\urllib2.py", line 554, in
http_error_302
15:28:05 T:976 M:2213052416  NOTICE:     return self.parent.open(new)
15:28:05 T:976 M:2213052416  NOTICE:   File
"special://xbmc/system/python/Lib\urllib2.py", line 364, in open
15:28:05 T:976 M:2213052416  NOTICE:     response = meth(req, response)
15:28:05 T:976 M:2213052416  NOTICE:   File
"special://xbmc/system/python/Lib\urllib2.py", line 471, in
http_response
15:28:05 T:976 M:2213052416  NOTICE:     response = self.parent.error(
15:28:05 T:976 M:2213052416  NOTICE:   File
"special://xbmc/system/python/Lib\urllib2.py", line 402, in error
15:28:05 T:976 M:2213052416  NOTICE:     return self._call_chain(*args)
15:28:05 T:976 M:2213052416  NOTICE:   File
"special://xbmc/system/python/Lib\urllib2.py", line 337, in
_call_chain
15:28:05 T:976 M:2213052416  NOTICE:     result = func(*args)
15:28:05 T:976 M:2213052416  NOTICE:   File
"special://xbmc/system/python/Lib\urllib2.py", line 480, in
http_error_default
15:28:05 T:976 M:2213052416  NOTICE:     raise
HTTPError(req.get_full_url(), code, msg, hdrs, fp)
15:28:05 T:976 M:2213052416  NOTICE: HTTPError: HTTP Error 404: Not Found
15:28:05 T:3120 M:2213015552 WARNING: Trying to add unsupported control type 3
15:28:05 T:976 M:2212864000 WARNING: Previous line repeats 15 times.
15:28:05 T:976 M:2212864000  NOTICE: GooveShark: __del__() called
15:28:05 T:976 M:2212864000  NOTICE: GrooveShark: Saving state
15:28:05 T:976 M:2212864000  NOTICE: An unknown error occured during
save state: exceptions.IndexError
15:28:05 T:976 M:2212864000  NOTICE: Traceback (most recent call last):
15:28:05 T:976 M:2212864000  NOTICE:   File
"C:\Users\htpc\AppData\Roaming\XBMC\addons\script.audio.grooveshark\GrooveShark.py",
line 435, in saveState
15:28:05 T:976 M:2212864000  NOTICE:
self.location[len(self.location)-1]['itemFocused'] =
self.getCurrentListPosition()
15:28:05 T:976 M:2212864000  NOTICE: IndexError: list index out of range
15:28:05 T:976 M:2212864000  NOTICE: GrooveShark: Closed
hi everyone. i'm starting to use xbmc on my new ipad2 and recently jailbroken.

i installed grooveshark script and works until i will play a song, i can't do it. 5
think that is the control by touchscreen.

what can i do.?
cheater99 Wrote:Got an error, "Unable to get a new session ID. Wait a few minutes and try again." when i try to start the plugin. I installed it about a week ago, and it's given me this error since then. The install was from the repo. The system is running win7, the debug log is below. I tried adding my user/password as well, but it didn't fix the bug.

Thanks.

Debug log
Code:
15:28:05 T:976 M:2213171200  NOTICE: GrooveShark Exception (onInit):
urllib2.HTTPError
15:28:05 T:976 M:2213171200  NOTICE: Traceback (most recent call last):
15:28:05 T:976 M:2213171200  NOTICE:   File
"C:\Users\htpc\AppData\Roaming\XBMC\addons\script.audio.grooveshark\GrooveShark.py",
line 78, in onInit
15:28:05 T:976 M:2213117952  NOTICE:     self.gs =
GrooveAPI(enableDebug = __debugging__, isXbox = __isXbox__)
15:28:05 T:976 M:2213117952  NOTICE:   File
"C:\Users\htpc\AppData\Roaming\XBMC\addons\script.audio.grooveshark\resources\lib\GrooveAPI.py",
line 58, in __init__
15:28:05 T:976 M:2213097472  NOTICE:     self.sessionID = self.startSession()
15:28:05 T:976 M:2213097472  NOTICE:   File
"C:\Users\htpc\AppData\Roaming\XBMC\addons\script.audio.grooveshark\resources\lib\GrooveAPI.py",
line 161, in startSession
15:28:05 T:976 M:2213097472  NOTICE:     response =
urllib2.urlopen("http://www.moovida.com/services/grooveshark/session_start")
15:28:05 T:976 M:2213097472  NOTICE:   File
"special://xbmc/system/python/Lib\urllib2.py", line 130, in urlopen
15:28:05 T:976 M:2213052416  NOTICE:     return _opener.open(url, data)
15:28:05 T:976 M:2213052416  NOTICE:   File
"special://xbmc/system/python/Lib\urllib2.py", line 364, in open
15:28:05 T:976 M:2213052416  NOTICE:     response = meth(req, response)
15:28:05 T:976 M:2213052416  NOTICE:   File
"special://xbmc/system/python/Lib\urllib2.py", line 471, in
http_response
15:28:05 T:976 M:2213052416  NOTICE:     response = self.parent.error(
15:28:05 T:976 M:2213052416  NOTICE:   File
"special://xbmc/system/python/Lib\urllib2.py", line 396, in error
15:28:05 T:976 M:2213052416  NOTICE:     result = self._call_chain(*args)
15:28:05 T:976 M:2213052416  NOTICE:   File
"special://xbmc/system/python/Lib\urllib2.py", line 337, in
_call_chain
15:28:05 T:976 M:2213052416  NOTICE:     result = func(*args)
15:28:05 T:976 M:2213052416  NOTICE:   File
"special://xbmc/system/python/Lib\urllib2.py", line 554, in
http_error_302
15:28:05 T:976 M:2213052416  NOTICE:     return self.parent.open(new)
15:28:05 T:976 M:2213052416  NOTICE:   File
"special://xbmc/system/python/Lib\urllib2.py", line 364, in open
15:28:05 T:976 M:2213052416  NOTICE:     response = meth(req, response)
15:28:05 T:976 M:2213052416  NOTICE:   File
"special://xbmc/system/python/Lib\urllib2.py", line 471, in
http_response
15:28:05 T:976 M:2213052416  NOTICE:     response = self.parent.error(
15:28:05 T:976 M:2213052416  NOTICE:   File
"special://xbmc/system/python/Lib\urllib2.py", line 402, in error
15:28:05 T:976 M:2213052416  NOTICE:     return self._call_chain(*args)
15:28:05 T:976 M:2213052416  NOTICE:   File
"special://xbmc/system/python/Lib\urllib2.py", line 337, in
_call_chain
15:28:05 T:976 M:2213052416  NOTICE:     result = func(*args)
15:28:05 T:976 M:2213052416  NOTICE:   File
"special://xbmc/system/python/Lib\urllib2.py", line 480, in
http_error_default
15:28:05 T:976 M:2213052416  NOTICE:     raise
HTTPError(req.get_full_url(), code, msg, hdrs, fp)
15:28:05 T:976 M:2213052416  NOTICE: HTTPError: HTTP Error 404: Not Found
15:28:05 T:3120 M:2213015552 WARNING: Trying to add unsupported control type 3
15:28:05 T:976 M:2212864000 WARNING: Previous line repeats 15 times.
15:28:05 T:976 M:2212864000  NOTICE: GooveShark: __del__() called
15:28:05 T:976 M:2212864000  NOTICE: GrooveShark: Saving state
15:28:05 T:976 M:2212864000  NOTICE: An unknown error occured during
save state: exceptions.IndexError
15:28:05 T:976 M:2212864000  NOTICE: Traceback (most recent call last):
15:28:05 T:976 M:2212864000  NOTICE:   File
"C:\Users\htpc\AppData\Roaming\XBMC\addons\script.audio.grooveshark\GrooveShark.py",
line 435, in saveState
15:28:05 T:976 M:2212864000  NOTICE:
self.location[len(self.location)-1]['itemFocused'] =
self.getCurrentListPosition()
15:28:05 T:976 M:2212864000  NOTICE: IndexError: list index out of range
15:28:05 T:976 M:2212864000  NOTICE: GrooveShark: Closed

It looks like you are using an old version of the script. What version are you using? Could you post the entire log to pastebin?
ziloinc Wrote:hi everyone. i'm starting to use xbmc on my new ipad2 and recently jailbroken.

i installed grooveshark script and works until i will play a song, i can't do it. 5
think that is the control by touchscreen.

what can i do.?

It's a known issue. For some reason the touch screen/mouse doesn't return the same events. It'll be fixed in the future.
solver Wrote:It looks like you are using an old version of the script. What version are you using? Could you post the entire log to pastebin?

I'm unsure which version of the script I'm using, I just installed it from the addons section in XBMC.

Uploaded the whole log to pastebin, as requested.
http://pastebin.com/Kfj8FRMN
cheater99 Wrote:I'm unsure which version of the script I'm using, I just installed it from the addons section in XBMC.

Uploaded the whole log to pastebin, as requested.
http://pastebin.com/Kfj8FRMN

For some reason you're getting version 0.3.1 which has been deprecated for quite a while. The current version is 0.4.1. Try uninstalling the script, delete the contents of <xbmc dir>/addons/packages/ and install the script again. If that doesn't work try downloading it from my google page (see the first post in this thread) and install it from the zip file.
Ah ok.

Just installed the version from your googlecode page and that works fine, not sure why the version i grabbed from the repo was out-dated but ah well.

Thanks alot!
"Unable to get a new session ID. Wait a few minutes and try again." just appeared now in my ATV2. Version 0.4.1 :-(
unable to get session ID

fresh install running live linux version

tried both the repo version and the one direct from the SVN.. 0.0.41
Installed this on the XBOX tonight. Getting the same "unable to get a new session ID" error as reported in the previous two posts.
Everyone getting that 'Unable to get a new session ID' error, should go here:

http://code.google.com/p/grooveshark-for...tail?id=43

Click on the yellow star left of the issue topic.
This might reflect how many people got this error a little better.
Hey people,

The grooveshark team have just updated their API to a new version which has introduced some changes. I'm working on getting up to speed. Until then, please be patient.

Cheers,
Solver
The API now uses two secret keys to generate tokens depending on the type of call it makes to grooveshark. I think I've figured out how it works so the script should be up and running soon.
Everything is working again... I think Wink Parts of the API has been rewritten and I'd like to have it tested before I request a pull from my repo. So if you're up for it then grab the latest revision in svn and take it for a spin. If you find any problems then remember to post the log to pastebin when you report it. If everything works as expected please report that as well.

Happy testing!
Hey solver. Can u also fix the texture problem on the atv2 (or ios) when highlighting. Are u getting the plugin ready for eden?Thanks for the great work.