[GH-ISSUE #1856] [Bug] #724

Closed
opened 2026-03-23 20:40:15 +00:00 by mirror · 3 comments
Owner

Originally created by @saegl5 on GitHub (Feb 13, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/1856

Originally assigned to: @LucasXu0 on GitHub.

Bug Description

Opened a board, but received an error:
msg: "OTError { code: IncompatibleLength, msg: "Expected: 1, but received: 0 " }"

How to Reproduce

Open a board

Expected Behavior

Board opens

Operating System

macOS 13.2

AppFlowy Version(s)

0.1.0.1

Screenshots

No response

Additional Context

My board contained blocks with lots of text

Originally created by @saegl5 on GitHub (Feb 13, 2023). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/1856 Originally assigned to: @LucasXu0 on GitHub. ### Bug Description Opened a board, but received an error: \ msg: "OTError { code: IncompatibleLength, msg: \"Expected: 1, but received: 0 \" }" ### How to Reproduce Open a board ### Expected Behavior Board opens ### Operating System macOS 13.2 ### AppFlowy Version(s) 0.1.0.1 ### Screenshots _No response_ ### Additional Context My board contained blocks with lots of text
Author
Owner

@saegl5 commented on GitHub (Feb 13, 2023):

I tried duplicating the board, but nothing happens.
I also tried deleting and restoring the board, but the error persists.
Now, I do back up the data file frequently, however I don't know how to properly restore such a file.
Altogether, I am in limbo~~~

<!-- gh-comment-id:1428784745 --> @saegl5 commented on GitHub (Feb 13, 2023): I tried duplicating the board, but nothing happens. \ I also tried deleting and restoring the board, but the error persists. \ Now, I do back up the data file frequently, however I don't know how to properly restore such a file. Altogether, I am in limbo~~~
Author
Owner

@saegl5 commented on GitHub (Mar 6, 2023):

update: I was able to restore an older version of the board from an older backup of the data directory
at least to me, this isn't a solution, but it is better than nothing

a potential solution could have been if the feature, "Restore corrupt data from snapshots," introduced in v0.0.9.1 worked for me, given that I use v0.1.0.1
...perhaps the feature is not as seamless as I expected it to be?

a potential fallback solution---thinking ahead now---could be not to have to quit the application for macs to be able to backup the data directory in time machine

<!-- gh-comment-id:1455570135 --> @saegl5 commented on GitHub (Mar 6, 2023): update: I *was* able to restore an older version of the board from an older backup of the data directory at least to me, this isn't a solution, but it *is* better than nothing a potential solution could have been if the feature, "Restore corrupt data from snapshots," introduced in [v0.0.9.1](https://github.com/AppFlowy-IO/AppFlowy/releases/tag/0.0.9.1) worked for me, given that I use v0.1.0.1 \ ...perhaps the feature is not as seamless as I expected it to be? a potential fallback solution---thinking ahead now---could be not to have to quit the application for macs to be able to backup the data directory in time machine
Author
Owner

@annieappflowy commented on GitHub (Mar 9, 2023):

@saegl5 , thanks so much for all the hard work and feedback. We'll incorporate your input to see how this solution can be improved.

<!-- gh-comment-id:1461286567 --> @annieappflowy commented on GitHub (Mar 9, 2023): @saegl5 , thanks so much for all the hard work and feedback. We'll incorporate your input to see how this solution can be improved.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#724
No description provided.