zotero-better-bibtex
zotero-better-bibtex copied to clipboard
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/[email protected]!/content/better-bibtex.js)
Development Console
Further, I saw two other warnings when looking into the logs:
addons.xpi-utils WARN Add-on [email protected] 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 [email protected] is missing bootstrap method 'onMainWindowUnload'
Zotero.getMainWindow() is null [better-bibtex.js:8695](jar:file://~/Library/Application%20Support/Zotero/Profiles/protcja8.default/extensions/[email protected]!/content/better-bibtex.js)
1723714458819 addons.xpi-utils WARN Add-on [email protected] 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: [email protected]:3108:15
[email protected]:3569:26
[email protected]:3121:60
[email protected]:2532:12
[email protected]:228:31
[email protected]:536:17
[email protected]:742:14
[email protected]:3666:26
[email protected]: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/[email protected]!/content/better-bibtex.js" line: 8695}]
1723714458819 addons.xpi-utils WARN Add-on [email protected] is not compatible with application version.
1723714458819 addons.xpi-utils WARN Add-on [email protected] is not compatible with application version.
1723714458819 addons.xpi-utils WARN Add-on [email protected] 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.