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

BBT hangs on startup at "translators" stage #2880

Open
dcconsta opened this issue May 15, 2024 · 22 comments
Open

BBT hangs on startup at "translators" stage #2880

dcconsta opened this issue May 15, 2024 · 22 comments

Comments

@dcconsta
Copy link

Debug log ID

D1359076965

What happened?

On startup, BBT fails to initialize completely (hangs at "translators"). The interface is partially responsive (existing items remain accessible) but it is impossible to add new items.
BBT_hang
Aside from the D... version, I cannot generate a debug report (either from the right-click menu or with file.io), so I'm attaching the locally saved output (obtained by restarting Zotero with debugging enabled):
Debug Output.txt

Repository owner deleted a comment from github-actions bot May 15, 2024
retorquere added a commit that referenced this issue May 15, 2024
retorquere added a commit that referenced this issue May 15, 2024
Copy link

🤖 this is your friendly neighborhood build bot announcing test build 6.7.192.2880.6254 ("Merge branch 'master' into gh-2880")

This update may name other issues, but the build just dropped here is for you; it just means problems already fixed in other issues have been folded into the work we are doing here. Install in Zotero by downloading test build 6.7.192.2880.6254, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

@retorquere
Copy link
Owner

Can you try again with build 6254 and attach a new log?

Does the file.io option not work for you, or does it not appear?

@dcconsta
Copy link
Author

Here is the new log, with build 6254. I see no changes in behavior (BBT still hangs at translators).
Debug Output.txt
The option Help -> Send debug log to file.io -> Better Bibtex does appear, but clicking it has no visible effect.

@retorquere
Copy link
Owner

It wasn't a solution, sorry, it was just for diagnosis. A new build will drop soon, still just for diagnosis, I expect that will put up a notification saying "Failed to load translators", with a reason, I need that reason. The notification will stay up 8 seconds

I expect it will proceed to load BBT, but BBT will not be functional (not reliably anyway). I think I know where it stalls, this build should confirm that, and then I'll have to talk about the Zotero crew; if my diagnosis is correct, I am supposed to wait for something in Zotero to finish, but that wait is not returning.

Copy link

🤖 this is your friendly neighborhood build bot announcing test build 6.7.192.2880.6255 ("time-out translators install")

This update may name other issues, but the build just dropped here is for you; it just means problems already fixed in other issues have been folded into the work we are doing here. Install in Zotero by downloading test build 6.7.192.2880.6255, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

@dcconsta
Copy link
Author

There is no notification. At startup, BBT goes quickly through all the steps and then Zotero seems functional (items can be added), and even BBT works partially (I can export items, but not refresh keys, for instance).
Here is the new log, in case it should help.
Debug Output_3.txt

@retorquere
Copy link
Owner

A new build will drop shortly that will put up about 8 notices. The last 3 you see are relevant (I don't know what they'll say yet).

@retorquere
Copy link
Owner

Are you on Zotero 6 or 7?

Copy link

🤖 this is your friendly neighborhood build bot announcing test build 6.7.192.2880.6258 ("flash all the things")

This update may name other issues, but the build just dropped here is for you; it just means problems already fixed in other issues have been folded into the work we are doing here. Install in Zotero by downloading test build 6.7.192.2880.6258, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

@dcconsta
Copy link
Author

I'm on Zotero 6.0.36. Here is the record of the startup process and the corresponding log.
Debug Output_4.txt
https://github.com/retorquere/zotero-better-bibtex/assets/169903154/c1fef36a-a122-4ed0-9fdc-610a98a9aec0

Copy link

🤖 this is your friendly neighborhood build bot announcing test build 6.7.192.2880.6261 ("back to logging")

This update may name other issues, but the build just dropped here is for you; it just means problems already fixed in other issues have been folded into the work we are doing here. Install in Zotero by downloading test build 6.7.192.2880.6261, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

@retorquere
Copy link
Owner

This adds new logging. A single message should pop up (content doesn't matter, but I need to know whether you see it), again not everything will work, but you should be able to send a normal debug log.

@dcconsta
Copy link
Author

There is indeed a brief popup message "Better BibTex: Assigning citation keys Ready". The main Zotero windows appears 30s later. Here is the log.
Debug Output_5.txt

Copy link

🤖 this is your friendly neighborhood build bot announcing test build 6.7.192.2880.6263 ("more logging")

This update may name other issues, but the build just dropped here is for you; it just means problems already fixed in other issues have been folded into the work we are doing here. Install in Zotero by downloading test build 6.7.192.2880.6263, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

@dcconsta
Copy link
Author

Here is the startup log using build 6263.
Debug Output_6.txt

@retorquere
Copy link
Owner

Confirms the problem. It seems Zotero doesn't return from translator initialization. I've asked about it here -- in the interim, I'll leave this in place so that BBT can mostly start.

@dcconsta
Copy link
Author

Thanks for all the work! BBT is mostly functional on my system. Contrary to a previous statement, key refreshing does work. It is just that the field is not updated in the middle panel until one navigates away from the collection.

@retorquere
Copy link
Owner

The middle pane would be an entirely different problem.

@retorquere
Copy link
Owner

Can you upgrade to .201 to see if the startup problem is solved for you?

@dcconsta
Copy link
Author

I have upgraded and everything seems to work OK, aside from the delayed key refresh (see above). To be fair, however, I see no obvious changes with respect to build 6263. I'll let you know in case of any anomaly.
A big thank you for your reactivity!

@phockett
Copy link

Just came to say that I had the same issue after updating Zotero to v6.0.36, but it's now working properly again after today's update (I'm showing BBT build 6.7.201 in the add-ons info), and I haven't noticed any other issues. Thanks for the efforts!

Also: profuse thanks for BBT in general - an indispensable tool, and Zotero would not be usable for me without it.

@retorquere
Copy link
Owner

Thanks guys! It's been a stressful few days, so the kind words are much appreciated. I try not to be a disruption, but Zotero is in flux, and BBT has pretty complex interactions with its internals... What I have in place now is a workaround, Zotero is looking into the underlying issue, and I hope to have a proper fix soon. The workaround is be fine, but it's not elegant.

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

No branches or pull requests

3 participants