cPickle.UnpickleableError: Cannot pickle <type 'thread.lock'> objects

Sven Lundblad svlu at enea.se
Wed Mar 5 18:20:15 UTC 2003


Hi all,

While using qmtest 2.0.3, I get the following exception after the first 
test has completed:
Traceback (most recent call last):
   File 
"/view/tb_task003419_svlu/vobs/ose/tefo/qm-2.0.3/lib/qm/qm/test/qmtest.py", 
line 78, in ?
     exit_code = command.Execute()
   File "/lib/qm/qm/test/cmdline.py", line 569, in Execute
   File "/lib/qm/qm/test/cmdline.py", line 1272, in __ExecuteRun
   File "/lib/qm/qm/test/execution_engine.py", line 143, in Run
   File "/lib/qm/qm/test/execution_engine.py", line 320, in 
_CheckForResponse
   File "/lib/qm/qm/test/execution_engine.py", line 450, in _AddResult
   File "/lib/qm/qm/test/pickle_result_stream.py", line 43, in WriteResult
cPickle.UnpickleableError: Cannot pickle <type 'thread.lock'> objects

I'm not sure what is going on here, to my knowledge I haven't put any 
thread.lock objects into the result object. For some reason this worked 
fine with qmtest 1.1.5. Any one that can shred some light on this?

Regards,
Sven Lundblad




More information about the qmtest mailing list