Posts: 33
Joined: Oct 2005
Reputation:
0
tartag
Junior Member
Posts: 33
hey all:
i realize i may need to post the script for the solution but i will do my best to describe:
i can select a controlbutton and the expected oncontrol is executed, then if i attempt to select the same or entirley different button, while there is an audible 'click' there is no action... even as simple as self.close()....
any ideas...
many thanks,
-tartag
Posts: 249
Joined: Feb 2005
Reputation:
0
EnderW
Skilled Python Coder
Posts: 249
i'd say your code has some kind of bug preventing it from running the action twice. look at the code in oncontrol and see if you can find anything preventing it from happening. or try to comment that code part out first and put in a "pass" and see if you can click it twice then. good luck.
xbmcscripts.com administrator
Posts: 3,909
Joined: Dec 2004
Reputation:
20
Nuka1195
Skilled Python Coder
Posts: 3,909
take the progress.close() out of the except: or add another in the try:, it may not be closing properly.
Posts: 33
Joined: Oct 2005
Reputation:
0
tartag
Junior Member
Posts: 33
sweet, i'll give it a go...
Posts: 928
Joined: Feb 2004
Reputation:
0
Asteron
"Skilled" Python Coder
Posts: 928
you do get this behavior if you have a typo or dereference something that doesnt exist in python. basically the python engine crashes while the main xbmc gui code does not (thus you can still navigate but it wont do anything).
at this point i would comment out as much stuff as you can to avoid the error and slowly uncomment the code back in to see where the typo is.
try looking at your new code for a typo...