stanley87 Wrote:Hi.
Trey: this error occurs when the script fails to fetch data for movies from the xbmc database.
Two things:
1) script ONLY will work in library mode
2) Make sure your onlick link has the "spaces" in it
<onclick>RunScript(special://home/scripts/YouTrailer/default.py,"$INFO[listitem.filename] ","$INFO[listitem.path] ")</onclick>
There are spaces after ] and "
1) Yea I'm in Library mode =)
2) Tried spaces everywhere now without any luck.
Should the output in the log be:
______________________________________________________________
1. --> ," $INFO[listitem.filename] "," $INFO[listitem.path] ")</onclick> <--
______________________________________________________________
CApplication::ExecuteXBMCAction : To RunScript(special://home/scripts/YouTrailer/default.py," m-dos-720p.mkv "," rar://smb://quad/Media G (WDGP 2TB #1)/Filmer/HDRip/500.Days.Of.Summer.720p.BluRay.x264-METiS/m-dos-720p.rar/ ")
___________________________________________________________
2. --> ,"$INFO[listitem.filename]","$INFO[listitem.path]")</onclick> <--
___________________________________________________________
CApplication::ExecuteXBMCAction : To RunScript(special://home/scripts/YouTrailer/default.py,"m-dos-720p.mkv","rar://smb://quad/Media G (WDGP 2TB #1)/Filmer/HDRip/500.Days.Of.Summer.720p.BluRay.x264-METiS/m-dos-720p.rar/")
_____________________________________________________________
3. --> ,"$INFO[listitem.filename] ","$INFO[listitem.path] ")</onclick> <--
_____________________________________________________________
CApplication::ExecuteXBMCAction : To RunScript(special://home/scripts/YouTrailer/default.py,"m-dos-720p.mkv ","rar://smb://quad/Media G (WDGP 2TB #1)/Filmer/HDRip/500.Days.Of.Summer.720p.BluRay.x264-METiS/m-dos-720p.rar/ ")
Is there any other log then xbmc.log i should look in?
Part of log:
Code:
13:50:39 T:3452 M:1443540992 DEBUG: SDLKeyboard: scancode: 75, sym: 276, unicode: 0, modifier: 0
13:50:39 T:3452 M:1443540992 DEBUG: CApplication::OnKey: 61477 pressed, action is 1
13:50:40 T:3452 M:1443790848 DEBUG: SDLKeyboard: scancode: 28, sym: 13, unicode: 13, modifier: 0
13:50:40 T:3452 M:1443790848 DEBUG: CApplication::OnKey: 61453 pressed, action is 7
13:50:40 T:3452 M:1443778560 DEBUG: CApplication::ExecuteXBMCAction : Translating RunScript(special://home/scripts/YouTrailer/default.py," $INFO[listitem.filename] "," $INFO[listitem.path] ")
13:50:40 T:3452 M:1443778560 DEBUG: CApplication::ExecuteXBMCAction : To RunScript(special://home/scripts/YouTrailer/default.py,"m-dos-720p.mkv ","rar://smb://quad/Media G (WDGP 2TB #1)/Filmer/HDRip/500.Days.Of.Summer.720p.BluRay.x264-METiS/m-dos-720p.rar/ ")
13:50:40 T:3452 M:1443778560 INFO: initializing python engine.
13:50:40 T:3452 M:1443778560 DEBUG: Win32DllLoader::Load(special://xbmc/system/python/python24.dll)
13:50:40 T:3452 M:1443745792 DEBUG: LoadLibraryA('MSVCR71.dll')
13:50:40 T:3452 M:1443745792 DEBUG: LoadLibrary('MSVCR71.dll') returning: 02EE80B0
13:50:40 T:3452 M:1443258368 DEBUG: LoadLibraryExA called with flags:
- LOAD_WITH_ALTERED_SEARCH_PATH
13:50:40 T:3452 M:1443258368 DEBUG: LoadLibraryA('zlib.pyd')
13:50:40 T:3452 M:1443258368 DEBUG: Win32DllLoader::Load(special://xbmc/system/python/DLLs\zlib.pyd)
13:50:40 T:3452 M:1443246080 DEBUG: LoadLibraryA('python24.dll')
13:50:40 T:3452 M:1443246080 DEBUG: LoadLibrary('python24.dll') returning: 069831D8
13:50:40 T:3452 M:1443246080 DEBUG: LoadLibraryA('MSVCR71.dll')
13:50:40 T:3452 M:1443246080 DEBUG: LoadLibrary('MSVCR71.dll') returning: 02EE80B0
13:50:40 T:3452 M:1443246080 DEBUG: LoadLibrary('zlib.pyd') returning: 06983138
13:50:40 T:3452 M:1442738176 DEBUG: msg: 'import site' failed; use -v for traceback
13:50:40 T:3452 M:1442443264 DEBUG: new python thread created. id=2
13:50:40 T:3268 M:1442443264 DEBUG: thread start, auto delete: 0
13:50:40 T:3268 M:1442443264 DEBUG: Python thread: start processing
13:50:40 T:3268 M:1441820672 DEBUG: msg: 'import site' failed; use -v for traceback
13:50:40 T:3268 M:1441820672 NOTICE: -->Python Interpreter Initialized<--
13:50:40 T:3268 M:1441820672 DEBUG: XBPyThread::Process - The source file to load is special://home/scripts/YouTrailer/default.py
13:50:40 T:3268 M:1441689600 DEBUG: XBPyThread::Process - Setting the Python path to C:\XBMC\scripts\YouTrailer;special://xbmc/system/python/python24.zlib;special://xbmc/system/python/DLLs;special://xbmc/system/python/Lib;special://xbmc/system/python/spyce
13:50:40 T:3268 M:1441689600 DEBUG: XBPyThread::Process - Entering source directory C:\XBMC\scripts\YouTrailer
13:50:40 T:3268 M:1441685504 NOTICE: [SCRIPT] 'YouTrailer: version 0.3' initialized!
13:50:40 T:3268 M:1441648640 DEBUG: LoadLibraryExA called with flags:
- LOAD_WITH_ALTERED_SEARCH_PATH
13:50:40 T:3268 M:1441648640 DEBUG: LoadLibraryA('_sqlite.pyd')
13:50:40 T:3268 M:1441648640 DEBUG: Win32DllLoader::Load(C:\XBMC\scripts\YouTrailer\resources\platform_libraries\win32\pysqlite2\_sqlite.pyd)
13:50:40 T:3268 M:1441632256 DEBUG: LoadLibraryA('python24.dll')
13:50:40 T:3268 M:1441632256 DEBUG: LoadLibrary('python24.dll') returning: 069831D8
13:50:40 T:3268 M:1441632256 DEBUG: LoadLibraryA('MSVCR71.dll')
13:50:40 T:3268 M:1441632256 DEBUG: LoadLibrary('MSVCR71.dll') returning: 02EE80B0
13:50:40 T:3268 M:1441632256 DEBUG: LoadLibrary('_sqlite.pyd') returning: 06983048
13:50:40 T:3268 M:1440776192 DEBUG: LoadLibraryExA called with flags:
- LOAD_WITH_ALTERED_SEARCH_PATH
13:50:40 T:3268 M:1440776192 DEBUG: LoadLibraryA('_socket.pyd')
13:50:40 T:3268 M:1440776192 DEBUG: Win32DllLoader::Load(special://xbmc/system/python/DLLs\_socket.pyd)
13:50:40 T:3268 M:1440759808 DEBUG: LoadLibraryA('python24.dll')
13:50:40 T:3268 M:1440759808 DEBUG: LoadLibrary('python24.dll') returning: 069831D8
13:50:40 T:3268 M:1440759808 DEBUG: LoadLibraryA('MSVCR71.dll')
13:50:40 T:3268 M:1440759808 DEBUG: LoadLibrary('MSVCR71.dll') returning: 02EE80B0
13:50:40 T:3268 M:1440759808 DEBUG: LoadLibrary('_socket.pyd') returning: 06982FF8
13:50:40 T:3268 M:1440755712 DEBUG: LoadLibraryExA called with flags:
- LOAD_WITH_ALTERED_SEARCH_PATH
13:50:40 T:3268 M:1440755712 DEBUG: LoadLibraryA('_ssl.pyd')
13:50:40 T:3268 M:1440755712 DEBUG: Win32DllLoader::Load(special://xbmc/system/python/DLLs\_ssl.pyd)
13:50:40 T:3268 M:1440714752 DEBUG: LoadLibraryA('python24.dll')
13:50:40 T:3268 M:1440714752 DEBUG: LoadLibrary('python24.dll') returning: 069831D8
13:50:40 T:3268 M:1440714752 DEBUG: LoadLibraryA('MSVCR71.dll')
13:50:40 T:3268 M:1440714752 DEBUG: LoadLibrary('MSVCR71.dll') returning: 02EE80B0
13:50:40 T:3268 M:1440714752 DEBUG: LoadLibrary('_ssl.pyd') returning: 06982FA8
13:50:40 T:3268 M:1438105600 DEBUG: unable to load C:\XBMC\scripts\YouTrailer\resources\language\Swedish\strings.xml: Failed to open file at line 0
13:50:40 T:3268 M:1438076928 INFO: Loading skin file: DialogProgress.xml
13:50:40 T:3268 M:1438072832 DEBUG: Load DialogProgress.xml: 17.70ms
13:50:40 T:3268 M:1438072832 DEBUG: ------ Window Init (DialogProgress.xml) ------
13:50:40 T:3268 M:1438072832 DEBUG: Alloc resources: 0.04ms (0.00 ms skin load)
13:50:41 T:3268 M:1437900800 INFO: Loading skin file: DialogOK.xml
13:50:41 T:3268 M:1437896704 DEBUG: Load DialogOK.xml: 17.29ms
13:50:41 T:3452 M:1437896704 DEBUG: ------ Window Init (DialogOK.xml) ------
13:50:41 T:3452 M:1437896704 DEBUG: Alloc resources: 0.03ms (0.00 ms skin load)
13:50:41 T:3452 M:1437892608 DEBUG: ------ Window Deinit (DialogProgress.xml) ------
13:50:42 T:3452 M:1438593024 DEBUG: SDLKeyboard: scancode: 28, sym: 13, unicode: 13, modifier: 0
13:50:42 T:3452 M:1438593024 DEBUG: CApplication::OnKey: 61453 pressed, action is 7
13:50:43 T:3452 M:1438580736 DEBUG: ------ Window Deinit (DialogOK.xml) ------
13:50:43 T:3452 M:1438580736 DEBUG: SDLKeyboard: scancode: 14, sym: 8, unicode: 8, modifier: 0
13:50:43 T:3452 M:1438580736 DEBUG: CApplication::OnKey: 61448 pressed, action is 51
13:50:44 T:3452 M:1438781440 DEBUG: ------ Window Deinit (DialogVideoInfo.xml) ------
13:50:44 T:3452 M:1441443840 DEBUG: SDLKeyboard: scancode: 14, sym: 8, unicode: 8, modifier: 0
13:50:44 T:3452 M:1441443840 DEBUG: CApplication::OnKey: 61448 pressed, action is 9
13:50:44 T:3452 M:1441431552 DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
13:50:44 T:3452 M:1441431552 DEBUG: ------ Window Deinit (MyVideoNav.xml) ------
13:50:44 T:3452 M:1443201024 DEBUG: CGUIWindowManager::PreviousWindow: Activate new
13:50:44 T:3452 M:1443201024 DEBUG: ------ Window Init (Home.xml) ------