[ZODB-Dev] Maybe stupid question...
   
    Christian Reis
     
    kiko@async.com.br
       
    Fri, 14 Mar 2003 15:33:28 -0300
    
    
  
On Thu, Mar 13, 2003 at 06:41:41PM +0100, Paolo Invernizzi wrote:
>   File "c:\progra~1\python23\lib\pickle.py", line 760, in save_global
>     raise PicklingError(
> pickle.PicklingError: Can't pickle <class ui_wx.wxPython.controls.wxChoice
> at 0x014F4CF0>: it's not found as ui_wx.wxPython.controls.wxChoice
> 
> first) I've switched from cPickle to pickle for better trace in others
> problems...
> second) wxPython.wx is installed correctly... It's importable from a plain
> interpreter...
I wonder if the underlying problem here is that you're trying to pickle
a Choice control. Why do you want to pickle one of those?
We use GTK+ (as PyGTK) in our app and we make sure none of the
Persistent objects hold references to UI controls.
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL