gpt4 book ai didi

ios - 如何处理同步错误: "Bad changeset received: Assertion failed: left().link_target_table_ndx == right().link_target_table_ndx"

转载 作者:搜寻专家 更新时间:2023-10-31 19:33:12 24 4
gpt4 key购买 nike

我在登录时在对象服务器控制台上收到此错误,无法再同步。同一个用户帐户之前是有效的。

2016-12-13T13:20:52.858Z - error: sync-server: Connection[6]: Session[1]: Bad changeset received: Assertion failed: left().link_target_table_ndx == right().link_target_table_ndx (message_type='upload')

2016-12-13T13:20:52.858Z - info: sync-server: Connection[6]: Session[1]: Session terminated (session_ident=1).

2016-12-13T13:20:52.858Z - info: sync-server: Connection[6]: Sending: ERROR(error_code=212, message_size=22, try_again=0, session_ident=1)

2016-12-13T13:20:52.859Z - info: sync-server: Connection[6]: Connection closed by client: End of input

这是什么意思?我该如何解决?

编辑:我尝试增加模式版本,然后我得到:

IMPORTANT: if you see this error, please send this log to help@realm.io.

2016-12-13 14:37:07.407848 proj[34851:10576594] Sync: Opening Realm file: /var/mobile/Containers/Data/Application/65681835-AE09-4E4C-830A-BA7A8ADF0D69/Documents/realm-object-server/b77ccd68258d68251aafb1bac5d8d653/realm%3A%2F%2F192.168.0.12%3A9080%2F%7E%2Fz

2016-12-13 14:37:07.408088 proj[34851:10576378] /Users/x/y/z/Pods/Realm/Realm/RLMClassInfo.mm:97: [realm-core-2.2.0] Assertion failed: rlmSchema.objectSchema.count == schema.size()

(发送到 help@realm.io)

最佳答案

这意味着您有两个模式,其中一个字段可以为 null 而另一个字段不能为 null(当然,错误可能会更好)。这是 Swift/Java 模型的常见错误,因为 Java 默认可以为空,而 Swift 字符串则不能。

关于ios - 如何处理同步错误: "Bad changeset received: Assertion failed: left().link_target_table_ndx == right().link_target_table_ndx",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41121987/

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