ODF Scan plugin: error logged upon install

16 views
Skip to first unread message

Frank Bennett

unread,
Jan 1, 2020, 5:43:04 AM1/1/20
to zotero-dev
When the ODF Scan plugin is loaded to Zotero, the following error is logged:

[JavaScript Error: "NS_ERROR_XPC_BAD_CONVERT_JS: Could not convert JavaScript argument arg 0 [nsISupports.QueryInterface]" {file: "chrome://zotero/content/standalone/standalone.js" line: 761}]
observe@chrome://zotero/content/standalone/standalone.js:761:23
installNotifyObservers@resource://gre/modules/AddonManager.jsm:1894:5
onInstallEnded@resource://gre/modules/AddonManager.jsm:1954:11
callInstallListeners@resource://gre/modules/AddonManager.jsm:1536:15
callInstallListeners@resource://gre/modules/AddonManager.jsm:3059:12
startInstall/<@resource://gre/modules/addons/XPIInstall.jsm:1815:9

I ran across this while exploring a possible unrelated failure to load the Scannable Cite export translator on plugin load.


Is the error meaningful, or can it be ignored?

(If the error is not meaningful, or not at fault for the export translator install failure, I'm thinking that the latter might be due to a async copy operation somewhere not completing before the plugin first attempts to access the translator source file.)

Frank

Dan Stillman

unread,
Jan 1, 2020, 11:26:24 PM1/1/20
to zoter...@googlegroups.com
On 1/1/20 5:43 AM, Frank Bennett wrote:
When the ODF Scan plugin is loaded to Zotero, the following error is logged:

I ran across this while exploring a possible unrelated failure to load the Scannable Cite export translator on plugin load.


Is the error meaningful, or can it be ignored?

Probably not meaningful — it looks like this would've been logged on add-on installation start in Fx60. It would've resulted in an actual bug in which an error message wasn't displayed on add-on installation failure, but I don't think it would've made a difference for a successful installation.

I've fixed this in the latest beta.
Reply all
Reply to author
Forward
0 new messages