Python fails with current svn
#1
Hi,

with current svn, I'm not able to load any python script or plugin.
I always have the followig error :
Code:
ImportError : No module named threading
even if my script do not include the module "threading"
Compiled with VC2008Express.
All is OK except that.

Here is the log for the autoexec.py script (that should only prints "autoexec.py") :
Code:
14:24:00 T:5860 M:1037037568    INFO: GL: Using artificial vsync sleep with rate 60.000000
14:24:00 T:5860 M:1037037568    INFO: GL: Selected vsync mode 2
14:24:00 T:4368 M:1036959744  NOTICE: -->Python Interpreter Initialized<--
14:24:00 T:4368 M:1036955648  NOTICE:
14:24:00 T:4368 M:1036955648   DEBUG: XBPyThread::Process - The source file to load is special://home/scripts/autoexec.py
14:24:00 T:4368 M:1036767232   DEBUG: XBPyThread::Process - Setting the Python path to C:\_dev\XBMC_svn\XBMC\scripts;special://xbmc/system/python/python24.zlib;special://xbmc/system/python/DLLs;special://xbmc/system/python/Lib;special://xbmc/system/python/spyce
14:24:00 T:4368 M:1036767232   DEBUG: XBPyThread::Process - Entering source directory C:\_dev\XBMC_svn\XBMC\scripts
14:24:00 T:4368 M:1035956224    INFO: Scriptresult: Succes
14:24:00 T:4272 M:1035649024   DEBUG: Curl::Debug HTTP/1.1 200 OK
14:24:00 T:4272 M:1035640832   DEBUG: Curl::Debug Date: Fri, 03 Apr 2009 12:26:52 GMT
14:24:00 T:4272 M:1035603968   DEBUG: Curl::Debug Server: Apache
14:24:00 T:4272 M:1035603968   DEBUG: Curl::Debug Cache-Control: max-age=300
14:24:00 T:4272 M:1035595776   DEBUG: Curl::Debug Content-Length: 5104
14:24:00 T:4272 M:1035587584   DEBUG: Curl::Debug Keep-Alive: timeout=1, max=7490
14:24:00 T:4272 M:1035587584   DEBUG: Curl::Debug Connection: Keep-Alive
14:24:00 T:4272 M:1035579392   DEBUG: Curl::Debug Content-Type: application/xml;charset=ISO-8859-1
14:24:00 T:4272 M:1035571200   DEBUG: FileCurl::Close(06ADFC60) http://xoap.weather.com/weather/local/USNY0996?cc=*&unit=m&dayf=4&prod=xoap&link=xoap&par=1004124588&key=079f24145f208494
14:24:00 T:4272 M:1035571200   DEBUG: Curl::Debug Expire cleared
14:24:00 T:4272 M:1035571200   DEBUG: Curl::Debug Closing connection #0
14:24:00 T:4272 M:1035563008    INFO: WEATHER: Weather download successful
14:24:00 T:4176 M:1030864896   DEBUG: Curl::Debug About to connect() to www.google.com port 80 (#0)
14:24:00 T:4176 M:1030856704   DEBUG: Curl::Debug   Trying 208.69.34.230...
14:24:01 T:4176 M:1029025792   DEBUG: Curl::Debug connected
14:24:01 T:4176 M:1029214208   DEBUG: Curl::Debug Connected to www.google.com (208.69.34.230) port 80 (#0)
14:24:01 T:4176 M:1028726784   DEBUG: Curl::Debug HEAD / HTTP/1.1
14:24:01 T:4176 M:1028599808   DEBUG: Curl::Debug User-Agent: XBMC/pre-9.04 rUnknown (Windows; Windows XP Professional Service Pack 2 build 2600; http://www.xbmc.org)
14:24:01 T:4176 M:1028550656   DEBUG: Curl::Debug Host: www.google.com
14:24:01 T:4176 M:1028550656   DEBUG: Curl::Debug Accept: */*
14:24:01 T:4176 M:1028550656   DEBUG: Curl::Debug Connection: keep-alive
14:24:01 T:4176 M:1027350528   DEBUG: Curl::Debug HTTP 1.0, assume close after body
14:24:01 T:4176 M:1027350528   DEBUG: Curl::Debug HTTP/1.0 302 Moved Temporarily
14:24:01 T:4176 M:1027350528   DEBUG: Curl::Debug Location: http://www.google.fr/
14:24:01 T:4176 M:1027350528   DEBUG: Curl::Debug Cache-Control: private
14:24:01 T:4176 M:1027350528   DEBUG: Curl::Debug Content-Type: text/html; charset=UTF-8
14:24:01 T:4176 M:1027350528   DEBUG: Curl::Debug Added cookie PREF="ID=ad7dacfb59b0e7dd:TM=1238761612:LM=1238761612:S=SVUBD3Ifb_By-QX8" for domain google.com, path /, expire 1301833612
14:24:01 T:4176 M:1027309568   DEBUG: Curl::Debug Set-Cookie: PREF=ID=ad7dacfb59b0e7dd:TM=1238761612:LM=1238761612:S=SVUBD3Ifb_By-QX8; expires=Sun, 03-Apr-2011 12:26:52 GMT; path=/; domain=.google.com
14:24:01 T:4176 M:1027309568   DEBUG: Curl::Debug Date: Fri, 03 Apr 2009 12:26:52 GMT
14:24:01 T:4176 M:1027309568   DEBUG: Curl::Debug Server: gws
14:24:01 T:4176 M:1027309568   DEBUG: Curl::Debug Content-Length: 218
14:24:01 T:4176 M:1027309568   DEBUG: Curl::Debug X-Cache: MISS from .
14:24:01 T:4176 M:1027309568   DEBUG: Curl::Debug Via: 1.0 .:80 (squid)
14:24:01 T:4176 M:1027309568   DEBUG: Curl::Debug Connection: close
14:24:01 T:4176 M:1027309568   DEBUG: Curl::Debug Closing connection #0
14:24:01 T:4176 M:1027309568   DEBUG: Curl::Debug Issue another request to this URL: 'http://www.google.fr/'
14:24:01 T:4176 M:1027309568   DEBUG: Curl::Debug Disables POST, goes with HEAD
14:24:01 T:4176 M:1027256320   DEBUG: Curl::Debug About to connect() to www.google.fr port 80 (#0)
14:24:01 T:4176 M:1027256320   DEBUG: Curl::Debug   Trying 208.69.34.230...
14:24:01 T:4176 M:1025974272   DEBUG: Curl::Debug connected
14:24:01 T:4176 M:1025970176   DEBUG: Curl::Debug Connected to www.google.fr (208.69.34.230) port 80 (#0)
14:24:01 T:4176 M:1025970176   DEBUG: Curl::Debug HEAD / HTTP/1.1
14:24:01 T:4176 M:1025970176   DEBUG: Curl::Debug User-Agent: XBMC/pre-9.04 rUnknown (Windows; Windows XP Professional Service Pack 2 build 2600; http://www.xbmc.org)
14:24:01 T:4176 M:1025970176   DEBUG: Curl::Debug Host: www.google.fr
14:24:01 T:4176 M:1025970176   DEBUG: Curl::Debug Accept: */*
14:24:01 T:4176 M:1025970176   DEBUG: Curl::Debug Referer: http://www.google.com/
14:24:01 T:4176 M:1029865472   DEBUG: Curl::Debug Connection: keep-alive
14:24:01 T:4176 M:1033814016   DEBUG: Curl::Debug HTTP 1.0, assume close after body
14:24:01 T:4176 M:1034080256   DEBUG: Curl::Debug HTTP/1.0 200 OK
14:24:01 T:4176 M:1034080256   DEBUG: Curl::Debug Cache-Control: private, max-age=0
14:24:01 T:4176 M:1034080256   DEBUG: Curl::Debug Date: Fri, 03 Apr 2009 12:26:52 GMT
14:24:01 T:4176 M:1034080256   DEBUG: Curl::Debug Expires: -1
14:24:01 T:4176 M:1034059776   DEBUG: Curl::Debug Content-Type: text/html; charset=ISO-8859-1
14:24:01 T:4176 M:1034059776   DEBUG: Curl::Debug Added cookie PREF="ID=584f5f59ff867391:TM=1238761612:LM=1238761612:S=jac-gTqqyv6binmG" for domain google.fr, path /, expire 1301833612
14:24:01 T:4176 M:1034059776   DEBUG: Curl::Debug Set-Cookie: PREF=ID=584f5f59ff867391:TM=1238761612:LM=1238761612:S=jac-gTqqyv6binmG; expires=Sun, 03-Apr-2011 12:26:52 GMT; path=/; domain=.google.fr
14:24:01 T:4176 M:1034059776   DEBUG: Curl::Debug Server: gws
14:24:01 T:4176 M:1034059776   DEBUG: Curl::Debug X-Cache: MISS from .
14:24:01 T:4176 M:1034039296   DEBUG: Curl::Debug Via: 1.0 .:80 (squid)
14:24:01 T:4176 M:1034039296   DEBUG: Curl::Debug Connection: close
14:24:01 T:4176 M:1034018816   DEBUG: Curl::Debug Closing connection #0
14:24:01 T:4176 M:1034018816   DEBUG: FileCurl::Close(07ADFAEC) http://www.google.com/
14:24:01 T:4176 M:1034018816   DEBUG: CThread::staticThread, deleting thread object
14:24:01 T:4176 M:1034018816   DEBUG: CThread::staticThread, deleting thread graphic context
14:24:01 T:4176 M:1034018816   DEBUG: Thread 4176 terminating
14:24:01 T:4272 M:1034338304   DEBUG: CThread::staticThread, deleting thread object
14:24:01 T:4272 M:1034338304   DEBUG: CThread::staticThread, deleting thread graphic context
14:24:01 T:4272 M:1034338304   DEBUG: Thread 4272 terminating
14:24:01 T:4368 M:1034412032  NOTICE: Traceback (most recent call last):
14:24:01 T:4368 M:1034412032  NOTICE:   File "<string>", line 1, in ?
14:24:01 T:4368 M:1034412032  NOTICE: ImportError
14:24:01 T:4368 M:1034412032  NOTICE: :
14:24:01 T:4368 M:1034412032  NOTICE: No module named threading
14:24:01 T:4368 M:1034412032  NOTICE:
14:24:01 T:4368 M:1034412032    INFO: Python script stopped
14:24:01 T:4368 M:1034412032   DEBUG: CThread::staticThread, deleting thread graphic context
14:24:01 T:4368 M:1034412032   DEBUG: Thread 4368 terminating
14:24:01 T:5860 M:1034493952   DEBUG: python thread 1 destructed
14:24:01 T:5860 M:1034493952    INFO: Python, unloading python24.dll because no scripts are running anymore
14:24:01 T:5860 M:1034547200   DEBUG: XBPython::UnloadExtensionLibs, clearing python extension libraries
14:24:01 T:5860 M:1034547200   DEBUG: Win32DllLoader::Unload MSVCR71.dll
14:24:01 T:5860 M:1034547200   DEBUG: Win32DllLoader::Unload SHELL32.dll
14:24:01 T:5860 M:1034547200   DEBUG: Win32DllLoader::Unload ADVAPI32.dll
14:24:01 T:5860 M:1034547200   DEBUG: Win32DllLoader::Unload USER32.dll
14:24:01 T:5860 M:1034547200   DEBUG: Win32DllLoader::Unload KERNEL32.dll
14:24:01 T:4780 M:1036390400   DEBUG: thread start, auto delete: 0
14:24:01 T:4780 M:1036374016   DEBUG: FileCurl::Open(06ADFCB8) http://feeds.feedburner.com/xbmc
14:24:01 T:4780 M:1037058048    INFO: XCURL::DllLibCurlGlobal::easy_aquire - Created session to http://feeds.feedburner.com
14:24:01 T:4780 M:1038737408   DEBUG: Curl::Debug About to connect() to feeds.feedburner.com port 80 (#0)
14:24:01 T:4780 M:1038794752   DEBUG: Curl::Debug   Trying 66.150.96.119...
14:24:01 T:4780 M:1038790656   DEBUG: Curl::Debug Connected to feeds.feedburner.com (66.150.96.119) port 80 (#0)
14:24:01 T:4780 M:1038790656   DEBUG: Curl::Debug GET /xbmc HTTP/1.1
14:24:01 T:4780 M:1038790656   DEBUG: Curl::Debug User-Agent: XBMC/pre-9.04 rUnknown (Windows; Windows XP Professional Service Pack 2 build 2600; http://www.xbmc.org)

Any suggestion ?
Thanks
Reply
#2
Which script? All the scripts and plugins I have are working fine.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
I have downloaded again the svn, and recompiled it again.
And for now, it works fine.
Reply

Logout Mark Read Team Forum Stats Members Help
Python fails with current svn0