py2exe can't compile this program



Hi all. I tried to compile this little source with py2exe:
http://pastebin.com/350143
....but once I execute the program I encount this error:

C:\src\dist>sniffer.exe
Traceback (most recent call last):
File "sniffer.py", line 24, in ?
File "sniffer.py", line 18, in get_int
LookupError: no codec search functions registered: can't find encoding

Any idea? :-\





.



Relevant Pages

  • py2exe cant compile this program
    ... I tried to compile this little source with py2exe: ... > ...but once I execute the program I encount this error: ...
    (comp.lang.python)
  • Re: problem with special built-in method __contains__,
    ... i got error..after execute ... Traceback: ... They are bound to other funtionality in Python. ...
    (comp.lang.python)
  • Problem with exe from py2exe
    ... My script runs fine with python, but the .exe produced with py2exe ... crashes out with: ... Traceback: ... AttributeError: ...
    (comp.lang.python)
  • Re: wxEVT_SCROLL_ENDSCROLL
    ... Jack Holt wrote: ... Traceback: ... made with py2exe. ... Looking for last minute shopping deals? ...
    (comp.lang.python)
  • using pyopengl 3.0.0b1 with py2exe
    ... How can I make an exe that use the new pyopengl 3.0.0b1 ??? ... I use py2exe 0.6.6 ... py2exe correctly detect it and include it in the app but I get this ... Traceback: ...
    (comp.lang.python)