cPickle and BOA Constructor hanging!

Discussion in 'Python' started by Richard Kessler, Feb 11, 2004.

  1. 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
     
    Richard Kessler, Feb 11, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tom
    Replies:
    1
    Views:
    1,227
  2. klappnase

    Boa-Constructor and linux-mouse

    klappnase, Jul 30, 2003, in forum: Python
    Replies:
    0
    Views:
    325
    klappnase
    Jul 30, 2003
  3. Stefan Behrens
    Replies:
    0
    Views:
    373
    Stefan Behrens
    Aug 12, 2003
  4. flupke
    Replies:
    8
    Views:
    467
  5. Anbeyon
    Replies:
    1
    Views:
    502
Loading...

Share This Page