anytype-heart
anytype-heart copied to clipboard
Export is broken
Have you read a contributing guide?
- [X] I have read CONTRIBUTING.md
- [X] I have searched the existing issues and didn't find any that were similar
- [X] I have considered creating a pull request with fixes instead of a bug report and want to proceed
Current Behavior
When I export, the export dir gets filled with a bunch of stuff, but then Anytype freezes and I get these logs:
01:04:07.340 › {"level":"ERROR","ts":"2024-11-21T01:04:07.340+0200","logger":"anytype-mw-export","msg":"failed to get smartblock type: error unknown change type","objectId":"bafyreigmkayuzhpohdht2ejiahq2uvynpeubh65oi7ueyo4pl6w2kby3se"}
{"level":"ERROR","ts":"2024-11-21T01:04:07.340+0200","logger":"anytype-mw-export","msg":"failed to get smartblock type: error unknown change type","objectId":"bafyreigmkayuzhpohdht2ejiahq2uvynpeubh65oi7ueyo4pl6w2kby3se"}
Expected Behavior
It should work
Steps To Reproduce
- Export a space (with a file? or corrupted object?!)
Environment
- OS: NixOS
- Version: 0.43.1
Anything else?
No response
Exporting a different space led to a freeze with no error
Is this Importing an export? Or creating the initial export? Maybe I misunderstood.
If it is importing,
You have to remove the file index.pb.json inside the export zip file.
Can you try checking if that file exists, and remove it from the zip? It should fix it.
This happens when I click on File > Export Space. Does the Untitled page bug have something to do with this?
ohh, than I am sorry, I misunderstood. The error message is very similar to what happens to me though.
Opening the object mentioned in the log by making an anytype://object link results in a "There was a problem while opening the object, please send the debug info to the support team." and this error in the DevTools console: Error ObjectOpen code: 1 description: build tree: tree does not exist.