Plone ConflictError:数据库冲突错误

Plone ConflictError:数据库冲突错误,plone,zope,Plone,Zope,谁能给我解释一下这个错误,以及我如何修复它 我们使用: 普隆4号 佐佩2.12.19 泽奥 zodb临时存储 错误日志 Site Error An error was encountered while publishing this resource. Sorry, a site error occurred. Traceback (innermost last): Module ZPublisher.Publish, line 239, in publish_module_sta

谁能给我解释一下这个错误,以及我如何修复它

我们使用:

  • 普隆4号
  • 佐佩2.12.19
  • 泽奥
  • zodb临时存储
错误日志

Site Error

An error was encountered while publishing this resource.

Sorry, a site error occurred.

Traceback (innermost last):

Module ZPublisher.Publish, line 239, in publish_module_standard
Module ZPublisher.Publish, line 197, in publish
Module ZPublisher.Publish, line 197, in publish
Module ZPublisher.Publish, line 197, in publish
Module ZPublisher.Publish, line 173, in publish
Module plone.app.linkintegrity.monkey, line 17, in zpublisher_exception_hook_wrapper
Module ZPublisher.Publish, line 135, in publish
Module Zope2.App.startup, line 291, in commit
Module transaction._manager, line 93, in commit
Module transaction._transaction, line 322, in commit
Module transaction._transaction, line 419, in _commitResources
Module ZODB.Connection, line 767, in tpc_vote
Module ZEO.ClientStorage, line 1068, in tpc_vote
Module ZEO.ClientStorage, line 905, in _check_serials

ConflictError: database conflict error (oid 0x08, class Products.Transience.Transience.Length2, serial this txn started with 0x0394fddba7126fbb 2012-03-08 07:23:39,157504, serial currently committed 0x0394fddbb0a4cb22 2012-03-08 07:23:41,400873)

Troubleshooting Suggestions

The URL may be incorrect.
The parameters passed to this resource may be incorrect.
A resource that this resource relies on may be encountering an error.

For more detailed information about the error, please refer to the error log.

If the error persists please contact the site maintainer. Thank you for your patience.
我试图修复Data.fs,没有任何错误


提前感谢。

当两个用户试图同时更新同一对象(通常是目录数据结构的一部分)时,会发生冲突错误,系统无法解决冲突。您应该确保ZEO服务器包含来自Zope实例的所有鸡蛋,以确保您拥有所有冲突解决代码


如果您在简单视图上看到这些,则可能意味着您有一些代码在呈现该视图时更新数据库。这对于ZODB不是一个好主意。

如果事务无法完成,可能会发生数据库冲突错误。这是开发实例还是生产实例?从什么时候开始出现错误?您不久前做了哪些更改?这是一个生产服务器错误,随机发生-当用户打开浏览器视图、一个简单文件夹或一个编辑器在其上工作时…@user966660-在这个问题上运气好吗?我正在处理完全相同的问题-这似乎与身份验证/会话有关(0x08 oid在会话管理器的临时存储中)确保您的ZEO服务器包含来自Zope实例的所有鸡蛋-这是必需的吗?没有找到任何相关的文档。说明:注意:Data.fs保存在ZEO服务器中,所有产品都安装在客户端。您是对的,在plone.recipe.zeoserver的构建文档中找到了它-“eggs-如果您需要将其他包作为eggs包含,则设置它,例如,在ZEO服务器端提供应用程序代码以执行冲突解决(通过_p_resolveConflict()在Products.Transience中有这样一个处理器,现在是Zope2.12的一部分egg@LaurenceRowe-当你说“一些在呈现该视图时更新数据库的代码”时,你是说ZODB吗?@Ravi是的,我说的数据库是指ZODB。