NS_Error_Failure

Hey there,

I am new to Zotero. I am using Manjaro Linux, where I installed manjaro from the Arch Linux Users Repository (AUR):

https://aur.archlinux.org/packages/zotero/

I when I am trying to add Books to Zotero by using drag&drop from the file browser I get the following Error in the Terminal:

Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIFile.isDirectory]

[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIFile.isDirectory]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://zotero/content/xpcom/zotero.js :: Zotero.DragDrop.getDataFromDataTransfer :: line 2661" data: no]
Zotero.DragDrop.getDataFromDataTransfer@chrome://zotero/content/xpcom/zotero.js:2661:10
Zotero.CollectionTreeView.prototype.canDropCheckAsync<@chrome://zotero/content/xpcom/collectionTreeView.js:1762:17
From previous event:

Does anybody has an idea how to solve this? /home/user/.zotero/zotero/p5enydoq.default/ does not contain a folder "/extensions/propachi-vanilla@juris-m.github.io" as suggested here:

https://forums.zotero.org/discussion/70620/startup-error/p1
  • Does this happen with the tarball from zotero.org?
  • I just downloaded the tarball from zotero.org unpacked it and started ran it. The same error occured.
  • Unfortunately people tend to report pretty weird errors on Arch, so not much we can tell you if this isn't working. NS_ERROR_FAILURE is just a generic failure, in this case when Zotero attempts to treat the drag data as a file (using the underlying Mozilla framework).

    If you can't get this to work by upgrading/downgrading things in your OS, you can use "Store Copy of File…" in the New Item menu instead.
  • Indeed, it seems to be an arch-specific issue. I asked in the manjaro forum. Maybe someone has an idea about this. Using "Store Copy of File..." would be an optioin, but drag&drop would be much faster.
    Anyway thank you so far.

    Link to the repsective thread in the manjaro forum:

    https://forum.manjaro.org/t/using-zotero-error-component-returned-failure-code-0x80004005-ns-error-failure-nsifile-isdirectory/43532
  • Jonathan in that thread is correct that this is likely a library issue (you can ignore the response about the data directory), but it's not a question of what we're building against — Zotero is simply based on a stock Firefox Linux binary installation, and those presumably aren't particularly targeted at Arch. Your best bet is to try an earlier or later Arch version.
  • Thank you dstillman. I've now learned that drag&drop with files from my desktop work. But not from the file browsers (I have Thunar and Dolphin installed). That's interesting.
Sign In or Register to comment.