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

Hi Dan, hit this problem and it forces me to restart Firefox. Zotero r4957

error report 1854472318

[JavaScript Error: "[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIFile.create]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://zotero/content/xpcom/storage.js :: _processDownload :: line 1145" data: no]" {file: "chrome://zotero/content/xpcom/storage.js" line: 1145}]

[JavaScript Error: "Not deleting symlink 'Dialectica-1995.pdf' in Zotero.Sync.Storage._processDownload()" {file: "chrome://zotero/content/xpcom/storage.js" line: 1095}]

[JavaScript Error: "ZIP entry 'Dialectica-1995.pdf' already exists in Zotero.Sync.Storage._processDownload()" {file: "chrome://zotero/content/xpcom/storage.js" line: 1142}]

[JavaScript Error: "File not found for item 216 after extracting ZIP in Zotero.Sync.Storage._processDownload()" {file: "chrome://zotero/content/xpcom/storage.js" line: 1167}]

Had a whole load of these for a whole load of file.

Regards, Jon
  • Are these errors new? Have there been any recent changes to your directory structure, data directory location, filesystem, volume mounts, etc.? Zotero does a path normalization test during file sync downloads to see if existing files are symlinks, which are mostly broken in Mozilla and therefore skipped over. It thinks all your files are symlinks. (We need to fix that restart error in any case, but it's secondary.)
  • Hi Dan, don't think these problems are new. I think it's related to when I did a whole load of renaming files from metadata. These errors are not happening on my Ubuntu desktop, just my Puppy linux laptop. It's also not all my files (fortunately!); I think it's related to the file title names. The ones it's choking on, contain funky (UTF-8 I think) characters which I think Puppy does not handle well. I've tried getting help from their (normally very helpful) forum but locales are a bit of a problem. Hopefully they'll be moving to full utf-8 support in the future as it's otherwise a great distro for older / underpowered machines.

    At the mo. just fixing the restart error would be great, as the files are there - if I click locate, they are where they should be. Its just if I try to reattach them I get a

    Invalid file name
    Invalid byte sequence in conversion input

    error. Not sure if this is linux or Firefox related

    Regards, Jon

This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.