Created
April 10, 2014 18:16
-
-
Save ivanelson/10408571 to your computer and use it in GitHub Desktop.
Pickled error with ctypes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "teste.py", line 9, in <module> | |
ecf=base.Base() | |
File "/u1/caixa.manaus/pyECF/base.py", line 86, in __init__ | |
self._lib() | |
File "/u1/caixa.manaus/pyECF/base.py", line 100, in _lib | |
pickle.dump(self.iDrv, f) | |
File "/usr/lib/python2.6/pickle.py", line 1362, in dump | |
Pickler(file, protocol).dump(obj) | |
File "/usr/lib/python2.6/pickle.py", line 224, in dump | |
self.save(obj) | |
File "/usr/lib/python2.6/pickle.py", line 331, in save | |
self.save_reduce(obj=obj, *rv) | |
File "/usr/lib/python2.6/pickle.py", line 419, in save_reduce | |
save(state) | |
File "/usr/lib/python2.6/pickle.py", line 286, in save | |
f(self, obj) # Call unbound method with explicit self | |
File "/usr/lib/python2.6/pickle.py", line 649, in save_dict | |
self._batch_setitems(obj.iteritems()) | |
File "/usr/lib/python2.6/pickle.py", line 663, in _batch_setitems | |
save(v) | |
File "/usr/lib/python2.6/pickle.py", line 295, in save | |
self.save_global(obj) | |
File "/usr/lib/python2.6/pickle.py", line 748, in save_global | |
(obj, module, name)) | |
pickle.PicklingError: Can't pickle <class 'ctypes._FuncPtr'>: it's not found as ctypes._FuncPtr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment