retorquere / zotero-better-bibtex

Make Zotero effective for us LaTeX holdouts
https://retorque.re/zotero-better-bibtex/
MIT License
5.21k stars 285 forks source link

[Zotero 7 Beta] BBT cannot load after update #2886

Closed mjthoraval closed 3 months ago

mjthoraval commented 4 months ago

Debug log ID

CGCLUU35-fio-QvFxDXHpZxk2

What happened?

Just after updating the last bug, I got a an error that BBT could not load. I saved the debug log ID (CGCLUU35-fio-QvFxDXHpZxk2), disabled BBT are re-enabled it. Now it works. But the debug log ID may still be useful?

BBT version 6.7.198.2885.6293 Zotero 7.0.0-beta.79+95d5a5417 (64-bit) Windows 10

mjthoraval commented 4 months ago

I cannot reproduce, so I don't know what happened. You can close the issue if the debug log is not useful.

mjthoraval commented 4 months ago

I am in the broken state again. The "Send debug log to file.io" does not work. I keep it this way in case I can report anything useful to you.

retorquere commented 4 months ago

Do you see any errors in the Zotero log viewer that might indicate why file.io isn't working?

mjthoraval commented 4 months ago

Nothing moves when I try to use the "Send debug log to file.io".

1716243260691   addons.xpi  WARN    Checking C:\Program Files\Zotero\distribution\extensions for addons

1716243261580   addons.webextension.better-bibtex@iris-advies.com   WARN    Loading extension 'better-bibtex@iris-advies.com': Reading manifest: Warning processing version: version must be a version string consisting of at most 4 integers of at most 9 digits without leading zeros, and separated with dots

1716243261599   addons.webextension.better-bibtex@iris-advies.com   WARN    Loading extension 'better-bibtex@iris-advies.com': Reading manifest: Using experimental APIs requires a privileged add-on.

1716243263156   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: 1723}]

[JavaScript Error: "Error: Addon must include an id, version, and type" {file: "resource://gre/modules/addons/XPIProvider.jsm" line: 1723}]

[JavaScript Error: "Error: Failed to load resource://services-settings/remote-settings.sys.mjs" {file: "resource://gre/modules/PartitioningExceptionListService.sys.mjs" line: 88}]

[JavaScript Error: "uncaught exception: undefined"]

[JavaScript Error: "TypeError: emptyListMessage is null" {file: "chrome://zotero/content/standalone/standalone.js" line: 687}]
ZoteroStandalone</this.updateAddonsPane/<@chrome://zotero/content/standalone/standalone.js:687:7

appName => Zotero, version => 7.0.0-beta.79+95d5a5417, os => Windows 10.0 19045, locale => en-GB, extensions => Better BibTex for Zotero (6.7.198.2885.6293, extension), OpenH264 Video Codec provided by Cisco Systems, Inc. (1.8.1.2, plugin), Widevine Content Decryption Module provided by Google Inc. (4.10.2710.0, plugin), Open PDF for Zotero (0.0.11, extension, disabled), Zotero Better Authors (4.1.3, extension, disabled), ZoteroPreview (0.7.8, extension, disabled), Translate for Zotero (1.1.0-beta.41, extension, disabled), Actions and Tags for Zotero (1.0.0-beta.39, extension, disabled), Zotero OCR (0.7.2, extension, disabled), Notero (0.5.16, extension, disabled), Zotero Attanger (1.2.2, extension, disabled), Better Notes for Zotero (1.1.4-beta.73, extension, disabled)
retorquere commented 4 months ago

Did you see a message saying Zotero translator init timed out?

retorquere commented 4 months ago

You don't need to keep it this way, I need to go to sleep, will be back in the morning (you can also upgrade to .199).

mjthoraval commented 4 months ago

I had 2 popup windows, one saying some "[...] Ready" and then another one with an error. I could not catch them. Thanks!

mjthoraval commented 4 months ago

Ok, got it this time: image

And the debug log ID after the screenshot: BIWBP79S-fio-bu5VcpcujZIA

github-actions[bot] commented 4 months ago

:robot: this is your friendly neighborhood build bot announcing test build 6.7.199.2886.6296 ("keep up error message longer")

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.199.2886.6296, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

mjthoraval commented 4 months ago

After update: image

8A7XNEUE-fio-WuMbi1QF1kSB

github-actions[bot] commented 4 months ago

:robot: this is your friendly neighborhood build bot announcing test build 6.7.199.2886.6298 ("busy-wait for translator framework init")

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.199.2886.6298, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

mjthoraval commented 4 months ago

This one seems to solve the problem of BBT not loading. I have restarted a few times without seeing the issue anymore. Thank you very much!

It can take a while to load, but it is similar time as without BBT: UUPP4VGJ-fio-34hgWdHws0Oq N9CDTMGC-euc/6.7.199.2886.6298-7

retorquere commented 4 months ago

Thanks for the confirmation. There's something broken about Zotero translator loading; I used to wait for it to finish before I installed my translators, but waiting to finish hangs for some people (unfortunately, not for me, so I can't test it myself); this build peeks inside the initialization with 1-second intervals, and when I see it is done, I "wait for it to finish" in the way I'm supposed to (which will then succeed because of the peeking). This all shouldn't be required, but whatever works.

retorquere commented 4 months ago

(for my information) possibly related:

https://forums.zotero.org/discussion/comment/463327#Comment_463327 https://forums.zotero.org/discussion/comment/463326#Comment_463326 https://forums.zotero.org/discussion/comment/463324#Comment_463324

mjthoraval commented 4 months ago

It takes around 30 seconds to start Zotero until the Item Pane header is loaded, with or without BBT activated. And just 3 seconds more for the BBT citation key column to appear. When it works...

I just got a case now where the Item Pane header did not load. Switching item, the header was still able to load. But BBT is still stuck... The "Send debug log to file.io" again does not do anything in this state.

I feel that there is indeed something wrong with the loading of Zotero, even without the BBT plugin.

retorquere commented 4 months ago

^&*#! will these problems never stop... anything relevant you see in the log viewer? If you install https://github.com/retorquere/zotero-debug-log alongside, does file.io work?

github-actions[bot] commented 4 months ago

:robot: this is your friendly neighborhood build bot announcing test build 6.7.200.2886.6306 ("upgrades")

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.200.2886.6306, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

mjthoraval commented 4 months ago

I have updated to the latest beta: Zotero 7.0.0-beta.80+9de70613a (64-bit) I have installed zotero-debug-log and the test build 6.7.200.2886.6306.

I still see the same problem. Nothing appears in the Debug Output log when trying to do both options of the "Send debug log to file.io": image

I got this error once after BBT had loaded successfully (in a separate restart): image

mjthoraval commented 4 months ago

Waiting a bit, I got these:

(3)(+0013810): {better-bibtex startup: [translators]} +288006 idle: Tue May 21 2024 11:09:08 GMT+0200 (Central European Summer Time), save-database idle

(3)(+0000000): {better-bibtex startup: [translators]} +1 emit: better-bibtex event emit idle {"state":"idle","topic":"save-database"}

(3)(+0012980): {better-bibtex startup: [translators]} +12979 idle: Tue May 21 2024 11:09:21 GMT+0200 (Central European Summer Time), save-database active

(3)(+0000000): {better-bibtex startup: [translators]} +1 emit: better-bibtex event emit idle {"state":"active","topic":"save-database"}

(3)(+0034627): {better-bibtex startup: [translators]} +34626 idle: Tue May 21 2024 11:09:56 GMT+0200 (Central European Summer Time), save-database idle

(3)(+0000000): {better-bibtex startup: [translators]} +1 emit: better-bibtex event emit idle {"state":"idle","topic":"save-database"}

(3)(+0001911): {better-bibtex startup: [translators]} +1911 idle: Tue May 21 2024 11:09:58 GMT+0200 (Central European Summer Time), save-database active

(3)(+0000000): {better-bibtex startup: [translators]} +0 emit: better-bibtex event emit idle {"state":"active","topic":"save-database"}
mjthoraval commented 4 months ago

If the BBT plugin can load, the debug log can finally be sent: FJLZF5QX-fio-ZytQtgpWajMT The debug log from zotero-debug-log still does not work: image

retorquere commented 4 months ago

Waiting a bit, I got these:

these are normal

FJLZF5QX-fio-ZytQtgpWajMT

Can you "restart with debug enabled" from the help menu and try again? This doesn't have startup errors.

retorquere commented 4 months ago

What platform are you on?

mjthoraval commented 4 months ago

I am on Windows 10. Here is what I get from "Restart with Logging Enabled..." in the BBT debug output log window: 7YYQK4XW-euc/6.7.200.2886.6306-7 But this time it was successful.

I have restarted the computer. It is now successfully loading the last few times I have tried. I will update here if it comes back again.

mjthoraval commented 4 months ago

Note that that "Send debug log to file.io" popup window only appears when the plugin is fully loaded (the Citation key column appears in the Items Tree), even if I click on it very early in the startup process. This is probably why I cannot get the debug ID when BBT does not load.

retorquere commented 4 months ago

7YYQK4XW-euc/6.7.200.2886.6306-7 gave me something useful, new build incoming.

Note that that "Send debug log to file.io" popup window only appears when the plugin is fully loaded

You mean without zotero-debug-log installed. This is so weird. It's the first thing I do. Load order of plugins is not deterministic, so with zotero-debug-log installed it could be that just zotero-debug-log loads after BBT. But BBT also has file.io registration, and that should be the first thing it does. It also should disappear after 15s.

github-actions[bot] commented 4 months ago

:robot: this is your friendly neighborhood build bot announcing test build 6.7.200.2886.6307 ("rendered citation as title can happen before key manager is ready")

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.200.2886.6307, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

mjthoraval commented 4 months ago

Same again... I have updated BBT, then activated it (only BBT). The Citation key column appeared before restart. Then I restart, and BBT does not load anymore.

Same symptoms as mentioned before, except that the Feeds are working properly now: https://github.com/retorquere/zotero-better-bibtex/issues/2885

1) The BBT extension does not appear in the Settings.

2) The Export and Cite sections do not display in the Settings: image

3) "Send debug log to file.io" -> "Better BibTeX" does not do anything. Also nothing appears in the Debug Output log.

4) Here are the errors I get in the debug output of Zotero:

1716290242965   addons.xpi  WARN    Checking C:\Program Files\Zotero\distribution\extensions for addons

1716290243575   addons.webextension.better-bibtex@iris-advies.com   WARN    Loading extension 'better-bibtex@iris-advies.com': Reading manifest: Warning processing version: version must be a version string consisting of at most 4 integers of at most 9 digits without leading zeros, and separated with dots

1716290243587   addons.webextension.better-bibtex@iris-advies.com   WARN    Loading extension 'better-bibtex@iris-advies.com': Reading manifest: Using experimental APIs requires a privileged add-on.

1716290244290   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: 1723}]

[JavaScript Error: "Error: Addon must include an id, version, and type" {file: "resource://gre/modules/addons/XPIProvider.jsm" line: 1723}]

[JavaScript Error: "Error: Failed to load resource://services-settings/remote-settings.sys.mjs" {file: "resource://gre/modules/PartitioningExceptionListService.sys.mjs" line: 88}]

[JavaScript Error: "uncaught exception: undefined"]

[JavaScript Error: "Translators not yet loaded"]

[JavaScript Error: "Translators not yet loaded"]

[JavaScript Error: "Translators not yet loaded"]

[JavaScript Error: "Translators not yet loaded"]

[JavaScript Error: "Translators not yet loaded"]

[JavaScript Error: "Translators not yet loaded"]

[JavaScript Error: "TypeError: emptyListMessage is null" {file: "chrome://zotero/content/standalone/standalone.js" line: 687}]
ZoteroStandalone</this.updateAddonsPane/<@chrome://zotero/content/standalone/standalone.js:687:7

appName => Zotero, version => 7.0.0-beta.80+9de70613a, os => Windows 10.0 19045, locale => en-GB, extensions => Better BibTex for Zotero (6.7.200.2886.6307, extension), OpenH264 Video Codec provided by Cisco Systems, Inc. (1.8.1.2, plugin), Widevine Content Decryption Module provided by Google Inc. (4.10.2710.0, plugin), Open PDF for Zotero (0.0.11, extension, disabled), Zotero Better Authors (4.1.3, extension, disabled), ZoteroPreview (0.7.8, extension, disabled), Translate for Zotero (1.1.0-beta.41, extension, disabled), Actions and Tags for Zotero (1.0.0-beta.39, extension, disabled), Zotero OCR (0.7.2, extension, disabled), Notero (0.5.16, extension, disabled), Zotero Attanger (1.2.2, extension, disabled), Better Notes for Zotero (1.1.4-beta.73, extension, disabled), Debug Log for Zotero (2.0.17, extension, disabled)
mjthoraval commented 4 months ago

I have activated the plugin "Debug Log for Zotero" version 2.0.17. Restarted Zotero. Same problem again. Both options "Send debug log to file.io" -> "Debug Log" & "Better BibTeX" do not do anything and do not trigger any message in the Debug Output log.

The new Debug Ouptut content:

1716290937236   addons.xpi  WARN    Checking C:\Program Files\Zotero\distribution\extensions for addons

1716290937955   addons.webextension.better-bibtex@iris-advies.com   WARN    Loading extension 'better-bibtex@iris-advies.com': Reading manifest: Warning processing version: version must be a version string consisting of at most 4 integers of at most 9 digits without leading zeros, and separated with dots

1716290937967   addons.webextension.better-bibtex@iris-advies.com   WARN    Loading extension 'better-bibtex@iris-advies.com': Reading manifest: Using experimental APIs requires a privileged add-on.

1716290937968   addons.webextension.debug-log@iris-advies.com   WARN    Loading extension 'debug-log@iris-advies.com': Reading manifest: Using experimental APIs requires a privileged add-on.

1716290939221   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: 1723}]

[JavaScript Error: "Error: Addon must include an id, version, and type" {file: "resource://gre/modules/addons/XPIProvider.jsm" line: 1723}]

[JavaScript Error: "Error: Failed to load resource://services-settings/remote-settings.sys.mjs" {file: "resource://gre/modules/PartitioningExceptionListService.sys.mjs" line: 88}]

[JavaScript Error: "uncaught exception: undefined"]

[JavaScript Error: "uncaught exception: undefined"]

[JavaScript Error: "SyntaxError: redeclaration of const Zotero" {file: "chrome://zotero/content/customElements.js" line: 1}]
@chrome://zotero/content/customElements.js:1:1
@chrome://zotero/content/update/update-header.js:8:25

[JavaScript Error: "TypeError: emptyListMessage is null" {file: "chrome://zotero/content/standalone/standalone.js" line: 687}]
ZoteroStandalone</this.updateAddonsPane/<@chrome://zotero/content/standalone/standalone.js:687:7

appName => Zotero, version => 7.0.0-beta.80+9de70613a, os => Windows 10.0 19045, locale => en-GB, extensions => Debug Log for Zotero (2.0.17, extension), Better BibTex for Zotero (6.7.200.2886.6307, extension), OpenH264 Video Codec provided by Cisco Systems, Inc. (1.8.1.2, plugin), Widevine Content Decryption Module provided by Google Inc. (4.10.2710.0, plugin), Open PDF for Zotero (0.0.11, extension, disabled), Zotero Better Authors (4.1.3, extension, disabled), ZoteroPreview (0.7.8, extension, disabled), Translate for Zotero (1.1.0-beta.41, extension, disabled), Actions and Tags for Zotero (1.0.0-beta.39, extension, disabled), Zotero OCR (0.7.2, extension, disabled), Notero (0.5.16, extension, disabled), Zotero Attanger (1.2.2, extension, disabled), Better Notes for Zotero (1.1.4-beta.73, extension, disabled)
mjthoraval commented 4 months ago

Restart with Logging Enabled... -> BBT can finally load: P7E6N3FE-euc/6.7.200.2886.6307-7

retorquere commented 4 months ago

There's no BBT activity in this log. Can you try this way of starting zotero and generating a log?

mjthoraval commented 4 months ago

This does not seem to work: image

The content of "Transcript.txt":

**********************
Début de la transcription Windows PowerShell
Heure de début : 20240521133947
Nom d'utilisateur : MJ-DELL\mjthoraval
Utilisateur runAs :  MJ-DELL\mjthoraval
Nom de la configuration : 
Ordinateur : MJ-DELL (Microsoft Windows NT 10.0.19045.0)
Application hôte : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
ID de processus : 19132
PSVersion: 5.1.19041.4412
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.19041.4412
BuildVersion: 10.0.19041.4412
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
**********************
Transcription démarrée, le fichier de sortie est C:\Users\mjthoraval\Desktop\transcript.txt
PS>Erreur de terminaison (Start-Process) : « Impossible d’exécuter cette commande en raison de l’erreur : Le fichier spécifié est introuvable. »
Start-Process : Impossible d’exécuter cette commande en raison de l’erreur : Le fichier spécifié est introuvable.
Au caractère Ligne:2 : 1
+ Start-Process -FilePath "C:\Program Files (x86)\Zotero\zotero.exe" -A ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation : (:) [Start-Process], InvalidOperationException
    + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
Start-Process : Impossible d’exécuter cette commande en raison de l’erreur : Le fichier spécifié est introuvable.
Au caractère Ligne:2 : 1
+ Start-Process -FilePath "C:\Program Files (x86)\Zotero\zotero.exe" -A ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation : (:) [Start-Process], InvalidOperationException
    + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand

C:\Users\mjthoraval>
PS>Start-Transcript -Path "$HOME\Desktop\transcript.txt"
Start-Process -FilePath "C:\Program Files\Zotero\zotero.exe" -ArgumentList "-ZoteroDebugText" 
**********************
Fin de la transcription Windows PowerShell
Heure de fin : 20240521134040
**********************
mjthoraval commented 4 months ago

Sorry, I had to delete the file from the wrong first command. Here it is: transcript.txt

mjthoraval commented 4 months ago

I have waited more than 5 minutes this time before sending the Stop-Transcript command. It is still empty:

**********************
Début de la transcription Windows PowerShell
Heure de début : 20240521135729
Nom d'utilisateur : MJ-DELL\mjthoraval
Utilisateur runAs :  MJ-DELL\mjthoraval
Nom de la configuration : 
Ordinateur : MJ-DELL (Microsoft Windows NT 10.0.19045.0)
Application hôte : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
ID de processus : 19132
PSVersion: 5.1.19041.4412
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.19041.4412
BuildVersion: 10.0.19041.4412
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
**********************
Transcription démarrée, le fichier de sortie est C:\Users\mjthoraval\Desktop\transcript.txt
C:\Users\mjthoraval>
PS>Stop-Transcript
**********************
Fin de la transcription Windows PowerShell
Heure de fin : 20240521140241
**********************
mjthoraval commented 4 months ago

And as reported before, disabling the plugin and re-enabling it is enough to make it work again.

mjthoraval commented 4 months ago

7YYQK4XW-euc/6.7.200.2886.6306-7 gave me something useful, new build incoming.

Note that that "Send debug log to file.io" popup window only appears when the plugin is fully loaded

You mean without zotero-debug-log installed. This is so weird. It's the first thing I do. Load order of plugins is not deterministic, so with zotero-debug-log installed it could be that just zotero-debug-log loads after BBT. But BBT also has file.io registration, and that should be the first thing it does. It also should disappear after 15s.

I have tested with only the BBT plugin.

mjthoraval commented 4 months ago

Now that it is working, here is another debug log after Restart with Logging Enabled: YAZGYZKM-euc/6.7.200.2886.6307-7

mjthoraval commented 4 months ago

Maybe something wrong during the installation of the plugin?

When I enable the plugin, I get in the Debug Output:

1716294705044   addons.webextension.better-bibtex@iris-advies.com   WARN    Loading extension 'better-bibtex@iris-advies.com': Reading manifest: Warning processing version: version must be a version string consisting of at most 4 integers of at most 9 digits without leading zeros, and separated with dots

1716294705045   addons.webextension.better-bibtex@iris-advies.com   WARN    Loading extension 'better-bibtex@iris-advies.com': Reading manifest: Using experimental APIs requires a privileged add-on.

[JavaScript Error: "uncaught exception: undefined"]

And when I disable it:

[JavaScript Error: "uncaught exception: undefined"]
retorquere commented 4 months ago

When I enable the plugin, I get in the Debug Output:

That's because I have 5-part versions for the debug build. It's just a warning.

retorquere commented 4 months ago

Windows is such a pain for debugging. Nothing works. And since I've moved to apple silicon, I can't even run vmware for testing.

If you start cmd (windows-r, cmd), then in that console window, type

"C:\Program Files (x86)\Zotero\zotero.exe" -ZoteroDebugText

I think a 2nd console window will pop up. In that console window, the logging should appear. I think in the top-left you can select edit-select all, edit-copy -- I don't have access to Windows so I am working from memory here.

mjthoraval commented 4 months ago

The command starts Zotero, but I cannot see any other window opening, and nothing in the console window.

mjthoraval commented 4 months ago

Got it: https://www.zotero.org/support/debug_output#windows I have added -console to get it to work:

"C:\Program Files\Zotero\zotero.exe" -console -ZoteroDebugText

output.txt

retorquere commented 4 months ago

🤬 Zotero.Translators.init() is still stuck, even with peeking. And the Zotero crew is not picking up on my support request for this.

mjthoraval commented 4 months ago

Let me know if I can do anything to move forward on this. Hopefully the can identify the problem soon.

github-actions[bot] commented 4 months ago

:robot: this is your friendly neighborhood build bot announcing test build 6.7.200.2886.6308 ("just busy-wait then")

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.200.2886.6308, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

mjthoraval commented 4 months ago

It seems to work now, after installing the test build 6.7.200.2886.6308 and restarting Zotero: ZBPRX3UD-euc/6.7.200.2886.6308-7

mjthoraval commented 4 months ago

I have tried all the steps I did before to trigger the bug. It is still working reliably now. The problem is fixed I think.

retorquere commented 4 months ago

It's a work-around more than a fix, but this gets things going. Can you do one more test for me? open Tools -> Developer -> Run Javascript, check Run as async function, and run this:

await Zotero.Translators.init()
return 'done'

then uninstall BBT, restart Zotero, and repeat these steps. It should in both cases print done, but I think at least with BBT installed it will not print anything.

mjthoraval commented 4 months ago

Here it is: With BBT running: image

After uninstalling BBT: image

retorquere commented 4 months ago

That was not what I expected. I don't know what to make of this. It's most likely a time-sensitive issue then, but await Zotero.Translators.init() reliably hangs for you and others when I call it (as I must) in BBT startup.

In any case, I've reported this to the Zotero devs, and in the mean time, I have a workaround.

retorquere commented 4 months ago

Can I bother you once more about this? The Zotero crew wants to look into this, but they're asking

We'd want to see a Debug ID from startup (or debug log sent to support@zotero.org) from someone who can reproduce this.

I can produce a build that will reintroduce this problem. I can't reproduce it myself unfortunately.