marcosrautjr / bluecop-xbmc-repo

Automatically exported from code.google.com/p/bluecop-xbmc-repo
0 stars 0 forks source link

Amazon Addon script error #245

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. The Closer s01e04 playa
2.
3.

What is the expected output? What do you see instead?
The video should play. A script error is played. The log shows an error: 
Contents: list index out of range

What version of the product are you using? On what operating system?
Windows 7, XBMC 12.2. 0.6.9

Please provide any additional information below.

----

Details:
                                            ====================AMAZON START====================
22:46:02 T:5988  NOTICE: getURL: http://www.amazon.com/gp/product/B003YVOJ5Y
22:46:03 T:5576   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python 
callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.IndexError'>
                                            Error Contents: list index out of range
                                            Traceback (most recent call last):
                                              File "C:\Users\Family\AppData\Roaming\XBMC\addons\plugin.video.amazon\default.py", line 57, in <module>
                                                modes ( )
                                              File "C:\Users\Family\AppData\Roaming\XBMC\addons\plugin.video.amazon\default.py", line 55, in modes
                                                exec 'sitemodule.%s()' % common.args.sitemode
                                              File "<string>", line 1, in <module>
                                              File "C:\Users\Family\AppData\Roaming\XBMC\addons\plugin.video.amazon\resources\lib\play.py", line 130, in PLAYVIDEO
                                                swfUrl, values, owned = GETFLASHVARS(common.args.url)
                                              File "C:\Users\Family\AppData\Roaming\XBMC\addons\plugin.video.amazon\resources\lib\play.py", line 236, in GETFLASHVARS
                                                flashVars =(flashVars[0][0] + flashVars[0][1]).split('&')
                                            IndexError: list index out of range
                                            -->End of Python script error report<--
22:46:04 T:4852   ERROR: Previous line repeats 1 times.
22:46:04 T:4852   ERROR: Playlist Player: skipping unplayable item: 0, path 
[plugin://plugin.video.amazon/?url="http%3A%2F%2Fwww.amazon.com%2Fgp%2Fproduct%2
FB003YVOJ5Y"&mode="play"&name="1x4+-+Show+Yourself"&sitemode="PLAYVIDEO"]
22:46:09 T:4144  NOTICE: Thread Background Loader start, auto delete: false
22:46:09 T:5836  NOTICE: Thread Jobworker start, auto delete: true
22:46:09 T:4852  NOTICE: Previous line repeats 1 times.
22:46:09 T:4852   ERROR: Playlist Player: skipping unplayable item: -1, path 
[plugin://plugin.video.amazon/?url="http%3A%2F%2Fwww.amazon.com%2Fgp%2Fproduct%2
FB003YVOJ5Y"&mode="play"&name="1x4+-+Show+Yourself"&sitemode="PLAYVIDEO"]
22:46:09 T:4852 WARNING: Attempt to set unplayable index -1
22:46:09 T:5896  NOTICE: Thread Background Loader start, auto delete: false
22:48:03 T:4852  NOTICE: Log level changed to 2
22:48:03 T:4852  NOTICE: Enabled debug logging due to GUI setting. Level 2.
22:48:03 T:4852   DEBUG: ------ Window Init () ------
22:48:08 T:4852   DEBUG: CApplication::ProcessMouse: trying mouse action 
leftclick
22:48:08 T:4852  NOTICE: Disabled debug logging due to GUI setting. Level 0.
22:48:08 T:4852  NOTICE: Log level changed to 0
22:48:11 T:5140  NOTICE: Thread Jobworker start, auto delete: true

Original issue reported on code.google.com by nelson...@gmail.com on 11 Sep 2013 at 4:56

GoogleCodeExporter commented 9 years ago
I am also running into the same issue/error code on my CuBox (Linux), except it 
happens to every video that I try to play.

Original comment by m...@lukky.us on 18 Oct 2013 at 10:30

GoogleCodeExporter commented 9 years ago
I am unable to play any amazon prime videos and I have entered my paid 
membership credentials into the amazon configuration screen.  I get a script 
failed! plugin.video.amazon  -- same error as log file above.

Please email me when a solution is available.  Thank you.  ratmanny1@gmail.com

Original comment by mikek...@gmail.com on 16 Nov 2013 at 10:47

GoogleCodeExporter commented 9 years ago
I am also getting this same error with all amazon streams. Running xbmcbuntu 
stable release

Original comment by sh4venwo...@gmail.com on 17 Nov 2013 at 4:42

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Same here, on Arch Linux. 
                                            ====================AMAZON START====================
06:21:25 T:140320401950464  NOTICE: getURL: 
http://www.amazon.com/gp/product/B007SQAIN8
06:21:26 T:140321960880064   DEBUG: DialogProgress::StartModal called
06:21:26 T:140321960880064   DEBUG: ------ Window Init (DialogProgress.xml) 
------
06:21:27 T:140320401950464   ERROR: EXCEPTION Thrown (PythonToCppException) : 
-->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.IndexError'>
                                            Error Contents: list index out of range
                                            Traceback (most recent call last):
                                              File "/home/ryanvade/.xbmc/addons/plugin.video.amazon/default.py", line 57, in <module>
                                                modes ( )
                                              File "/home/ryanvade/.xbmc/addons/plugin.video.amazon/default.py", line 55, in modes
                                                exec 'sitemodule.%s()' % common.args.sitemode
                                              File "<string>", line 1, in <module>
                                              File "/home/ryanvade/.xbmc/addons/plugin.video.amazon/resources/lib/play.py", line 130, in PLAYVIDEO
                                                swfUrl, values, owned = GETFLASHVARS(common.args.url)
                                              File "/home/ryanvade/.xbmc/addons/plugin.video.amazon/resources/lib/play.py", line 236, in GETFLASHVARS
                                                flashVars =(flashVars[0][0] + flashVars[0][1]).split('&')
                                            IndexError: list index out of range
                                            -->End of Python script error report<--

Original comment by ryanvade...@gmail.com on 29 Dec 2013 at 6:29

GoogleCodeExporter commented 9 years ago
Same here. I can see the thumbnails of all available content in my Prime but 
when I try to play - script error.

                                       ====================AMAZON START====================
20:39:20 T:1752  NOTICE: getURL: http://www.amazon.com/gp/product/B008602KQI
20:39:22 T:1752   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python 
callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.IndexError'>
                                            Error Contents: list index out of range
                                            Traceback (most recent call last):
                                              File "C:\Users\Username\AppData\Roaming\XBMC\addons\plugin.video.amazon\default.py", line 57, in <module>
                                                modes ( )
                                              File "C:\Users\Username\AppData\Roaming\XBMC\addons\plugin.video.amazon\default.py", line 55, in modes
                                                exec 'sitemodule.%s()' % common.args.sitemode
                                              File "<string>", line 1, in <module>
                                              File "C:\Users\Username\AppData\Roaming\XBMC\addons\plugin.video.amazon\resources\lib\play.py", line 130, in PLAYVIDEO
                                                swfUrl, values, owned = GETFLASHVARS(common.args.url)
                                              File "C:\Users\Username\AppData\Roaming\XBMC\addons\plugin.video.amazon\resources\lib\play.py", line 236, in GETFLASHVARS
                                                flashVars =(flashVars[0][0] + flashVars[0][1]).split('&')
                                            IndexError: list index out of range
                                            -->End of Python script error report<--
20:39:22 T:4112   ERROR: Playlist Player: skipping unplayable item: 0, path 
[plugin://plugin.video.amazon/?url="http%3A%2F%2Fwww.amazon.com%2Fgp%2Fproduct%2
FB008602KQI"&mode="play"&name="The+Hunger+Games"&sitemode="PLAYVIDEO"]
20:39:22 T:1624  NOTICE: Thread Background Loader start, auto delete: false
20:39:22 T:4380  NOTICE: Thread Jobworker start, auto delete: true

Original comment by VulpeGri...@gmail.com on 2 Feb 2014 at 1:48

GoogleCodeExporter commented 9 years ago
Same here.  everything works until its time to actually stream the video and I 
get an exception error.

                                            ====================AMAZON START====================
22:08:36 T:1137906784  NOTICE: getURL: 
http://www.amazon.com/gp/product/B001S7MPAC
22:08:38 T:1137906784   ERROR: EXCEPTION Thrown (PythonToCppException) : 
-->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.IndexError'>
                                            Error Contents: list index out of range
                                            Traceback (most recent call last):
                                              File "/root/.xbmc/addons/plugin.video.amazon/default.py", line 57, in <module>
                                                modes ( )
                                              File "/root/.xbmc/addons/plugin.video.amazon/default.py", line 55, in modes
                                                exec 'sitemodule.%s()' % common.args.sitemode
                                              File "<string>", line 1, in <module>
                                              File "/root/.xbmc/addons/plugin.video.amazon/resources/lib/play.py", line 130, in PLAYVIDEO
                                                swfUrl, values, owned = GETFLASHVARS(common.args.url)
                                              File "/root/.xbmc/addons/plugin.video.amazon/resources/lib/play.py", line 236, in GETFLASHVARS
                                                flashVars =(flashVars[0][0] + flashVars[0][1]).split('&')
                                            IndexError: list index out of range
                                            -->End of Python script error report<-

Original comment by ja...@jmler.com on 2 Feb 2014 at 4:31

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. any movie from amazon plugin
2.
3.

What is the expected output? What do you see instead?
The video should play. A script error is played. The log shows an error: 
Contents: list index out of range

What version of the product are you using? On what operating system?
pivos xios DS , XBMC 12.0. 0.6.9

Please provide any additional information below.
happens upon playing all videos.
Considering updating to xbmc 13 and see if it is in the plugin itself or in 
some change in xbmc.

any help is appreciated.

Original comment by ja...@jmler.com on 2 Feb 2014 at 4:38

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
same same - i read elswhere that Amazon have recently added digital rights to 
their content... perhaps this is the cause... 

tail xbmc.log 
                                              File "/home/pi/.xbmc/addons/plugin.video.amazon/default.py", line 55, in modes
                                                exec 'sitemodule.%s()' % common.args.sitemode
                                              File "<string>", line 1, in <module>
                                              File "/home/pi/.xbmc/addons/plugin.video.amazon/resources/lib/play.py", line 130, in PLAYVIDEO
                                                swfUrl, values, owned = GETFLASHVARS(common.args.url)
                                              File "/home/pi/.xbmc/addons/plugin.video.amazon/resources/lib/play.py", line 236, in GETFLASHVARS
                                                flashVars =(flashVars[0][0] + flashVars[0][1]).split('&')
                                            IndexError: list index out of range
                                            -->End of Python script error report<--
22:53:37 T:3041009664   ERROR: Playlist Player: skipping unplayable item: 0, 
path 
[plugin://plugin.video.amazon/?url="http%3A%2F%2Fwww.amazon.com%2Fgp%2Fproduct%2
FB000KZNB9M"&mode="play"&name="1x1+-+Pilot"&sitemode="PLAYVIDEO"]

Original comment by england....@gmail.com on 9 Mar 2014 at 12:36

GoogleCodeExporter commented 9 years ago
Hi,

I'm experiencing exactly this problem - is there any progress on this issue?

Original comment by avollmer...@googlemail.com on 9 Mar 2014 at 2:04