OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Python => Topic started by: zmiq2 on May 20, 2005, 10:44:28 am

Title: Problem With Pickle Module - Solved
Post by: zmiq2 on May 20, 2005, 10:44:28 am
Hi,

when loading an already save variable using pickle, I get the following error:

Code: [Select]
 File "nm.1.3.py", line 799, in __init__
    sett = pickle.load(fp)
  File "/usr/lib/python2.4/pickle.py", line 1390, in load
    return Unpickler(file).load()
  File "/usr/lib/python2.4/pickle.py", line 872, in load
    dispatch[key](self)
  File "/usr/lib/python2.4/pickle.py", line 985, in load_string
    self.append(rep.decode("string-escape"))
LookupError: no codec search functions registered: can't find encoding

Does anyone know what python-* must I install to make it work?

TIA
Title: Problem With Pickle Module - Solved
Post by: zmiq2 on May 21, 2005, 05:11:07 pm
solved:

it seems that python-codecs is also needed for pickle to run.

1) thanks to zecke for his help

2) python-pickle package should have python-codecs as a requisite ?