2011-07-22, 18:52
Just tried it here on a Win 7 64bit with xbmc 10.1 running, no problem to export at least.
What message do you get?
What message do you get?
Fox Wrote:I tried to fix it for the nightly, but ran into a problem I can't figure out.
The old version (1.0.1) I can install without problem, but it gives you errors when you run it.
I rewrote it to work with the nightly (20110731), worked like a charm. But when I zip it and try to install from scratch I get the error "Addon does not have the correct structure." and it don't get installed.
Maybe someone know what the problem is.
Here is my new version (1.1.0) http://dl.dropbox.com/u/3317056/script.watched.flag.zip
If you want to try it, install the old one and replace the default.py from my zip.
23:54:29 T:740 M:2318139392 INFO: -->Python script returned the following error<--
23:54:29 T:740 M:2318139392 ERROR: Error Type: pysqlite2._sqlite.OperationalError
23:54:29 T:740 M:2318139392 ERROR: Error Contents: no such table: files
23:54:29 T:740 M:2318123008 ERROR: Traceback (most recent call last):
File "C:\Users\castortray\AppData\Roaming\XBMC\addons\script.watched.flag\default.py", line 107, in ?
exportWatched(mydisplay)
File "C:\Users\castortray\AppData\Roaming\XBMC\addons\script.watched.flag\default.py", line 77, in exportWatched
writeExportFile(movieSQL,movieFile)
File "C:\Users\castortray\AppData\Roaming\XBMC\addons\script.watched.flag\default.py", line 53, in writeExportFile
dbCur.execute(strSQL)
OperationalError: no such table: files
23:54:29 T:740 M:2318123008 INFO: -->End of Python script error report<--
23:54:29 T:1032 M:2318057472 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
23:54:29 T:740 M:2318057472 INFO: Python script stopped
23:54:29 T:740 M:2318057472 DEBUG: Thread 740 terminating
22:05:50 T:2949634928 ERROR: Error Type: <type 'exceptions.ImportError'>
22:05:50 T:2949634928 ERROR: Error Contents: No module named ElementTree
22:05:50 T:2949634928 ERROR: Traceback (most recent call last):
File "/home/xbmc/.xbmc/addons/script.watched.flag/default.py", line 23, in <module>
import ElementTree as ET
ImportError: No module named ElementTree
from elementtree import ElementTree
from xml.etree.ElementTree import ElementTree