Script.Favorites error

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
mcborzu Offline
Skilled Skinner
Posts: 3,381
Joined: Feb 2009
Reputation: 15
Location: dsf
Post: #1
This seems to be the relevant section:

PHP Code:
22:04:16 T:4016 M:1232875520    INFO: -->Python script returned the following error<--
22:04:16 T:4016 M:1232875520   ERRORError Typeexceptions.SystemError
22
:04:16 T:4016 M:1232875520   ERRORError ContentsErrorWindow is NULLthis is not possible :-)
22:04:16 T:4016 M:1232863232   ERRORTraceback (most recent call last):
                                              
File "C:\Program Files\XBMC\addons\script.favourites\default.py"line 58in ?
                                                
Main()
                                              
File "C:\Program Files\XBMC\addons\script.favourites\default.py"line 17in __init__
                                                dialog
.close()
                                            
SystemErrorErrorWindow is NULLthis is not possible :-)
22:04:16 T:4016 M:1232863232    INFO: -->End of Python script error report<-- 


Heres the whole PASTEBIN, and link to script.favourites if needed

The script works it's just spitting out an error which in turns activates the DialogKiaToast warning. I'll need a little help as I barely know any python, thx...


Deleting line 14 works, stops the error and script still works:
PHP Code:
dialog.close() 
Just don't if it's kosher to actually delete that line.

[Image: widget]

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
(This post was last modified: 2010-08-13 04:45 by mcborzu.)
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #2
was the dialog ever opened? i have a feeling this is caused by sloppy scripting.
find quote
mcborzu Offline
Skilled Skinner
Posts: 3,381
Joined: Feb 2009
Reputation: 15
Location: dsf
Post: #3
Again I don't know much about python but it used to run without error. I traced it back to builds 32393 and above spits out that error if it helps....

Or if just deleting
PHP Code:
dialog.close() 
works I'll just go with that...

[Image: widget]

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #4
yes, we changed from silently ignoring such malusage (calling methods in uninited ui elements) to actually tossing the errors. removing that line is probably not the proper solution, since i have a feeling it might be needed under certain conditions...
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #5
can you please verify http://www.math.ntnu.no/~arnemort/stuf/f...rites.diff

fuck it, it's so trivial, i pushed it.
(This post was last modified: 2010-08-13 16:05 by spiff.)
find quote