cPickle and BOA Constructor hanging!

Richard Kessler richard at logixlab.com
Tue Feb 10 23:00:52 EST 2004


I am attempting a GUI using BOA Constructor. I have some simple code to
pickle an object, but for some reason when I use cPickle it hangs the
system, but pickle works just fine. I do not have a clue why cPickle will
not work.

The code is

    myObj = MyObject()
    myObj.SetSomeProperties
    f = open("my file name",'w')
    cPickle.dump(myObj,f)

on the cPickle line, all things end, it just goes into the twilight
zone...no errors reported to help diagnose. If I replace cPickle with
pickle, I am OK.

Many thanks in advance if anyone can help me understand the problem.

Richard Kessler





More information about the Python-list mailing list