Closed mjthoraval closed 1 year ago
I can replicate the popup, but not the slowdown. If I do 50 it's near instantaneous. I'll see what I can add for logging for diagnosis.
In the short term you can get rid of the popup by setting the warning threshold to 0
.
Thank you. I have changed the setting and the warning is not showing anymore. But the refresh is still very slow.
I think I know why and I think I have a solution for that, but that will have to wait until the weekend.
I have received an email to install a test build:
Install in Zotero by downloading test build 6.7.122.2664.5137
After installing the test build and restarting Zotero, the righ-click menu of BBT has disappeared:
Same for other BBT menus, so I cannot even send you a Debug log ID. It seems that the menus apear for a short time just after starting, but then disappear. I was able to get this one before it disappeared: IR68ZEDM-dVSV5ElK07C0
The report errors from Zotero gives:
1695925446509 addons.xpi WARN Checking C:\Program Files\Zotero\distribution\extensions for addons
[JavaScript Error: "NS_NOINTERFACE: " {file: "resource://gre/modules/ComponentUtils.jsm" line: 90}]
createInstance@resource://gre/modules/ComponentUtils.jsm:90:36
1695925447701 addons.xpi WARN Addon with ID undefined already installed, older version will be disabled
[JavaScript Error: "Error: Addon must include an id, version, and type" {file: "resource://gre/modules/addons/XPIProvider.jsm" line: 1710}]
[JavaScript Error: "Error: Addon must include an id, version, and type" {file: "resource://gre/modules/addons/XPIProvider.jsm" line: 1710}]
[JavaScript Error: "NS_ERROR_NOT_AVAILABLE" {file: "resource://gre/modules/PartitioningExceptionListService.jsm" line: 92}]
[JavaScript Error: "uncaught exception: undefined"]
[JavaScript Error: "NotFoundError: Could not get children of file(C:\Users\mjthoraval\AppData\Roaming\Zotero\Zotero\Crash Reports\events) because it does not exist"]
openWindowPrompt@resource://gre/modules/Prompter.jsm:1226:17
openPrompt@resource://gre/modules/Prompter.jsm:1067:12
openPromptSync@resource://gre/modules/Prompter.jsm:1046:10
alert@resource://gre/modules/Prompter.jsm:1329:17
alert@resource://gre/modules/Prompter.jsm:80:7
alert@jar:file:///C:/Users/mjthoraval/AppData/Roaming/Zotero/Zotero/Profiles/v494ek1z.default/extensions/better-bibtex@iris-advies.com.xpi!/content/better-bibtex.js:7312:15
sendAsync@jar:file:///C:/Users/mjthoraval/AppData/Roaming/Zotero/Zotero/Profiles/v494ek1z.default/extensions/better-bibtex@iris-advies.com.xpi!/content/better-bibtex.js:7341:16
appName => Zotero, version => 7.0.0-beta.42+2db19ad4c, os => Windows 10.0 19045, locale => en-GB, extensions => Better BibTex for Zotero (6.7.122.2664.5137, extension), Open PDF for Zotero (0.0.8, extension, disabled), Zotero PDF Preview (1.0.0-4, extension, disabled), Translate for Zotero (1.1.0-18, extension, disabled), Zotero Better Authors (3.4.0, extension, disabled), Better Notes for Zotero (1.1.4-25, extension, disabled)
That wasn't supposed to go out, please install the release version.
Thanks, it is back to the previous state.
:robot: this is your friendly neighborhood build bot announcing test build 6.7.122.2664.5155 ("283 is a lot of items")
Install in Zotero by downloading test build 6.7.122.2664.5155, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".
It seems to be faster for a few hundeds items. But if I try for all items in my library, nothing happens. Debug log ID: CDRAH8MD-euc/6.7.122.2664.5155-7
Or it is probably just an impression that nothing is happening. If I look at the number of lines in the Debug Output Logging, il continues to go up very quickly. And after some time, Zotero still becomes unresponsive.
Great! After a few minutes, the Refresh of my whole library is finally successful. The total time is good I think. But adding some kind of progress indication would make it less confusing probably.
Anyway, the problem is solved for me. Thank you very much! Let me know if I can help do more testing, or just close this issue?
I'm going to add the progress meter tomorrow, would appreciate you testing it - I don't have a library this size to test with.
:robot: this is your friendly neighborhood build bot announcing test build 6.7.122.2664.5157 ("progress meter")
Install in Zotero by downloading test build 6.7.122.2664.5157, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".
:robot: this is your friendly neighborhood build bot announcing test build 6.7.122.2664.5159 ("cleanup")
Install in Zotero by downloading test build 6.7.122.2664.5159, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".
:robot: this is your friendly neighborhood build bot announcing test build 6.7.122.2664.5161 ("localized string")
Install in Zotero by downloading test build 6.7.122.2664.5161, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".
I have tested a bit the test build 6.7.122.2664.5161.
If I change between the two citation key formulas below, I get a refresh of my full library (15k+) in around 6 minutes.
The notification that something is still running is nice. Zotero still becomes unresponsive for the large part of the refresh. But at least I know that it will finish in a reasonable time. Refreshing citation keys is not something I will do every day, so the current processing time is fine.
Thanks!
Debug log ID
4Z5T67T5-euc/6.7.122-7
What happened?
I would like to change the format of the Citation Keys in my library. After modifying the Citation Key formula, I understand that I need to do a Refresh on all items in my library.
Just after triggering the Refresh, I get an empty popup window: What is supposed to be in there?
For 10 items, that seems to work fine. But already from 20 items, Zotero becomes unresponsive. It eventually manages to finish after some time. Same for 100, successful after a longer time, increasing with the number of items to refresh.
The problem is that I would like to refresh my whole library, with 15k+ items. I could probably just wait long enough that everything is finished. But if I give up and close Zotero, none of the Citation Keys are changed when I restart Zotero. It would be nice if:
Thank you very much for this plugin!