cPickle and BOA Constructor hanging!

R

Richard Kessler

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top