Hi,

I've been using pyinstaller successfully for a while but after
upgrading my Linux system from Gutsy to Jaunty, my binary now
produces this error:

...
  File "linux2/build/pyi.linux2/vm-sitesurvey/outPYZ1.pyz/mylibrary", line 454, 
in InvokeMethod
  File "linux2/build/pyi.linux2/vm-sitesurvey/outPYZ1.pyz/httplib", line 874, 
in request
  File "linux2/build/pyi.linux2/vm-sitesurvey/outPYZ1.pyz/httplib", line 891, 
in _send_request
  File "linux2/build/pyi.linux2/vm-sitesurvey/outPYZ1.pyz/httplib", line 818, 
in putrequest
LookupError: unknown encoding: ascii

The script works fine running it directly, only the pyinstaller-
created binary produces the error.  As you can see, there's a
python module I'm using (shown as "mylibrary" above) which uses
httplib and httplib is throwing the LookupError.

Things I have tried:

- pulling the latest pyinstaller from svn
- searching this mailing list and the web for this issue
- adding a hook-httplib.py to the hooks directory that contains:
    hiddenimports = ['encodings.ascii', 'encodings.utf_8']

But none of these have changed the behavior.  Ideas?

Thanks much,

-andy

--~--~---------~--~----~------------~-------~--~----~
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