2011-10-27, 17:24
Ok, I will keep close attention.
Rg,
Olaf
Rg,
Olaf
tommienu Wrote:Anyone else experiencing this error? I'm on OpenELEC running XBMC pre eden.
15:55:29 T:2825911152 NOTICE: Failed to get request URL and post data
15:55:29 T:2825911152 INFO: -->Python script returned the following error<--
15:55:29 T:2825911152 ERROR: Error Type: <type 'exceptions.TypeError'>
15:55:29 T:2825911152 ERROR: Error Contents: function takes at least 2 arguments (0 given)
15:55:29 T:2825911152 ERROR: Traceback (most recent call last):
File "/storage/.xbmc/addons/plugin.audio.groove/default.py", line 107, in <module>
dialog.ok()
TypeError: function takes at least 2 arguments (0 given)
15:55:29 T:2825911152 INFO: -->End of Python script error report<--
denhams Wrote:Its a bug, I'll need to fix it. However, it should only happen when an exception has occurred somewhere else. Could you switch on debug in the addon's settings and test again? I'd like to know what is the underlying problem.Hi Stephen,
Stephen.
tommienu Wrote:Is there any way for me to actually see the exception itself?
denhams Wrote:If you switch of debug in the addon settings and then check the log you should see something.
Stephen.
01:34:52 T:2756705136 NOTICE: -->Python Interpreter Initialized<--
01:34:52 T:2756705136 NOTICE: Request...
01:34:52 T:2756705136 NOTICE: ''
01:34:52 T:2756705136 NOTICE: Failed to get request URL and post data
01:34:53 T:2756705136 ERROR: Error Type: <type 'exceptions.TypeError'>
01:34:53 T:2756705136 ERROR: Error Contents: function takes at least 2 arguments (0 given)
01:34:53 T:2756705136 ERROR: Traceback (most recent call last):
File "/storage/.xbmc/addons/plugin.audio.groove/default.py", line 107, in <module>
dialog.ok()
TypeError: function takes at least 2 arguments (0 given)
01:34:53 T:3046574448 ERROR: GetDirectory - Error getting plugin://plugin.audio.groove
01:34:53 T:3046574448 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.groove) failed
01:34:53 T:2756705136 NOTICE: Thread Background Loader start, auto delete: false
01:34:58 T:2756705136 NOTICE: Previous line repeats 1 times.
01:34:58 T:2756705136 NOTICE: Thread XBPyThread start, auto delete: false
01:34:59 T:2756705136 NOTICE: -->Python Interpreter Initialized<--
flopp Wrote:Hi,
I've exactly the same issue.
When I run Wireshark in background, I see that the plugin send a request to Google API. It receives a 200 OK in response.
File : resources/lib/GroovesharkAPI.py
Function : _getRemote
The line :
req = urllib2.Request(url)
must be replace by :
req = urllib2.Request(url, None, {"User-Agent": "Python-urllib/2.4"})
flopp Wrote:So, it works with your version 1.0.0 and my workaround. Thanks
Version 1.0.1 probably does not have the right key...