Resend - the file extensions were blacklisted
-------- Original Message --------
Subject: Queer thing - an error report
Date: Mon, 25 Apr 2011 14:44:31 +0100
From: Robert E A Harvey <[email protected]>
To: [email protected]
OK, I have Python 3.2 installed in D:\Python3.2\
I downloaded and ran the msi installer for cxfreeze for Python 3.2,
and it asked if it should use the location from the registry. I told
it to.
I have cxfreeze and cxfreeze.bat in D:\Python3.2\Scripts
I copied cxfreeze.bat to my working directory, sorted out the drive
letters within it, and ran it against one of my Python3 programmes.
It produced a whole bunch of stuff in D:\Python3.2\code\dist
(including TCL and TK subdirectories).
When I run the .exe from the ...\dist directory a dos box flashes up
and goes away again. If I run it from the command line, I get the
following:
-----------------------------------------------------------------------------------------------------------------------
C:\Program Files\Console>pushd D:\Python3.2\code\dist
D:\Python3.2\code\dist>ka-client
Traceback (most recent call last):
File
"D:\Python3.2\lib\site-packages\cx_Freeze\initscripts\Console3.py", line
27, in <module>
exec(code, m.__dict__)
File "ka-client.pyw", line 7, in <module>
File "D:\Python3.2\lib\threading.py", line 7, in <module>
from traceback import format_exc as _format_exc
File "C:\Python32\lib\traceback.py", line 3, in <module>
File "C:\Python32\lib\linecache.py", line 10, in <module>
File "C:\Python32\lib\tokenize.py", line 27, in <module>
ImportError: No module named re
-------------------------------------------------------------------------------------------------------------------------
There is no directory C:\Python32 on my machine. Of course.
Line 7 of ka-client.pyw says:
---------------------------------------------------
from threading import Event, Thread
--------------------------------------------------
The module name "re" does not occur in my code. I suspect it is
truncated.
------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been
demonstrated beyond question. Learn why your peers are replacing JEE
containers with lightweight application servers - and what you can gain
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
cx-freeze-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users