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

SQLiteDB error: Error: Cannot add #datascript/Datom [789 :block/uuid #uuid "00000002-1454-9866-4100-000000000000" 536870913 true] because of unique constraint: (#datascript/Datom [793 :block/uuid #uuid "00000002-1454-9866-4100-000000000000" 536870913 true]) #160

Open
2 tasks done
niko-novice opened this issue Nov 5, 2024 · 3 comments

Comments

@niko-novice
Copy link

Search first

  • I searched and no similar issues were found

What Happened?

I tried to reload my logseq db database sqlite.db and following error happened:

"SQLiteDB error: Error: Cannot add #datascript/Datom [789 :block/uuid #uuid "00000002-1454-9866-4100-000000000000" 536870913 true] because of unique constraint: (#datascript/Datom [793 :block/uuid #uuid "00000002-1454-9866-4100-000000000000" 536870913 true])"

Reproduce the Bug

  1. Import
  2. Sqlite
  3. select sqlite.db file
  4. error occurs

Expected Behavior

No response

Screenshots

No response

Desktop or Mobile Platform Information

Windows 11.
Using test.logseq.com (logseqdb version logseq)

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)
@logseq-cldwalker logseq-cldwalker transferred this issue from logseq/logseq Nov 6, 2024
@logseq-cldwalker
Copy link
Contributor

Hi. I've transferred your issue to https://github.com/logseq/db-test/issues as db version issues are reported in this repo

@tiensonqin
Copy link
Contributor

@niko-novice Thank you for the report.
Which revision are you using?
You can get it by clicking Settings > "0.10.10".
image

@niko-novice
Copy link
Author

niko-novice commented Nov 8, 2024

@niko-novice Thank you for the report.
Which revision are you using?
You can get it by clicking Settings > "0.10.10".
image

0fcbe9f
IMG-20241108-WA0001.jpg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants