TypeError: a class that defines __slots__ without defining __getstate__ cannot be pickled
Germán Aracil Boned <[email protected]>
| Newsgroups | gmane.comp.python.general.castellano |
|---|---|
| Organization | Tecnoxarxa |
| Message-ID | <[email protected]> |
Hola
He actualizado a python2.5 con lenny, y me he encontrado con que mis
programas han dejado de funcionar. Sabe alguien como podría resolver
esta nueva incompatibilidad ?
He buscado por ahí, pero no he visto nada convincente que me ayude a
resolver el problema. A alguien le ha pasado al actualizar de 2.4 a 2.5 ?
[Sat Aug 29 15:18:10 2009] [error] [client 88.2.210.218] Premature end
of script headers: /home/zoonsuite/webadmin/cgi-bin/pbx/index.py
Traceback (most recent call last):
(self.sid,self.user,",".join(self.groups),self.context,self.ext,self.accountcode,self.root,cPickle.dumps(self.sdata),cPickle.dumps(self.menus),self.crypt.gen_pass()))
File "/usr/lib/python2.5/copy_reg.py", line 76, in _reduce_ex
raise TypeError("a class that defines __slots__ without "
TypeError: a class that defines __slots__ without defining __getstate__
cannot be pickled
[Sat Aug 29 15:20:57 2009] [error] [client 88.2.210.218] Premature end
of script headers: /home/zoonsuite/webadmin/cgi-bin/pbx/index.py
gracias !!!!!
--
-
-------------------------------------
Germán Aracil Boned
Director de Sistemas
Zoon Suite S.L.
www.zoonsuite.com
963146030 - General
963146031 - Asistencia de incidencias
963146032 - FAX
-------------------------------------
-
_______________________________________________
Lista de correo Python-es
http://listas.aditel.org/listinfo/python-es
FAQ: http://listas.aditel.org/faqpyes