freeze utility and pickle

Aki Niimura akineko at
Thu Aug 21 16:45:25 CEST 2003

Hello everyone,

I'm having a problem "freezing" my program using under Solaris.
My program works fine if I invoke it as a Python script.
However, it generates a LookupError when I started the "frozen" program.

evelyn neko [33] >> websc
Traceback (most recent call last):
  File "", line 312, in ?
  File "", line 171, in main
    account = Account()
  File "", line 65, in __init__
    dict = pickle.loads(binascii.a2b_base64(passcode_encoded))
  File "/usr/local/lib/python2.3/", line 1394, in loads
    return Unpickler(file).load()
  File "/usr/local/lib/python2.3/", line 872, in load
  File "/usr/local/lib/python2.3/", line 985, in load_string
LookupError: unknown encoding: string-escape

I had this problem with Python 2.2.3 and I was hoping this would be gone
in the new release, Python 2.3 but it turned out otherwise.

It seems some package is missing from the list of modules to be included
in the freeze process. I tried to figure out which is missing.
But due to my shallow knowledge, I failed to track down the culprit.

Can anybody give me a clue where to look for?

Any suggestions are highly appreciated.

Best regards,
Aki Niimura

More information about the Python-list mailing list