Chris Spencer wrote:
I noticed that if a ZEOServer client doesn't have the definition for an object's class, it loads it as a broken object. Is there any way to fix the broken object by obtaining the class source from the server?


Others have commented on the status quo that your client must contain the correct code classes for your pickles.

However your question of loading code from a remote location is valid, and another Python remote object system (Pyro) that can be configured, with some restrictions, to load code over the network:

http://pyro.sourceforge.net/

in particular, see the section on "mobile code":

http://pyro.sourceforge.net/manual/7-features.html#mobile

I think twisted has a similar module but I don't know if it does the mobile code concept.

I've never heard of anyone doing it, but there might be some synergy with combining pyro's mobile code with ZODB and ZEO.

-Michel

_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to