-
Notifications
You must be signed in to change notification settings - Fork 34
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
Adapt to new structure of better-bibtex.sqlite #31
Conversation
The current version of zotsite appears to be incompatible with the current version of better bibtex (6.7.140), for the database structure appears to have changed. This patch attempts to adapt to the new database structure of better-bibtex.sqlite
Hi @ailintom, BetterBibtex recently broke for me as well, and a change was made based on its new schema already. I am also on BetterBibtex version 6.7.140 and the program works for me. Will you please confirm you have the latest version of the program by explicitly first uninstalling the version you have, and then getting the latest by doing something like this: pip uninstall zensols.zotsite
pip install --no-cache zensols.zotsite
zotsite --version It should show the current version ( |
Hi, thanks for your response. I have zotsite 0.9.0. It seems that it must have worked in 0.8.2, but was then broken again with this commit 896145b |
I understand, but I cannot reproduce any error. On my side, citation keys are rendering correctly and I can copy http links by citation key, and then go directly to the web site. Will you please give a stack trace and describe in detail issue/error? Does the program fail on the command line or do you see some issue with the actual rendering in the browser of what it generates? |
I run zotsite 0.9.0 (
and I get the following error message
|
Are you sure that you run BetterBibtex version 6.7.140 ? |
@ailintom Re BetterBibtex version: ....yes :) |
Hi @ailintom, After making your modification and regenerating the site, citation keys were generated except for those new entries I added since upgrading BetterBibtex. The program still worked, but reverted to using the item unique keys. As you mentioned, Please update to the latest and test to see if it works. Thanks for your pull request. |
I guess there is a difference between fresh installations of Better Bibtex (as in my case) and old databases converted to the new version. I've tested version 0.9.1, and it works fine for me, thank you |
@ailintom Great to hear it work. It's much simpler as it avoids having to use JSON and navigate through a tree to get the data. Thanks again. |
The current version of zotsite appears to be incompatible with the current version of better bibtex (6.7.140), for the database structure appears to have changed. This patch attempts to adapt to the new database structure of better-bibtex.sqlite