-
-
Notifications
You must be signed in to change notification settings - Fork 277
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
Database changed during migration #2684
Comments
The database isn't corrupt, but needs a different way to access from outside Zotero. You need to issue
after which you can read the table as The auto-exports have moved to their own tables ( |
I see, I had no idea, thank you for the information, and all your work on Better BibTeX! |
Thanks! There's no way you could have known. |
Where exactly do I issue the following command: ATTACH DATABASE '' AS betterbibtex I'm a "simple" Zotero user, with a stand-alone installation within Windows 11. Because of the issue described by the original poster, zotsite doesn't work anymore. |
Somewhere in https://github.com/plandes/zotsite/blob/master/src/python/zensols/zotsite/betterbib.py, but I'd prefer it if @plandes reaches out for the fix. I'll help with the fix but I have no idea what it does or how it does it, so I won't be testing anything. |
Archaic? Database schemas are a fairly fundamental feature in databases. |
@retorquere I added that previous comment to the wrong issue (sorry for the confusion). Right, schemas are a fundamental feature, but I'm not very familiar with SQLite, never used the feature, or created |
Debug log ID
JZGY99E2-cRXxRwuSbZKf
What happened?
I've written some scripts to use the
better-bibtex.sqlite
file to extract some data. Looks like my better-bibtex updated yesterday, and there seems to be some evidence of database corruption? I get this error on the command line.I haven't noticed anything wrong when I open Zotero, but didn't try to change anything in fear of data loss.
When I recover the database, like this
I can use the recovered.sqlite file just fine using my script.
The text was updated successfully, but these errors were encountered: