retorquere/zotero-better-bibtex

Better BibTeX does not work with Zotero beta 70 and later

bohong65 opened this issue Β· 45 comments

Debug log ID

D1066909120

What happened?

After an update to Zotero7.0.0-beta.69+56c363521, an error poped up when starting Zotero suggesting an error related to better-bibtex. Since it was shown at the startup, I can only provide the error information with no debug log.
I am pretty much sure the problem is caused by better-bibtex, cause if I disable it, everything goes on well.
Uploading PixPin_2024-04-09_10-59-49.png…

1712631217335 addons.xpi WARN Checking D:\scholar\zotero\distribution\extensions for addons
1712631218304 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: "Attempt to override an existing message: "delitemwithatt-delete-collection-and-attachment"." {file: "delitemwithatt-addon.ftl" line: 0}]
[JavaScript Error: "Components.classes['@mozilla.org/embedcomp/prompt-service;1'] is undefined" {file: "jar:file:///C:/Users/rabbi/AppData/Roaming/Zotero/Zotero/Profiles/023hgj4c.default/extensions/better-bibtex@iris-advies.com.xpi!/bootstrap.js" line: 40}]
@jar:file:///C:/Users/rabbi/AppData/Roaming/Zotero/Zotero/Profiles/023hgj4c.default/extensions/better-bibtex@iris-advies.com.xpi!/bootstrap.js:40:12
@jar:file:///C:/Users/rabbi/AppData/Roaming/Zotero/Zotero/Profiles/023hgj4c.default/extensions/better-bibtex@iris-advies.com.xpi!/bootstrap.js:157:3
_loadScope@chrome://zotero/content/xpcom/plugins.js:161:27
Zotero.Plugins</this.init@chrome://zotero/content/xpcom/plugins.js:56:17
[JavaScript Error: "TypeError: OS is undefined" {file: "jar:file:///C:/Users/rabbi/AppData/Roaming/Zotero/Zotero/Profiles/023hgj4c.default/extensions/zoteroreference@polygon.org.xpi!/chrome/content/scripts/index.js" line: 15953}]
[JavaScript Error: "TypeError: OS is undefined" {file: "jar:file:///C:/Users/rabbi/AppData/Roaming/Zotero/Zotero/Profiles/023hgj4c.default/extensions/zoterostyle@polygon.org.xpi!/chrome/content/scripts/zoterostyle.js" line: 141042}]
[JavaScript Error: "Error: Failed to load resource://services-settings/remote-settings.sys.mjs" {file: "resource://gre/modules/PartitioningExceptionListService.sys.mjs" line: 88}]
[JavaScript Error: "original is undefined" {file: "jar:file:///C:/Users/rabbi/AppData/Roaming/Zotero/Zotero/Profiles/023hgj4c.default/extensions/zoterocitation@polygon.org.xpi!/chrome/content/scripts/index.js" line: 4906}]
[JavaScript Error: "original is undefined" {file: "jar:file:///C:/Users/rabbi/AppData/Roaming/Zotero/Zotero/Profiles/023hgj4c.default/extensions/zoterocitation@polygon.org.xpi!/chrome/content/scripts/index.js" line: 4906}]
[JavaScript Error: "uncaught exception: undefined" {file: "resource://gre/modules/Prompter.sys.mjs" line: 1231}]
[JavaScript Error: "uncaught exception: undefined" {file: "resource://gre/modules/Prompter.sys.mjs" line: 1231}]
[JavaScript Error: "uncaught exception: undefined" {file: "resource://gre/modules/Prompter.sys.mjs" line: 1231}]
[JavaScript Error: "uncaught exception: undefined" {file: "resource://gre/modules/Prompter.sys.mjs" line: 1231}]
[JavaScript Error: "uncaught exception: undefined" {file: "resource://gre/modules/Prompter.sys.mjs" line: 1231}]
[JavaScript Error: "uncaught exception: undefined" {file: "resource://gre/modules/Prompter.sys.mjs" line: 1231}]
[JavaScript Error: "The connection was refused when attempting to contact wss://stream.zotero.org/."]
[JavaScript Error: "WebSocket connection closed: 1006 "]
[JavaScript Error: "TypeError: newNode is undefined" {file: "jar:file:///C:/Users/rabbi/AppData/Roaming/Zotero/Zotero/Profiles/023hgj4c.default/extensions/zoterostyle@polygon.org.xpi!/chrome/content/scripts/zoterostyle.js" line: 141265}]
appName => Zotero, version => 7.0.0-beta.69+56c363521, os => Windows 10.0 22631, locale => zh-CN, extensions => Easier Citation (0.4.2, extension), Wandering File (0.2.8, extension), Zotero Reference (0.5.8, extension), Jasminum (1.0.0-6, extension), Translate for Zotero (1.1.0-18, extension), Ethereal Style (3.1.3, extension), Del Item With Attachment (0.3.1, extension), Better BibTex for Zotero (6.7.173, extension)

Hello there @bohong65,

Hope you're doing well! @retorquere is here to help you get the most out of your experience with Better BibTeX. To make sure he can assist you effectively, he kindly asks for your cooperation in providing a debug log – it's like giving him the key to understanding and solving the puzzle!

Getting your debug log is a breeze and will save us both time in getting your problem resolved or the new feature you'd like implemented. Trust me, it's way quicker than discussing why it's important. πŸ˜ƒ

How to Share Your Debug Log:

  1. If the issue involves specific references, citekey generation, or exports, just right-click on the relevant item(s) and choose "Better BibTeX -> Submit Better BibTeX debug log" from the menu.

  2. For other issues, follow these simple steps:

    • Restart Zotero with debugging enabled (Help -> Debug Output Logging -> Restart with logging enabled).
    • Reproduce the problem.
    • Select "Send Better BibTeX debug report..." from the help menu.

Once you hit that submit button, you'll get a special red debug ID. Just share that with @retorquere in this issue thread. If the question is regarding an export, don't forget to include what you see exported and what you expected.

By sharing your debug log, you're giving @retorquere a clearer picture of your setup and the items causing the issue. It's like a superhero cape for him – he can swoop in and tackle the problem much faster.

We totally get that your time is valuable, and we appreciate your effort in helping @retorquere help you. You might be surprised at how much this simple step speeds up the whole process.

Thanks a bunch!

PS: If the Debug Log menu does not appear, or it does not send the debug log

A fallback option is available under "Help" > "Send debug log to file.io".

Debug ID: D1066909120

I'm having the same issue. my debug log ID : D1310167716

Clip_2024-04-09_10-58-35

Could you tell me how to temporarily disable zotero-better-bibtex? Thanks! @bohong65

Or can anyone share the zotero version beta 68 of MacOS version?

Could you tell me how to temporarily disable zotero-better-bibtex? Thanks! @bohong65

Or can anyone share the zotero version beta 68 of MacOS version?

from zotero forums:

dstillman : This would be some problem with the plugin, but this shouldn't break Zotero, so we've fixed this in the latest beta, 7.0.0-beta.70. If you're seeing this, you can reinstall Zotero from the Beta Builds page.

the new version can be downloaded from link.

dstillman : This would be some problem with the plugin, but this shouldn't break Zotero, so we've fixed this in the latest beta, 7.0.0-beta.70. If you're seeing this, you can reinstall Zotero from the Beta Builds page.

the new version can be downloaded from link.

Thank you. This did help!

Could you tell me how to temporarily disable zotero-better-bibtex? Thanks! @bohong65

Or can anyone share the zotero version beta 68 of MacOS version?

From Tools>>Add-ons(or Plugins)>>Click the switch on the right side of plugin box to disable/enable

I'm having the same issue. my debug log ID : D1310167716

Clip_2024-04-09_10-58-35

BTW, Add citation in Word also encountered unknown error, better to wait for yet another update of Zotero7

From Tools>>Add-ons(or Plugins)>>Click the switch on the right side of plugin box to disable/enable

Thanks. But in my laptop (Macbook), it can not be turn off by this way. But this method from zotero forums works:

Restart in Troubleshooting Mode (Help β†’ "Restart in Troubleshooting Mode…”, or hold down Shift at startup) to temporarily disable all plugins, uninstall Better BibTeX, and then contact the plugin developer for help.

I'm looking into the problem but they've made changes that are not easy to work around given that I want a single plugin to work on both 6 and 7.

I'm not getting the error window, but the plug-in is not working for me either as it doesn't appear in the settings of Zotero 7 and it cannot be recognised by the obsidian plug-in where I use it. It also happens since the last update of the beta.

@marjomol
Were you able to solve the problem by reinstalling back the previous version of Zotero? I am not able to find Z7 beta versions before version 69 to install and see if everything works well.

@marjomol Were you able to solve the problem by reinstalling back the previous version of Zotero? I am not able to find Z7 beta versions before version 69 to install and see if everything works well.

I've been traying but I cannot find any repository with older Zotero 7 versions. In the forum they are throwing the ball to the plug-in's developers as usual.

And I don't see how I could have anticipated this. I guess I have to set up a notification somehow when the zotero for devs page changes.

And I don't see how I could have anticipated this. I guess I have to set up a notification somehow when the zotero for devs page changes.

Well, there was a post about it in the Zotero dev mailing list 10 days ago: https://groups.google.com/g/zotero-dev/c/wirqnj_EQUQ

We've added a section to the Zotero 7 developer docs that covers the biggest changes to the Mozilla platform from Firefox 102 to 115

To give plugin developers a chance to update their code first, we've pushed builds on the 'dev' channel

Btw, haven't you been waiting for this? πŸ‘‡

This version also includes the promised API for adding custom sections to the item pane

Well, there was a post about it in the Zotero dev mailing list 10 days ago: https://groups.google.com/g/zotero-dev/c/wirqnj_EQUQ

titled "dev build for fx115 and custom item-pane sections". Not exactly a call to action, and I'm absolutely swamped in email. I'm not reading any email I don't have to. But fair point, I could have known this.

Btw, haven't you been waiting for this? πŸ‘‡

This version also includes the promised API for adding custom sections to the item pane

Yeah, I'll look into that when I have BBT running again in 7.

titled "dev build for fx115 and custom item-pane sections". Not exactly a call to action, and I'm absolutely swamped in email.

Fair point, they should definitely have worded that better. And of course, that wasn't meant as criticism, just wanted to point out, for fairness' sake, that it wasn't completely out of the blue.

Stuff is broken in ChromeWorkers :(. This is not going to be a quick fix.

I'm having the same issue. my debug log ID : D1310167716

Clip_2024-04-09_10-58-35

I've encountered the same issue as well. Have you found a solution? Is it currently usable?

From Tools>>Add-ons(or Plugins)>>Click the switch on the right side of plugin box to disable/enable

Thanks. But in my laptop (Macbook), it can not be turn off by this way. But this method from zotero forums works:

Restart in Troubleshooting Mode (Help β†’ "Restart in Troubleshooting Mode…”, or hold down Shift at startup) to temporarily disable all plugins, uninstall Better BibTeX, and then contact the plugin developer for help.

The method doesn't work on my MacBook. There's a small window like this.
1712709183732

@marjomol Were you able to solve the problem by reinstalling back the previous version of Zotero? I am not able to find Z7 beta versions before version 69 to install and see if everything works well.

@zararash I did keep the old version package for Zotero7.0.0-beta.40+24ae34104, which works well. The package is for Windows 64bit though, I paste it here, might help?
https://drive.google.com/file/d/1pea3RnZY3GEGREo6LNhAL1AwxaLhM-iI

@zararash I did keep the old version package for Zotero7.0.0-beta.40+24ae34104, which works well. The package is for Windows 64bit though, I paste it here, might help? https://drive.google.com/file/d/1pea3RnZY3GEGREo6LNhAL1AwxaLhM-iI

Really helpful! Thanks!

BTW, is there anyway to turn off auto update?

I'm having the same issue. my debug log ID : D1310167716
Clip_2024-04-09_10-58-35

I've encountered the same issue as well. Have you found a solution? Is it currently usable?

From Tools>>Add-ons(or Plugins)>>Click the switch on the right side of plugin box to disable/enable

Thanks. But in my laptop (Macbook), it can not be turn off by this way. But this method from zotero forums works:

Restart in Troubleshooting Mode (Help β†’ "Restart in Troubleshooting Mode…”, or hold down Shift at startup) to temporarily disable all plugins, uninstall Better BibTeX, and then contact the plugin developer for help.

The method doesn't work on my MacBook. There's a small window like this. 1712709183732

@mialuyao Humm, it is the same case on Windows, small window exists, but doesn't prohibit you from using, actually you need to click "Check for Updates" when the error window pops up, so as to continue any operation.

@zararash I did keep the old version package for Zotero7.0.0-beta.40+24ae34104, which works well. The package is for Windows 64bit though, I paste it here, might help? https://drive.google.com/file/d/1pea3RnZY3GEGREo6LNhAL1AwxaLhM-iI

Really helpful! Thanks!

BTW, is there anyway to turn off auto update?

Sure, open the config editor
image
Search for update, change the app.update.auto to false
PixPin_2024-04-10_11-03-51

Sure, open the config editor

Thanks!

A friend of mine @gsw4869 happens to have kept newer installer for Windows:
https://drive.google.com/file/d/1FSo8Oqg9-0j846HMqo7-dFr_Lpa9ojB5/view?usp=drive_link

I'm having the same issue. my debug log ID : D1310167716
Clip_2024-04-09_10-58-35

I've encountered the same issue as well. Have you found a solution? Is it currently usable?

From Tools>>Add-ons(or Plugins)>>Click the switch on the right side of plugin box to disable/enable

Thanks. But in my laptop (Macbook), it can not be turn off by this way. But this method from zotero forums works:

Restart in Troubleshooting Mode (Help β†’ "Restart in Troubleshooting Mode…”, or hold down Shift at startup) to temporarily disable all plugins, uninstall Better BibTeX, and then contact the plugin developer for help.

The method doesn't work on my MacBook. There's a small window like this. 1712709183732

@mialuyao Humm, it is the same case on Windows, small window exists, but doesn't prohibit you from using, actually you need to click "Check for Updates" when the error window pops up, so as to continue any operation.

When I close this small window, the app crashes. I can't use it right now.
1712718878596
1712719042016

The method doesn't work on my MacBook. There's a small window like this. 1712709183732

After you minimize this small window, you can left click on the Zotero main window. Then you can select Help β†’ "Restart in Troubleshooting Mode…” from the menu bar.

@mialuyao Can you see the main interface if you minimize the small window instead of close it? If you can't, then you have to downgrade to elder version, 7.0 beta.40 for instance.

I'm running into the same issue on MacOS, except Zotero works as normal. It's just as if better-bibtex simply wasn't enabled or installed. Any news on when this might be fixed?

No. This has my attention, and BBT is partially running again, but some pretty fundamental stuff is gone from Zotero that doesn't have an obvious replacement in 70+. I'm looking for workarounds but I'm not sure they exist, and I may be dependent on Zotero to make changes to make it work again.

Does anybody know if this error is also happening in Zotero for Linux? I've been using the plug-in without any error, but the Zotero 7 version I have is under 70 (No automatic update by now)

The Linux version doesn't have the breaking change yet. My test infra uses Linux, which is why my tests keep running green for the moment.

btromm commented

Are you using the flatpak or tarball build? It is fully broken for me on the tarball.

Luckily, my macOS build has yet to update to 72.

I'm using the .deb-packaged tarball, but that has started failing last night. My tests run at least once a day to pick up these kind of things.

kzssc commented

not a complaint/solution, just a temporary fix: i'm currently reverting back to b68 to make use of the plugin. Thanks to the people over in the Zotero forum. https://forums.zotero.org/discussion/113539/importing-bibtex-from-clipboard-fails-on-zotero-7#latest
(I haven't been religious until now because I'm hoping for god @retorquere's rescue!)

I'm optimistic about getting a fix out tomorrow. Most tests run green again, two to go.

πŸ€– this is your friendly neighborhood build bot announcing test build 6.7.173.2829.6002 ("docs would have been soooooooo useful")

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

πŸ€– this is your friendly neighborhood build bot announcing test build 6.7.173.2829.6002 ("docs would have been soooooooo useful")

It works!

@retorquere you're a legend - my Zotero to Obsidian pipeline is alive again!

Everything works well, thank you all!

Thanks for the feedback! Just so you know, GitHub doesn't let me control who can close issues, and @retorquere likes to leave bug reports and enhancements open as a nudge to merge them into the next release.

Btw, haven't you been waiting for this?

Turns out no -- this allows adding whole sections, I want to add the citation key to the existing section. Making a separate section for the the citation key isn't good UX, and if they at some point add their own field for citation key, it is for sure ending up in the default item pane.

Turns out no -- this allows adding whole sections, I want to add the citation key to the existing section. Making a separate section for the the citation key isn't good UX, and if they at some point add their own field for citation key, it is for sure ending up in the default item pane.

Right, my reading comprehension was admittedly clouded by wishful thinking. Well, back to waiting, then. This is the right PR: zotero/zotero#3255

Doesn't seem to be a high priority of theirs.

and if they at some point add their own field for citation key, it is for sure ending up in the default item pane.

If? I thought it was a given that this the citation key field was coming?

Yeah that should have been when, not if. I suppose. One item type actually does have a citation key field now, but getting it for all item types was supposed to come real soon now for a long time.

Is it possible to copy citekey in the Zotero 7 interface? I haven't been able to figure out how. I can only add it as a list column, but then I can't copy it.

That awaits a change on the Zotero side. See #2522. #2829 is not the place for the discussion about this; #2829 has been resolved.