Open GoogleCodeExporter opened 9 years ago
also removed and reinstalled both the plugin and xbmc itself
Original comment by slh...@gmail.com
on 18 Nov 2011 at 2:52
Fixed it by reinstalling everything including OS... still not sure of the cause
but I did change configurations prior to it breaking.... even reset to default
did not fix it.
Original comment by slh...@gmail.com
on 20 Nov 2011 at 2:31
(fix included)
The problem is in common.py when the below line 28 is called
exec "args = _Info(%s)" % (urllib.unquote_plus(sys.argv[2][1:].replace("&", ",
").replace('"','\'')), )
--------------------
On windows machines, urllib.unquote_plus(sys.argv[2][1:].replace("&", ",
").replace('"','\'')), ) evaluates to
plugin://plugin.video.hulu/?url="http%3A%2F%2Fm.hulu.com%2Fmenu%2F11683%3Fshow_i
d%3D829"&mode="Menu"&name="Seasons"&art="C%3A%5CUsers%5Cxbmc%5CAppData%5CRoaming
%5CXBMC%5Caddons%5Cplugin.video.hulu%5Cresources%5Cimages%5Cicon.png"&fanart="ht
tp%3A%2F%2Fassets.hulu.com%2Fshows%2Fkey_art_futurama.jpg"&page="1"&popular="fal
se"&updatelisting="false"
When the windows user name is 'xbmc' then the 'art' var of the url is essentially 'c:\users\xbmc\AppData\Roaming\XBMC\addons\.....' which has 2 \x even though it a pathname, thus python thinks it needs to perform hex conversion. Thus the script error and the log message "ValueError: invalid \x escape"
I simply changed line 28 to read: [adding .replace('%5C', '%5C%5C')]
exec "args = _Info(%s)" % (urllib.unquote_plus(sys.argv[2][1:].replace("&", ",
").replace('"','\'').replace('%5C', '%5C%5C'), )
My script error disappeared.
Original comment by jason.al...@gmail.com
on 24 Jan 2012 at 3:37
Im having script errors with Hulu. To verify what do I add into line 28 and
where?
Original comment by rhema...@gmail.com
on 27 Jan 2012 at 3:59
Hi,
I am getting a script error (Script Failed plugin.video.hulu) while playing any
video in Hulu.
I am using Windows 7 32bit, Hulu 3.4.2
I have tried the above solution, but my common.py file already have the above
mentioned line.
exec "args = _Info(%s)" % (urllib.unquote_plus(sys.argv[2][1:].replace("&", ",
").replace('"','\'').replace('%5C', '%5C%5C'), )
I recently installed the hulu plugin.
Installed the plugin then installed the update. Am I missing something.
Can any one please help me? I really want this to work.
Original comment by rishi.da...@gmail.com
on 22 Feb 2012 at 9:14
Please see the attached screen shot of the error. XBMC 10.1
Original comment by rishi.da...@gmail.com
on 22 Feb 2012 at 10:22
Attachments:
i have the same problem
Original comment by Djseanie...@gmail.com
on 22 Feb 2012 at 10:42
Fixed with r372 for me
Original comment by marc.see...@acquia.com
on 23 Feb 2012 at 8:06
Hi thanks for the solution.
Where can i find the files to change code?
I am using Winwods 7 32bit.
Regards
Original comment by rishi.da...@gmail.com
on 25 Feb 2012 at 1:17
Original issue reported on code.google.com by
slh...@gmail.com
on 18 Nov 2011 at 2:51Attachments: