Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export is broken #1847

Open
3 tasks done
axelkar opened this issue Nov 20, 2024 · 4 comments
Open
3 tasks done

Export is broken #1847

axelkar opened this issue Nov 20, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@axelkar
Copy link

axelkar commented Nov 20, 2024

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • 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

  1. Export a space (with a file? or corrupted object?!)

Environment

- OS: NixOS
- Version: 0.43.1

Anything else?

No response

@axelkar axelkar added the bug Something isn't working label Nov 20, 2024
@axelkar
Copy link
Author

axelkar commented Nov 20, 2024

Exporting a different space led to a freeze with no error

@ra3orblade ra3orblade transferred this issue from anyproto/anytype-ts Nov 21, 2024
@alexjp
Copy link

alexjp commented Nov 25, 2024

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.

@axelkar
Copy link
Author

axelkar commented Nov 26, 2024

This happens when I click on File > Export Space. Does the Untitled page bug have something to do with this?

@alexjp
Copy link

alexjp commented Nov 26, 2024

ohh, than I am sorry, I misunderstood. The error message is very similar to what happens to me though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants