"Jimmy Retzlaff" <jimmy@...> writes:
> Wilk <wilk-ml@...> writes:
>> Thomas Heller <theller@...> writes:
>>> Wilk <wilk-ml@...> writes:
>>>> Traceback (most recent call last):
>>>> File "build_transphoto.py", line 35, in ?
>>>> File "c:\python23\lib\modulefinder.py", line 273, in load_module
>>>> co = compile(fp.read()+'\n', pathname, 'exec')
>>>> TypeError: compile() expected string without null bytes
>>> It seems modulefinder picks up a module which contains null bytes in
>>> it's text. You should find out the value of pathname in the code
>>> and the value that fp.read() returns.
>> Finaly i could find that it was because of EasyDialogs, that i don't
>> use, so i just removed it.
> I assume you are referring to EasyDialogs for Windows. As the author I
> would be very interested in fixing any conflict with py2exe. I assemble
> applications that use EasyDialogs almost daily using py2exe and I've
> never seen such a problem. Was it the version of EasyDialogs released a
> little over a week ago, or the release that's been around for several
> months (there have only been two public releases). I can't find any null
> bytes in Python files in the current release, and there shouldn't have
> been any in the first release either.
> Can you still reproduce this problem? Can you reduce it to something you
> can send to me?
Yes, it was with EasyDialogs for windows, version 1.16.0. What can i
send you ? It can append with only one line : import getpass, and when i
remove EasyDialogs it works again...
We can continue to discuss this in private mail if you want.
William - http://flibuste.net