Hi Everybody,
I am trying to get this script to work, but when I call the dialogselect window opens up , but the list does not populate, and the Header label displays "picture information"
This is the control I se to call the script.
PHP Code:
<control type="button" id="112">
<description>Test favourite</description>
<width>810</width>
<align>left</align>
<label>Test favourite</label>
<label2></label2>
<focusedcolor>Accent</focusedcolor>
<font>List_Settings</font>
<onclick>RunScript(script.favourites,property=CustomFavourite.1)</onclick>
</control>
This is part of the log file, From the log File I read that there is an error whily trying to focus control 3, but from the previous post I read the the list the displays the content is list 6 and not list 3, so thats weird. Also from the logo I read that window 13000 is asked to to do the focusing for the above mentioned control. The wiki however does not state any window with id 13000 and states the dialogselect has id 12999, so thats also weird.
Any help is welcomed
Code:
9:51:16 T:6108 NOTICE: Thread LanguageInvoker start, auto delete: false
19:51:16 T:6108 NOTICE: -->Python Interpreter Initialized<--
19:51:34 T:3356 NOTICE: Thread LanguageInvoker start, auto delete: false
19:51:34 T:3356 NOTICE: -->Python Interpreter Initialized<--
19:51:34 T:7740 ERROR: Control 3 in window 13000 has been asked to focus, but it can't
19:51:34 T:3356 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'xbmcgui.ControlFadeLabel' object has no attribute 'setLabel'
Traceback (most recent call last):
File "C:\Users\ALTRAN_TK1\AppData\Roaming\XBMC\addons\script.favourites\default.py", line 94, in onInit
self.getControl(1).setLabel(xbmc.getLocalizedString(1036))
AttributeError: 'xbmcgui.ControlFadeLabel' object has no attribute 'setLabel'
-->End of Python script error report<--
19:51:36 T:7740 ERROR: Control 3 in window 13000 has been asked to focus, but it can't
19:51:41 T:5504 NOTICE: Thread LanguageInvoker start, auto delete: false
19:51:41 T:5504 NOTICE: -->Python Interpreter Initialized<--
19:51:41 T:7740 ERROR: Control 3 in window 13000 has been asked to focus, but it can't
19:51:41 T:5504 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'xbmcgui.ControlFadeLabel' object has no attribute 'setLabel'
Traceback (most recent call last):
File "C:\Users\ALTRAN_TK1\AppData\Roaming\XBMC\addons\script.favourites\default.py", line 94, in onInit
self.getControl(1).setLabel(xbmc.getLocalizedString(1036))
AttributeError: 'xbmcgui.ControlFadeLabel' object has no attribute 'setLabel'
-->End of Python script error report<--
19:51:43 T:7740 ERROR: Control 3 in window 13000 has been asked to focus, but it can't
19:53:54 T:7392 ERROR: Previous line repeats 2 times.
19:53:54 T:7392 NOTICE: Thread LanguageInvoker start, auto delete: false
19:53:54 T:7392 NOTICE: -->Python Interpreter Initialized<--
19:53:54 T:7740 ERROR: Control 3 in window 13000 has been asked to focus, but it can't
19:53:54 T:7392 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'xbmcgui.ControlFadeLabel' object has no attribute 'setLabel'
Traceback (most recent call last):
File "C:\Users\ALTRAN_TK1\AppData\Roaming\XBMC\addons\script.favourites\default.py", line 94, in onInit
self.getControl(1).setLabel(xbmc.getLocalizedString(1036))
AttributeError: 'xbmcgui.ControlFadeLabel' object has no attribute 'setLabel'
-->End of Python script error report<--
19:53:55 T:7740 ERROR: Control 3 in window 13000 has been asked to focus, but it can't