Unable to attach link to file
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
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?
Debug ID: D77978853
[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; 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"
'filename' => "chrome://zotero/content/xpcom/file.js"
'lineNumber' => 330
'columnNumber' => 0
'location' => [object XPCWrappedNative_NoHelper] {
'QueryInterface' => function(...){...}
'language' => 2
'languageName' => "JavaScript"
'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"
'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"
'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"
'filename' => "chrome://zotero/content/xpcom/attachments.js"
'name' => "_addToDB"
'lineNumber' => 1409
'sourceLine' => [object Null] {}
'caller' => [object XPCWrappedNative_NoHelper] {
<<Maximum depth reached>>...
}
}
}
}
}
'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?
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
This probably won't happen very often, but Zotero should handle this a bit more gently. I.e. right now, Zotero needs to be restarted after attempting to attach a link.
I have the same error, but i don't know if it's the same issue. 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,