Indeed, strange, and imho it doesn't look like a typo (I have to admit I don't know the mf module well enough to really be sure though). I wasn't able to reprouce the issue (XP, Python 2.6.5). Which version of Python is running on the XP machine?

Am 25.04.2010 07:30, schrieb Victor Lin:
It's a strange error, my OS is windows7, the last revision 825 works
fine on my computer.  But it is broken on another computer which is
running windows XP.  Here we run the Configure.py,  and get a
exception.  There is no such property "pathex" of module sys.  I think
it might be a typo.  Here is the traceback:

C:\pyinstaller-py26>python Configure.py
I: computing EXE_dependencies
I: Finding TCL/TK...
Traceback (most recent call last):
   File "Configure.py", line 315, in<module>
     main(opts.configfile)
   File "Configure.py", line 284, in main
     test_TCL_TK(config)
   File "Configure.py", line 86, in test_TCL_TK
     a.analyze_r('Tkinter')
   File "C:\pyinstaller-py26\mf.py", line 460, in analyze_r
     newnms = self.analyze_one(name, nm, imptyp, level)
   File "C:\pyinstaller-py26\mf.py", line 519, in analyze_one
     mod = self.doimport(nm, ctx, fqname)
   File "C:\pyinstaller-py26\mf.py", line 581, in doimport
     mod = parent.doimport(nm)
   File "C:\pyinstaller-py26\mf.py", line 755, in doimport
     mod = self.subimporter.getmod(nm)
   File "C:\pyinstaller-py26\mf.py", line 349, in getmod
     mod = owner.getmod(nm)
   File "C:\pyinstaller-py26\mf.py", line 142, in getmod
     mod = self._modclass()(nm, pth, co)
   File "C:\pyinstaller-py26\mf.py", line 719, in __init__
     self.scancode()
   File "C:\pyinstaller-py26\mf.py", line 726, in scancode
     self.binaries = _resolveCtypesImports(self.binaries)
   File "C:\pyinstaller-py26\mf.py", line 1051, in
_resolveCtypesImports
     old = _savePaths()
   File "C:\pyinstaller-py26\mf.py", line 1036, in _savePaths
     os.environ[envvar] = os.pathsep.join(sys.pathex)
AttributeError: 'module' object has no attribute 'pathex'

With sys.path, it works correctly on the XP computer.

Victor Lin.

--
Florian Höch

--
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to