Open GoogleCodeExporter opened 9 years ago
Can you post the exception stack trace?
Original comment by xiaof...@google.com
on 24 Nov 2014 at 11:28
In the first case (Step 2).
Traceback (most recent call last):
File "test.py", line 11, in <module>
cPickle.dumps(obj)
cPickle.PicklingError: Can't pickle <class 'libs.pblib.obj_pb2.ObjectA'>:
import of module libs.pblib.obj_pb2 failed
In the third case (Step 4)
Traceback (most recent call last):
File "test.py", line 11, in <module>
cPickle.dumps(obj)
cPickle.PicklingError: Can't pickle <class 'obj_pb2.ObjectA'>: import of module
obj_pb2 failed
I should also note that this seemed to be introduced in 2.6. No exceptions are
raised when using 2.5.
Original comment by dbertoui...@gmail.com
on 24 Nov 2014 at 11:36
Original issue reported on code.google.com by
dbertoui...@gmail.com
on 24 Nov 2014 at 9:10Attachments: