gpt4 book ai didi

plone - 冲突错误 : database conflict error

转载 作者:行者123 更新时间:2023-12-04 20:18:20 24 4
gpt4 key购买 nike

任何人都可以向我解释那个错误 - 以及我如何修复它?

我们用:

  • Plone 4
  • Zope 2.12.19
  • ZEO
  • 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 实例的所有鸡蛋,以确保您拥有所有冲突解决代码。

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

    关于plone - 冲突错误 : database conflict error,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9614420/

    24 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com