Path Module and Py2exe
michael at foord.net
Fri Mar 26 09:46:26 CET 2004
Thomas Heller <theller at python.net> wrote in message news:<mailman.326.1080117880.742.python-list at python.org>...
> michael at foord.net (Fuzzyman) writes:
> > Has anyone succesfully used py2exe with the (excellent) path module by
> > Jason Orendorff ?
> > I use it regularly but tried to 'bundle' one of my applications that
> > used it with py2exe last night. It failed with a 'maximum recursion
> > depth' error in module finder - the full error report is below. It's
> > obviously got some kind of 'cylical' error in the module importing
> > code - which it isn't catching. I finally managed to isolate path as
> > the source of the problem.
> > A simple script that imports path and just prints path.getcwd() fails
> > with the same error when I try to 'compile' it (I know, I know..)
> > using py2exe.
> > Unfortunately - if unresolvable - this will stop me using the module.
> > I wondered if anyone had seen this before, or had any suggestions as
> > to how to overcome this ?
> That's a yet unresolved bug in modulefinder:
> Possible workarounds are listed here:
Thanks for your help.
Looks like renaming the file is sufficient.... bizzarre....
More information about the Python-list