XBMC Plugin: Python Help wanted. PLEASE?

Discussion in 'General Linux' started by ryanvade, Dec 29, 2013.

  1. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Messages:
    1,199
    Likes Received:
    405
    Trophy Points:
    83
    Hey guys,


    I am not fluent enough in Python to work on this myself. XBMC has an addon I desperately want to use. Amazon instant Video!!!!

    I have installed it and keep running into this error
    Code:
                                                ====================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<--
    Has anyone gotten this to work?

    The issue has been reported however, with no reply from the developer:
    https://code.google.com/p/bluecop-x...Milestone Owner Summary&groupby=&sort=&id=245
  2. DevynCJohnson

    DevynCJohnson Well-Known Member Staff Member Staff Writer

    Messages:
    1,205
    Likes Received:
    1,016
    Trophy Points:
    113
    I know Python3. By looking at the error report, my first impression is that this is an issue for the developer to fix. In what form is this program - *.py, *.pyo, *.pyc, .......?
    Haider92 likes this.
  3. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Messages:
    1,199
    Likes Received:
    405
    Trophy Points:
    83
    It is a .py .

    I can upload it later if you like.
  4. DevynCJohnson

    DevynCJohnson Well-Known Member Staff Member Staff Writer

    Messages:
    1,205
    Likes Received:
    1,016
    Trophy Points:
    113
    I think it would be best for the developers to look into the issue.
    Haider92 likes this.

Share This Page