One of my first posts, however have been an avid reader for many months of these forums, & resort to request for help after trying what sems like everything I can think of to get scripts to work.
Environment: I'm operating XBMC on current Version 06-10-15 XBMC-CVS-T3CH. Have 250GB drive with E,F & G partitions, XBMC is on E:\Apps\XBMC. Practically all scripts fail (see log extract below) & I feel it is because somehow I've screwed up something in the path to import Python Modules (don't know how I've done this). Python 2.4 is installed as per the CVS with no changes & a range of downloaded scripts in the script directory.
My Error: When I run a script it fails consistantly with a ' ZipImportError' INFO: can't decompress data; zlib not available. I suspect the "12:55:58 M: 13721600 DEBUG: msg: 'import site' failed; use -v for traceback" is a clue but pressing the white button & all the reading I have managed to do on this forum & elsewhere has not asssited me in establishing WHY is is failing & what to do to correct this - I'd greatly appreciate asssitance & happy to provide whatever additional info may be required to assist.
Many Thanks in anticipation
Lastron
Log:-
12:55:58 M: 15167488 DEBUG: LoadLibraryA('python24.dll')
12:55:58 M: 14045184 DEBUG: LoadLibrary('python24.dll') returning: 0xb51fa0
12:55:58 M: 14045184 DEBUG: dllGetProcAddress(0x98e1c8(kernel32.dll), 'InterlockedCompareExchange') => 0x1bfac4
12:55:58 M: 13778944 DEBUG: GetModuleFileNameA(0x0, 0x1032490, 256) => 'xbmc.xbe'
12:55:58 M: 13778944 DEBUG: advapi32.dll fake function RegQueryInfoKeyA called
12:55:58 M: 13778944 DEBUG: advapi32.dll fake function RegQueryInfoKeyA called
12:55:58 M: 13750272 INFO: Stating file Q:\system\python\python24.zlib
12:55:58 M: 13721600 INFO: Stating file Q:\system\python\python24.zlib\zlib
12:55:58 M: 13721600 INFO: Stating file Q:\system\python\DLLs
12:55:58 M: 13721600 INFO: Stating file Q:\system\python\DLLs\zlib
12:55:58 M: 13721600 INFO: Stating file Q:\system\python\Lib
12:55:58 M: 13721600 INFO: Stating file Q:\system\python\Lib\zlib
12:55:58 M: 13721600 INFO: Stating file Q:\system\python\spyce
12:55:58 M: 13721600 INFO: Stating file Q:\system\python\spyce\zlib
12:55:58 M: 13721600 INFO: Stating file Q:\system\python\python24.zip
12:55:58 M: 13721600 INFO: Stating file Q:\system\python
12:55:58 M: 13721600 INFO: Stating file Q:\system\python\python24.zip\zlib
12:55:58 M: 13721600 INFO: Stating file Q:\system\python\DLLs\zlib
12:55:58 M: 13721600 INFO: Stating file Q:\system\python\lib
12:55:58 M: 13721600 INFO: Stating file Q:\system\python\lib\zlib
12:55:58 M: 13721600 INFO: Stating file Q:\system\python\lib\plat-win
12:55:58 M: 13721600 INFO: Stating file Q:\system\python\lib
12:55:58 M: 13721600 INFO: Stating file Q:\system\python\lib\plat-win\zlib
12:55:58 M: 13721600 INFO: Stating file Q:\system\python\lib\lib-tk
12:55:58 M: 13721600 INFO: Stating file Q:\system\python\lib
12:55:58 M: 13721600 INFO: Stating file Q:\system\python\lib\lib-tk\zlib
12:55:58 M: 13721600 INFO: Stating file zlib
12:55:58 M: 13721600 DEBUG: CURL::CURL - Url has no protocol zlib, empty CURL created
12:55:58 M: 13721600 DEBUG: msg: 'import site' failed; use -v for traceback
12:55:58 M: 13721600 INFO: Stating file Q:\system\python\python24.zlib\zlib
12:55:58 M: 13721600 INFO: Stating file Q:\system\python\DLLs\zlib
12:55:58 M: 13721600 INFO: Stating file Q:\system\python\Lib\zlib
12:55:58 M: 13721600 INFO: Stating file Q:\system\python\spyce\zlib
12:55:58 M: 13721600 INFO: Stating file Q:\system\python\python24.zip\zlib
12:55:58 M: 13721600 INFO: Stating file Q:\system\python\DLLs\zlib
12:55:58 M: 13721600 INFO: Stating file Q:\system\python\lib\zlib
12:55:58 M: 13721600 INFO: Stating file Q:\system\python\lib\plat-win\zlib
12:55:58 M: 13721600 INFO: Stating file Q:\system\python\lib\lib-tk\zlib
12:55:58 M: 13721600 INFO: Stating file zlib
12:55:58 M: 13721600 DEBUG: CURL::CURL - Url has no protocol zlib, empty CURL created
12:55:58 M: 13692928 INFO: -->Python Initialized<--
12:55:58 M: 13672448 INFO:
12:55:58 M: 13307904 DEBUG: CGUIMediaWindow::GetDirectory (Q:\scripts\XBMCScripts)
12:55:58 M: 13299712 DEBUG: ParentPath = [Q:\scripts\XBMCScripts]
12:55:58 M: 12578816 DEBUG: kernel32.dll fake function SetConsoleCtrlHandler called
12:55:58 M: 12591104 INFO: Stating file Q:\scripts\XBMCScripts
12:55:58 M: 12591104 INFO: Stating file Q:\scripts\XBMCScripts\os
12:55:58 M: 12591104 INFO: Stating file Q:\scripts\XBMCScripts\zlib
12:55:58 M: 12591104 INFO: Stating file Q:\system\python\python24.zlib\zlib
12:55:58 M: 12591104 INFO: Stating file Q:\system\python\DLLs\zlib
12:55:58 M: 12587008 INFO: Stating file Q:\system\python\Lib\zlib
12:55:58 M: 12587008 INFO: Stating file Q:\system\python\spyce\zlib
12:55:58 M: 12587008 INFO: Traceback (most recent call last):
12:55:58 M: 12587008 INFO: File "Q:\scripts\XBMCScripts\Installer.py", line 19, in ?
12:55:58 M: 12587008 INFO:
12:55:58 M: 12587008 INFO: import os
12:55:58 M: 12587008 INFO: zipimport
12:55:58 M: 12587008 INFO: .
12:55:58 M: 12587008 INFO: ZipImportError
12:55:58 M: 12587008 INFO: :
12:55:58 M: 12587008 INFO: can't decompress data; zlib not available
12:55:58 M: 12587008 INFO:
12:55:58 M: 12587008 ERROR: Scriptresult: Error
12:55:58 M: 12587008 INFO: Python script stopped
12:55:58 M: 13111296 INFO: Python, unloading python24.dll cause no scripts are running anymore
12:55:58 M: 15319040 DEBUG: CGUIMediaWindow::GetDirectory (Q:\scripts\XBMCScripts)