Deutsch Open-Source Weblog Resources zopyx group Imprint

Python, Zope, Plone — Development and Consulting

What can we do for you?

Your contact
Andreas Jung will assist you. Please call
+49(0)70 71/79 33 76

Or use our Callback service

On ZODB conflict resolution

— abgelegt unter:

ZODB conflict resolution is a build-in mechanism of the ZODB for resolving (write) conflict errors. Applications can implement application-specific conflict resolution handlers by providing their own _p_resolveConflict() implementation. Most people do not know that conflict resolution with a ZEO environment is carried on the ZEO server and not on the ZEO clients. This implies that related application code must be available and importable by the ZEO server. The bin/zeoserver control file generated by the plone.recipe.zope2zeoserver recipe for zc.buildout does not include your Zope products and other modules within the sys.path and PYTHONPATH of the control file. However there is an easy way to include other packages (as eggs) with sys.path and PYTHONPATH. You just have to use the (undocumented) eggs option within the ZEO server part of your buildout.cfg:

 

[buildout]
parts = zeoserver
eggs = ...

[zeoserver]
recipe = plone.recipe.zope2zeoserver
eggs = ${buildout:eggs}

 

Artikelaktionen

Testimonial

Since more than 5 Jahre we are using various open-source products of ZOPYX and ask Andreas Jung for his expertise in our of development projects.

Lars Walter, CEO, Novareto GmbH, Fürth

 
ZOPYX Ltd., Charlottenstr. 37/1, D-72070 Tübingen, Germany
Phone +49(0)70 71/79 33 76, Fax +49(0)70 71/7 93 68 40, Email: info@zopyx.com
Contact form Callback service Print page