2009-11-19, 19:15
I just downloaded the file in the first post and it seemed to come down just fine. He might of had a server issue when you tried to download the first time.
kizer Wrote:I have a question. I can't seem to get this to run on a Linux install. I thought it would either go in the /home/xbmc/.xbmc/scripts or /usr/share/xbmc/scripts/
Either place I put it it doesn't run. I figured it would go in the /home/xbmc/.xbmc/scripts directory if anything due to permissions, but it doesn't. It does create a Folder called /home/xbmc/.xbmc/UserData/ folder Video Fanart Splitter, but after that it just stops.
Is there any permissions that needs to be setup prior to running?
jonzz Wrote:What sections would you go about changing it if you dont use the application data folder and just everything is in the program files?
special://home/userdata/
skaymakca Wrote:You can check your xbmc.log under .xbmc/temp for whatever errors are being raised.
I tried it on an ubuntu 9.10 vm with xbmc stable and it didn't work. The third party library I'm using for sqlite access, pysqlite, is now longer loading on linux. I will look into the solution and post a fix later.
Quote:10:29:02 T:2862779280 M:1663107072 DEBUG: xbp_dlopen loading python lib /home/xbmc/.xbmc/scripts/Video Fanart Splitter/platform_libraries/Linux/pysqlite2/_sqlite.so. flags: 2
10:29:02 T:2862779280 M:1663107072 DEBUG: Loading: /home/xbmc/.xbmc/scripts/Video Fanart Splitter/platform_libraries/Linux/pysqlite2/_sqlite.so
10:29:02 T:2862779280 M:1663107072 DEBUG: RegisterExtensionLib, adding _sqlite.so (0xa0aa4fe8)
10:29:02 T:2862779280 M:1663107072 DEBUG: xbp_dlsym - load symbol init_sqlite
10:29:02 T:2862779280 M:1663107072 INFO: -->Python script returned the following error<--
10:29:02 T:2862779280 M:1663107072 ERROR: Error Type: exceptions.IndexError
10:29:02 T:2862779280 M:1663107072 ERROR: Error Contents: list index out of range
10:29:02 T:2862779280 M:1663107072 ERROR: Traceback (most recent call last):
File "/home/xbmc/.xbmc/scripts/Video Fanart Splitter/default.py", line 52, in ?
if os.path.isfile(xbmc.translatePath("special://home/userdata/Thumbnails/Video/Fanart/" + getCrc(row[0] + row[1]) + ".tbn")):
File "/home/xbmc/.xbmc/scripts/Video Fanart Splitter/default.py", line 24, in getCrc
crc = hex(g(filename.lower()))
File "/home/xbmc/.xbmc/scripts/Video Fanart Splitter/crcmod.py", line 403, in crcfun
return fun(data, crc, table)
File "/home/xbmc/.xbmc/scripts/Video Fanart Splitter/_crcfunpy.py", line 67, in _crc32
crc = table[ord(x) ^ (int(crc>>24) & 0xFF)] ^ ((crc << 8) & 0xFFFFFF00L)
IndexError: list index out of range
10:29:02 T:2862779280 M:1663107072 INFO: -->End of Python script error report<--
22:28:12 T:3256 M:2832404480 NOTICE: -->Python Interpreter Initialized<--
22:28:12 T:3256 M:2832404480 DEBUG: XBPyThread::Process - The source file to load is special://home/scripts/Video Fanart Splitter/default.py
22:28:12 T:3256 M:2832396288 DEBUG: XBPyThread::Process - Setting the Python path to C:\Program Files (x86)\XBMC\scripts\Video Fanart Splitter;special://xbmc/system/python/python24.zlib;special://xbmc/system/python/DLLs;special://xbmc/system/python/Lib;special://xbmc/system/python/spyce
22:28:12 T:3256 M:2832396288 DEBUG: XBPyThread::Process - Entering source directory C:\Program Files (x86)\XBMC\scripts\Video Fanart Splitter
22:28:12 T:3256 M:2832949248 DEBUG: LoadLibraryExA called with flags:
- LOAD_WITH_ALTERED_SEARCH_PATH
22:28:12 T:3256 M:2832945152 DEBUG: LoadLibraryA('_sqlite.pyd')
22:28:12 T:3256 M:2832945152 DEBUG: Win32DllLoader::Load(C:\Program Files (x86)\XBMC\scripts\Video Fanart Splitter\platform_libraries\win32\pysqlite2\_sqlite.pyd)
22:28:12 T:3256 M:2832912384 DEBUG: LoadLibraryA('python24.dll')
22:28:12 T:3256 M:2832912384 DEBUG: LoadLibrary('python24.dll') returning: 08467800
22:28:12 T:3256 M:2832912384 DEBUG: LoadLibraryA('MSVCR71.dll')
22:28:12 T:3256 M:2832912384 DEBUG: LoadLibrary('MSVCR71.dll') returning: 084639D0
22:28:12 T:3256 M:2832912384 DEBUG: LoadLibrary('_sqlite.pyd') returning: 03097DF0
22:28:12 T:3256 M:2789138432 INFO: -->Python script returned the following error<--
22:28:12 T:3256 M:2789138432 ERROR: Error Type: exceptions.IndexError
22:28:12 T:3256 M:2789138432 ERROR: Error Contents: list index out of range
22:28:12 T:3256 M:2789105664 ERROR: Traceback (most recent call last):
File "C:\Program Files (x86)\XBMC\scripts\Video Fanart Splitter\default.py", line 52, in ?
if os.path.isfile(xbmc.translatePath("special://home/userdata/Thumbnails/Video/Fanart/" + getCrc(row[0] + row[1]) + ".tbn")):
File "C:\Program Files (x86)\XBMC\scripts\Video Fanart Splitter\default.py", line 24, in getCrc
crc = hex(g(filename.lower()))
File "C:\Program Files (x86)\XBMC\scripts\Video Fanart Splitter\crcmod.py", line 403, in crcfun
return fun(data, crc, table)
File "C:\Program Files (x86)\XBMC\scripts\Video Fanart Splitter\_crcfunpy.py", line 67, in _crc32
crc = table[ord(x) ^ (int(crc>>24) & 0xFF)] ^ ((crc << 8) & 0xFFFFFF00L)
IndexError: list index out of range
22:28:12 T:3256 M:2789105664 INFO: -->End of Python script error report<--