zotero-better-bibtex: Multiple errors on shutdown / startup
Debug log ID
N/A, since BBT wasn’t loaded any longer
After a restart: X9SLMXCX-fio-24vflMf76l5q
What happened?
This issue is probably a follow-up to #2892.
Zotero just crashed during the update from 7.0.0 to 7.0.1. After I started it again, it first worked fine. As soon as I closed Zotero, I saw two errors
Better BibTeX shutdown failed
InvalidStateError: IDBDatabase.transaction: Can't start a transaction on a closed database
directly followed by:
Better BibTeX startup failed
Error: Better BibTeX is already started
In the development console, another error is shown (that I reported earlier as #2892 already):
Zotero.getMainWindow() is null [better-bibtex.js:8695](jar:file://~/Library/Application%20Support/Zotero/Profiles/protcja8.default/extensions/better-bibtex@iris-advies.com.xpi!/content/better-bibtex.js)
Development Console
Further, I saw two other warnings when looking into the logs:
addons.xpi-utils WARN Add-on better-bibtex@iris-advies.com is not compatible with application version.
Missing resource in locale de: better-bibtex.ftl
Development Console as text
DEPRECATION WARNING: Calling FileUtils.getDir(..., ..., true) causes main thread I/O and should be avoided especially during startup/shutdown
You may find more details about this deprecation at: https://bugzilla.mozilla.org/show_bug.cgi?id=921157
resource://gre/modules/FileUtils.sys.mjs 62 FileUtils_getDir
resource://gre/modules/UpdateService.sys.mjs 1057 getUpdateDirCreate
resource://gre/modules/UpdateService.sys.mjs 1160 getReadyUpdateDir
resource://gre/modules/UpdateService.sys.mjs 1332 cleanUpReadyUpdateDir
resource://gre/modules/UpdateService.sys.mjs 1442 cleanupReadyUpdate
resource://gre/modules/UpdateService.sys.mjs 3116 AUS__postUpdateProcessing
resource://gre/modules/UpdateService.sys.mjs 2715 AUS_observe
resource://gre/modules/UpdateServiceStub.sys.mjs 109 UpdateServiceStub
[Deprecated.sys.mjs:79:13](resource://gre/modules/Deprecated.sys.mjs)
warning resource://gre/modules/Deprecated.sys.mjs:79
FileUtils_getDir resource://gre/modules/FileUtils.sys.mjs:62
getUpdateDirCreate resource://gre/modules/UpdateService.sys.mjs:1057
getReadyUpdateDir resource://gre/modules/UpdateService.sys.mjs:1160
cleanUpReadyUpdateDir resource://gre/modules/UpdateService.sys.mjs:1332
cleanupReadyUpdate resource://gre/modules/UpdateService.sys.mjs:1442
AUS__postUpdateProcessing resource://gre/modules/UpdateService.sys.mjs:3116
AUS_observe resource://gre/modules/UpdateService.sys.mjs:2715
UpdateServiceStub resource://gre/modules/UpdateServiceStub.sys.mjs:109
Error: Addon must include an id, version, and type 2 [XPIProvider.jsm:1723:13](resource://gre/modules/addons/XPIProvider.jsm)
unreachable code after return statement
[util.js:205:4](resource://zotero/bluebird/util.js)
Missing resource in locale de: better-bibtex.ftl
Plugin better-bibtex@iris-advies.com is missing bootstrap method 'onMainWindowUnload'
Zotero.getMainWindow() is null [better-bibtex.js:8695](jar:file://~/Library/Application%20Support/Zotero/Profiles/protcja8.default/extensions/better-bibtex@iris-advies.com.xpi!/content/better-bibtex.js)
1723714458819 addons.xpi-utils WARN Add-on better-bibtex@iris-advies.com is not compatible with application version. 3
Missing resource in locale de: toolkit/global/commonDialog.ftl 2
InstallTrigger is deprecated and will be removed in the future. 4 [reader.js:20134:16](resource://zotero/reader/reader.js)
Missing resource in locale de: better-bibtex.ftl
DOMException: Could not get children of file(~/Library/Application Support/Zotero/Crash Reports/events) because it does not exist [CrashManager.sys.mjs:663:17](resource://gre/modules/CrashManager.sys.mjs)
_getUnprocessedEventsFiles resource://gre/modules/CrashManager.sys.mjs:663
Missing resource in locale de: toolkit/about/aboutAddons.ftl
Missing resource in locale de: toolkit/about/abuseReports.ftl
Missing resource in locale de: browser/components/mozSupportLink.ftl 2
Missing resource in locale de: toolkit/global/extensions.ftl
This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”.
Zotero Debug output
1723714426727 addons.xpi WARN Checking /Applications/Zotero.app/Contents/Resources/distribution/extensions for addons
1723714426847 addons.xpi-utils WARN addMetadata: Add-on undefined is invalid: Error: Invalid addon ID: expected addon ID undefined, found undefined in manifest(resource://gre/modules/addons/XPIDatabase.jsm:3108:15) JS Stack trace: addMetadata@XPIDatabase.jsm:3108:15
processFileChanges@XPIDatabase.jsm:3569:26
checkForChanges@XPIProvider.jsm:3121:60
startup@XPIProvider.jsm:2532:12
callProvider@AddonManager.sys.mjs:228:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:742:14
startup@AddonManager.sys.mjs:3666:26
observe@amManager.sys.mjs:73:29
[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: "Zotero.getMainWindow() is null" {file: "jar:file://~/Library/Application%20Support/Zotero/Profiles/protcja8.default/extensions/better-bibtex@iris-advies.com.xpi!/content/better-bibtex.js" line: 8695}]
1723714458819 addons.xpi-utils WARN Add-on better-bibtex@iris-advies.com is not compatible with application version.
1723714458819 addons.xpi-utils WARN Add-on better-bibtex@iris-advies.com is not compatible with application version.
1723714458819 addons.xpi-utils WARN Add-on better-bibtex@iris-advies.com is not compatible with application version.
appName => Zotero, version => 7.0.1 (ARM64), os => macOS 14.6.1, locale => de, extensions => Better BibTex for Zotero (6.7.221, extension)
Please let me know if you need further details or assistance with the localization for German. Thanks for the great plugin.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 116 (46 by maintainers)
Commits related to this issue
- Merge branch 'master' into gh-2948 — committed to retorquere/zotero-better-bibtex by retorquere 2 years ago
- Merge branch 'master' into gh-2948 — committed to retorquere/zotero-better-bibtex by retorquere 2 years ago
- Merge branch 'master' into gh-2948 — committed to retorquere/zotero-better-bibtex by retorquere 2 years ago
- Merge branch 'master' into gh-2948 — committed to retorquere/zotero-better-bibtex by retorquere 2 years ago
- Merge branch 'master' into gh-2948 — committed to retorquere/zotero-better-bibtex by retorquere 2 years ago
- Merge branch 'master' into gh-2948 — committed to retorquere/zotero-better-bibtex by retorquere 2 years ago
- Merge branch 'master' into gh-2948 — committed to retorquere/zotero-better-bibtex by retorquere 2 years ago
- Merge branch 'master' into gh-2948 — committed to retorquere/zotero-better-bibtex by retorquere 2 years ago
- Merge branch 'master' into gh-2948 — committed to retorquere/zotero-better-bibtex by retorquere 2 years ago
- Merge branch 'master' into gh-2948 — committed to retorquere/zotero-better-bibtex by retorquere 2 years ago
- Merge branch 'master' into gh-2948 — committed to retorquere/zotero-better-bibtex by retorquere 2 years ago
- Merge branch 'master' into gh-2948 — committed to retorquere/zotero-better-bibtex by retorquere 2 years ago
- Merge branch 'master' into gh-2948 — committed to retorquere/zotero-better-bibtex by retorquere 2 years ago
- Merge branch 'master' into gh-2948 — committed to retorquere/zotero-better-bibtex by retorquere 2 years ago
- Merge branch 'master' into gh-2948 — committed to retorquere/zotero-better-bibtex by retorquere 2 years ago
- Merge branch 'master' into gh-2948 — committed to retorquere/zotero-better-bibtex by retorquere 2 years ago
- Merge branch 'master' into gh-2948 — committed to retorquere/zotero-better-bibtex by retorquere 2 years ago
- Merge branch 'master' into gh-2948 — committed to retorquere/zotero-better-bibtex by retorquere 2 years ago
- Merge branch 'gh-2948' — committed to retorquere/zotero-better-bibtex by retorquere 2 years ago
- Merge branch 'master' into gh-2948 — committed to retorquere/zotero-better-bibtex by retorquere 2 years ago
I’m looking into it but my response times are slower than usual, the zotero 7 release is bringing in a spike of requests, and I’m currently away to a competition with limited time to get behind a computer. I’m doing my best to address the issues and will be back to normal response times on Tuesday. I don’t know why zotero 7 release responds differently than the beta I was testing on.
I don’t know what “your GPG key with fingerprint D4A1A6BE8F8B32B1E0B7B988EC2B9137E228EB86 being available” means. I am shamefully ignorant of encryption tools. I have received the other.
Ah fortunately that popup is easy to fix.
The next build to drop has one less number in the version. Let me know whether that works.