[PEAK] Pickable Components and Python Remote Objects

Sigve Tjora public at tjora.no
Tue Sep 20 12:46:47 EDT 2005

Hi all gurus!

I have used the basic parts of PEAK quite a bit, and have run into some 
problems regarding using PEAK Components with Python Remote Objects 
(Pyro, http://pyro.sourceforge.net/).

The problem is that Components are not pickable:

In [9]: class A(binding.Component):

...: pass


In [10]: a = A()

In [11]: pickle.dumps(a)


pickle.PicklingError Traceback (most recent call last)


PicklingError: Can't pickle <class '__main__.A'>: it's not found as 

Is there a way to make a Component pickable? What are the restrictions 
of that kind of component?

Best regards,

Sigve Tjora

More information about the PEAK mailing list