Boxee

regression: python error when downloading subtitles with OpenSubtitles

Details

  • Labels:
  • Boxee Build Number:
    0.9.21.xxxx
  • Operating System:
    ALL
  • Description:
    Hide
    Repro:
    play a resolved movie OR TV Show
    while playing search for Subtitles
    choose a subtitle and apply

    Result:
    Python ERROR appears in the Boxee log file:

    12:28:06 T:6444 M:1233694720 DEBUG: ------ Window Deinit (C:\Program Files (x86)\Boxee\scripts\OpenSubtitles\resources\skins\boxee\720p\script-OpenSubtitles-main.xml) ------
    12:28:06 T:1476 M:1233694720 ERROR: CLocalizeStrings::ClearBlock: Trying to clear non existent block C:\Program Files (x86)\Boxee\scripts\OpenSubtitles
    12:28:06 T:6444 M:1233690624 NOTICE: C:\Program Files (x86)\Boxee\scripts\OpenSubtitles\resources\lib\gui.py:246: RuntimeWarning: tp_compare didn't return -1 or -2 for exception
    12:28:06 T:6444 M:1233690624 ERROR: Exception in python script's onAction
    12:28:06 T:6444 M:1233690624 NOTICE: Traceback (most recent call last):
    12:28:06 T:6444 M:1233690624 NOTICE: File "C:\Program Files (x86)\Boxee\scripts\OpenSubtitles\resources\lib\gui.py", line 246, in onAction
    12:28:06 T:1476 M:1233682432 DEBUG: ------ Window Deinit (DialogProgress.xml) ------
    12:28:06 T:6444 M:1233387520 NOTICE: if ( action.getButtonCode() in CANCEL_DIALOG ):
    12:28:06 T:6444 M:1233354752 NOTICE: TypeError
    12:28:06 T:6444 M:1233354752 NOTICE: :
    12:28:06 T:6444 M:1233354752 NOTICE: argument 1 must be string, not int

    NOTE: although there is a python error, the subtitles download works fine.
    Show
    Repro: play a resolved movie OR TV Show while playing search for Subtitles choose a subtitle and apply Result: Python ERROR appears in the Boxee log file: 12:28:06 T:6444 M:1233694720 DEBUG: ------ Window Deinit (C:\Program Files (x86)\Boxee\scripts\OpenSubtitles\resources\skins\boxee\720p\script-OpenSubtitles-main.xml) ------ 12:28:06 T:1476 M:1233694720 ERROR: CLocalizeStrings::ClearBlock: Trying to clear non existent block C:\Program Files (x86)\Boxee\scripts\OpenSubtitles 12:28:06 T:6444 M:1233690624 NOTICE: C:\Program Files (x86)\Boxee\scripts\OpenSubtitles\resources\lib\gui.py:246: RuntimeWarning: tp_compare didn't return -1 or -2 for exception 12:28:06 T:6444 M:1233690624 ERROR: Exception in python script's onAction 12:28:06 T:6444 M:1233690624 NOTICE: Traceback (most recent call last): 12:28:06 T:6444 M:1233690624 NOTICE: File "C:\Program Files (x86)\Boxee\scripts\OpenSubtitles\resources\lib\gui.py", line 246, in onAction 12:28:06 T:1476 M:1233682432 DEBUG: ------ Window Deinit (DialogProgress.xml) ------ 12:28:06 T:6444 M:1233387520 NOTICE: if ( action.getButtonCode() in CANCEL_DIALOG ): 12:28:06 T:6444 M:1233354752 NOTICE: TypeError 12:28:06 T:6444 M:1233354752 NOTICE: : 12:28:06 T:6444 M:1233354752 NOTICE: argument 1 must be string, not int NOTE: although there is a python error, the subtitles download works fine.

Activity

Ami Ben-David made changes - 22/Jun/10 6:51 AM
Field Original Value New Value
Description Repro:
play a resolved movie OR TV Show
while playing search for Subtitles
choose a subtitle and apply

Result:
Python ERROR appears in the Boxee log file:

12:28:06 T:6444 M:1233694720 DEBUG: ------ Window Deinit (C:\Program Files (x86)\Boxee\scripts\OpenSubtitles\resources\skins\boxee\720p\script-OpenSubtitles-main.xml) ------
12:28:06 T:1476 M:1233694720 ERROR: CLocalizeStrings::ClearBlock: Trying to clear non existent block C:\Program Files (x86)\Boxee\scripts\OpenSubtitles
12:28:06 T:6444 M:1233690624 NOTICE: C:\Program Files (x86)\Boxee\scripts\OpenSubtitles\resources\lib\gui.py:246: RuntimeWarning: tp_compare didn't return -1 or -2 for exception
12:28:06 T:6444 M:1233690624 ERROR: Exception in python script's onAction
12:28:06 T:6444 M:1233690624 NOTICE: Traceback (most recent call last):
12:28:06 T:6444 M:1233690624 NOTICE: File "C:\Program Files (x86)\Boxee\scripts\OpenSubtitles\resources\lib\gui.py", line 246, in onAction
12:28:06 T:1476 M:1233682432 DEBUG: ------ Window Deinit (DialogProgress.xml) ------
12:28:06 T:6444 M:1233387520 NOTICE: if ( action.getButtonCode() in CANCEL_DIALOG ):
12:28:06 T:6444 M:1233354752 NOTICE: TypeError
12:28:06 T:6444 M:1233354752 NOTICE: :
12:28:06 T:6444 M:1233354752 NOTICE: argument 1 must be string, not int
Repro:
play a resolved movie OR TV Show
while playing search for Subtitles
choose a subtitle and apply

Result:
Python ERROR appears in the Boxee log file:

12:28:06 T:6444 M:1233694720 DEBUG: ------ Window Deinit (C:\Program Files (x86)\Boxee\scripts\OpenSubtitles\resources\skins\boxee\720p\script-OpenSubtitles-main.xml) ------
12:28:06 T:1476 M:1233694720 ERROR: CLocalizeStrings::ClearBlock: Trying to clear non existent block C:\Program Files (x86)\Boxee\scripts\OpenSubtitles
12:28:06 T:6444 M:1233690624 NOTICE: C:\Program Files (x86)\Boxee\scripts\OpenSubtitles\resources\lib\gui.py:246: RuntimeWarning: tp_compare didn't return -1 or -2 for exception
12:28:06 T:6444 M:1233690624 ERROR: Exception in python script's onAction
12:28:06 T:6444 M:1233690624 NOTICE: Traceback (most recent call last):
12:28:06 T:6444 M:1233690624 NOTICE: File "C:\Program Files (x86)\Boxee\scripts\OpenSubtitles\resources\lib\gui.py", line 246, in onAction
12:28:06 T:1476 M:1233682432 DEBUG: ------ Window Deinit (DialogProgress.xml) ------
12:28:06 T:6444 M:1233387520 NOTICE: if ( action.getButtonCode() in CANCEL_DIALOG ):
12:28:06 T:6444 M:1233354752 NOTICE: TypeError
12:28:06 T:6444 M:1233354752 NOTICE: :
12:28:06 T:6444 M:1233354752 NOTICE: argument 1 must be string, not int

NOTE: although there is a python error, the subtitles download works fine.
rafael made changes - 27/Jun/10 4:30 AM
Security #jira-developers [ 10020 ]
Fix Version/s beta [ 11122 ]
Fix Version/s Elin SP1 [ 11233 ]
rafael made changes - 18/Jul/10 9:33 AM
Feature Parent values: Playback(10103). Level 1 values: Subtitles(10108). Parent values: Client(10102). Level 1 values: Subtitles(10344).
rafael made changes - 26/Jul/10 7:19 AM
Feature Parent values: Client(10102). Level 1 values: Subtitles(10344).
Component/s Playback OSD and Subtitles [ 10618 ]
rafael made changes - 13/Sep/10 9:14 AM
Boxee Build Number [0.9.21.124xx] [0.9.21.125xx]
rafael made changes - 18/Oct/10 12:38 PM
Boxee Build Number [0.9.21.125xx] [0.9.21.xxxx]

People

Dates

  • Created:
    22/Jun/10 6:51 AM
    Updated:
    18/Oct/10 12:38 PM