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

Better BibTeX does not work with Zotero beta 70 and later #2829

Closed
bohong65 opened this issue Apr 9, 2024 · 45 comments
Closed

Better BibTeX does not work with Zotero beta 70 and later #2829

bohong65 opened this issue Apr 9, 2024 · 45 comments
Labels

Comments

@bohong65
Copy link

bohong65 commented Apr 9, 2024

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)

Copy link

github-actions bot commented Apr 9, 2024

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".

@bohong65
Copy link
Author

bohong65 commented Apr 9, 2024

Debug ID: D1066909120

@serein88
Copy link

serein88 commented Apr 9, 2024

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

Clip_2024-04-09_10-58-35

@venkate123
Copy link

venkate123 commented Apr 9, 2024

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?

@DrownFish19
Copy link

DrownFish19 commented Apr 9, 2024

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.

@venkate123
Copy 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!

@bohong65
Copy link
Author

bohong65 commented Apr 9, 2024

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

@bohong65
Copy link
Author

bohong65 commented Apr 9, 2024

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

@venkate123
Copy link

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.

@retorquere
Copy link
Owner

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.

@marjomol
Copy link

marjomol commented Apr 9, 2024

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.

@zararash
Copy link

zararash commented Apr 9, 2024

@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
Copy link

marjomol commented Apr 9, 2024

@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.

@retorquere
Copy link
Owner

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.

@FeralFlora
Copy link

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

@retorquere
Copy link
Owner

retorquere commented Apr 9, 2024

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.

@FeralFlora
Copy link

FeralFlora commented Apr 9, 2024

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.

@retorquere
Copy link
Owner

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

Copy link

🤖 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...".

@Sciroccogti
Copy link

🤖 this is your friendly neighborhood build bot announcing test build 6.7.173.2829.6002 ("docs would have been soooooooo useful")

It works!

@Homerjf0ng
Copy link

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

@bohong65
Copy link
Author

Everything works well, thank you all!

@github-actions github-actions bot reopened this Apr 13, 2024
Copy link

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.

@retorquere
Copy link
Owner

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.

@FeralFlora
Copy link

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?

@github-actions github-actions bot reopened this Apr 26, 2024
@retorquere
Copy link
Owner

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.

@erazlogo
Copy link

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.

@retorquere
Copy link
Owner

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

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests