Unable to attach link to file

188BET靠谱吗I'm unable to attach link to file in Zotero Standalone (works in Firefox using the same profile) on Windows 7 x64

Debug ID: D77978853

188BET靠谱吗[JavaScript Error: "NS_ERROR_FILE_NOT_FOUND: Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsILocalFile.isDirectory]" {file: "chrome://zotero/content/xpcom/file.js" line: 330}]

[JavaScript Error: "State check failed due to transaction in progress"]

version => 4.0.8, platform => Win32, oscpu => Windows NT 6.1!188BET靠谱吗WOW64, locale => en-US, appName => Zotero, appVersion => 4.0.8

=========================================================

[...]

(5)(+0000000): SELECT valueID FROM itemDataValues WHERE value=?

(5)(+0000000): INSERT INTO itemDataValues VALUES (?,?)

(5)(+0000000): INSERT INTO itemData VALUES (?,?,?)

(5)(+0000000): Flagging nested transaction for rollback

(3)(+0000001):
'QueryInterface' => function(...){...}
'message' => "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsILocalFile.isDirectory]"
'result' => 2152857618
'name' => "NS_ERROR_FILE_NOT_FOUND"
188BET靠谱吗'filename' => "chrome://zotero/content/xpcom/file.js"
'lineNumber' => 330
'columnNumber' => 0
'location' => [object XPCWrappedNative_NoHelper] {
'QueryInterface' => function(...){...}
'language' => 2
'languageName' => "JavaScript"
188BET靠谱吗'filename' => "chrome://zotero/content/xpcom/file.js"
'name' => [object Null] {}
'lineNumber' => 330
'sourceLine' => [object Null] {}
'caller' => [object XPCWrappedNative_NoHelper] {
'QueryInterface' => function(...){...}
'language' => 2
'languageName' => "JavaScript"
188BET靠谱吗'filename' => "chrome://zotero/content/xpcom/attachments.js"
'name' => [object Null] {}
'lineNumber' => 1054
'sourceLine' => [object Null] {}
'caller' => [object XPCWrappedNative_NoHelper] {
'QueryInterface' => function(...){...}
'language' => 2
'languageName' => "JavaScript"
188BET靠谱吗'filename' => "chrome://zotero/content/xpcom/data/item.js"
'name' => [object Null] {}
'lineNumber' => 1536
'sourceLine' => [object Null] {}
'caller' => [object XPCWrappedNative_NoHelper] {
'QueryInterface' => function(...){...}
'language' => 2
'languageName' => "JavaScript"
188BET靠谱吗'filename' => "chrome://zotero/content/xpcom/attachments.js"
'name' => "_addToDB"
'lineNumber' => 1409
'sourceLine' => [object Null] {}
'caller' => [object XPCWrappedNative_NoHelper] {
< >...
}
}
}
}
}
'inner' => [object Null] {}
'data' => [object Null] {}
'initialize' => function(...){...}

The file is clearly there, because I am able to see it in the file picker, on my Desktop, and it works from Firefox.I tested with multiple files.

Any thoughts?Can someone reproduce?
  • 188BET靠谱吗If you've enabled relative linked attachment paths, make sure that the base directory is set properly in Zotero Standalone.
  • Ah, yes.I forgot I had set it for testing purposes.It was set to a directory that I later removed from my system.

    188BET靠谱吗This probably won't happen very often, but Zotero should handle this a bit more gently.I.e.188BET靠谱吗right now, Zotero needs to be restarted after attempting to attach a link.
  • Hello,

    I have the same error, but i don't know if it's the same issue.188BET靠谱吗The error appears when i am trying to synchronize the database on zotero.

    Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsILocalFile.isDirectory]

    I am using Chrome.

    Any thought on the reasons for this?the directory is the right one

    thanks in advance,
  • calamityloise: Please start a new thread — if this happens during syncing, it wouldn't be related to the base directory feature that this thread was about.
Sign Inor Registerto comment.