I have just installed the ACE theme and am trying to get this feature to work. Yesterday I ran the whole scan and selected all my themes but it didn't store any files in the path that it stated.
Today I turned on logging so that I could find out why but now the script just fails on the second show (first does not exist)
This is the section that I narrowed down from the log (if i am right)
Code:
21:57:57 T:5868 DEBUG: LocalizeStrings: no strings.po file exist at C:\Users\Media\AppData\Roaming\XBMC\addons\script.tvtunes\resources\language\english, fallback to strings.xml
21:57:57 T:3176 DEBUG: ------ Window Init (DialogYesNo.xml) ------
21:57:57 T:3176 INFO: Loading skin file: DialogYesNo.xml, load type: KEEP_IN_MEMORY
21:57:58 T:1532 DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0x9732628
21:57:58 T:3176 DEBUG: Previous line repeats 1 times.
21:57:58 T:3176 INFO: XCURL::DllLibCurlGlobal::CheckIdle - Closing session to http://feeds.feedburner.com (easy=0CDA0008, multi=0A0D11F0)
21:57:59 T:1532 DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0x9732628
21:58:01 T:3176 DEBUG: Previous line repeats 5 times.
21:58:01 T:3176 DEBUG: Keyboard: scancode: 4d, sym: 0113, unicode: 0000, modifier: 0
21:58:01 T:3176 DEBUG: CApplication::OnKey: right (f083) pressed, action is Right
21:58:02 T:1532 DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0x9732628
21:58:02 T:3176 DEBUG: Keyboard: scancode: 1c, sym: 000d, unicode: 000d, modifier: 0
21:58:02 T:3176 DEBUG: CApplication::OnKey: return (f00d) pressed, action is Select
21:58:02 T:3176 DEBUG: ------ Window Deinit (DialogYesNo.xml) ------
21:58:02 T:5868 DEBUG: DialogProgress::StartModal called
21:58:02 T:5868 DEBUG: ------ Window Init (DialogProgress.xml) ------
21:58:02 T:5868 INFO: Loading skin file: DialogProgress.xml, load type: KEEP_IN_MEMORY
21:58:02 T:5868 DEBUG: script.tvtunes: ### Search for $#*! My Dad Says
21:58:02 T:1532 DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0x9732628
21:58:03 T:5868 DEBUG: Previous line repeats 2 times.
21:58:03 T:5868 DEBUG: script.tvtunes: ### Search url: http://www.televisiontunes.com/search.php?searWords=%24%23%2A%21+My+Dad+Says&Send=Search
21:58:03 T:5868 DEBUG: script.tvtunes: no theme found for $#*! My Dad Says
21:58:03 T:5868 DEBUG: script.tvtunes: ### next page: False
21:58:03 T:3176 DEBUG: ------ Window Init (DialogSelect.xml) ------
21:58:03 T:3176 INFO: Loading skin file: DialogSelect.xml, load type: KEEP_IN_MEMORY
21:58:04 T:1532 DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0x9732628
21:58:06 T:3176 DEBUG: Previous line repeats 4 times.
21:58:06 T:3176 DEBUG: Keyboard: scancode: 0e, sym: 0008, unicode: 0008, modifier: 0
21:58:06 T:3176 DEBUG: CApplication::OnKey: backspace (f008) pressed, action is Back
21:58:06 T:1532 DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0x9732628
21:58:07 T:3176 DEBUG: ------ Window Deinit (DialogSelect.xml) ------
21:58:07 T:5868 DEBUG: script.tvtunes: ### Canceled by user
21:58:07 T:5868 DEBUG: script.tvtunes: ### Search for 2 Broke Girls
21:58:07 T:1532 DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0x9732628
21:58:08 T:5868 DEBUG: Previous line repeats 2 times.
21:58:08 T:5868 DEBUG: script.tvtunes: ### Search url: http://www.televisiontunes.com/search.php?searWords=2+Broke+Girls&Send=Search
21:58:08 T:5868 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.NameError'>
Error Contents: global name 'exact_match' is not defined
Traceback (most recent call last):
File "C:\Users\Media\AppData\Roaming\XBMC\addons\script.tvtunes\resources\tvtunes_scraper.py", line 238, in <module>
TvTunes()
File "C:\Users\Media\AppData\Roaming\XBMC\addons\script.tvtunes\resources\tvtunes_scraper.py", line 88, in __init__
self.scan(normalize_string( params.get("name", "" ) ),params.get("path", "false" ).decode("utf-8"))
File "C:\Users\Media\AppData\Roaming\XBMC\addons\script.tvtunes\resources\tvtunes_scraper.py", line 113, in scan
if (len(theme_list) == 1) and (exact_match == 'true'):
NameError: global name 'exact_match' is not defined
-->End of Python script error report<--
21:58:08 T:3176 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
21:58:08 T:5868 INFO: Python script stopped
21:58:08 T:5868 DEBUG: Thread XBPyThread 5868 terminating
21:58:08 T:3176 DEBUG: waiting for python thread 10 (C:\Users\Media\AppData\Roaming\XBMC\addons\script.tvtunes\resources\tvtunes_scraper.py) to stop
21:58:08 T:3176 DEBUG: python thread 10 (C:\Users\Media\AppData\Roaming\XBMC\addons\script.tvtunes\resources\tvtunes_scraper.py) destructed
21:58:08 T:1532 DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0x9732628
21:58:08 T:3176 DEBUG: ------ Window Deinit (DialogProgress.xml) ------
21:58:09 T:1532 DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0x9732628
21:58:12 T:3176 DEBUG: Previous line repeats 5 times.
21:58:12 T:3176 DEBUG: Keyboard: scancode: 0e, sym: 0008, unicode: 0008, modifier: 0
21:58:12 T:3176 DEBUG: CApplication::OnKey: backspace (f008) pressed, action is Back
21:58:12 T:3176 DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
21:58:12 T:1532 DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0x9732628
21:58:12 T:3176 DEBUG: ------ Window Deinit (MyVideoNav.xml) ------
21:58:12 T:3176 DEBUG: CGUIWindowManager::PreviousWindow: Activate new
21:58:12 T:3176 DEBUG: ------ Window Init (Home.xml) ------
Could someone help me with why?
I started at the point where it lists all my shows to keep it small but the whole thing can be found here ->
http://pastebin.com/wVbMerzd