Sync. JS error
I get this kind of error. Untill recently everything was fine. I may have a suspition that the computer (shared) might have had the JS update recently. How to set it all back again? The server test in the settings menu>sync. is OK.
[JavaScript Error: "[Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIFile.permissions]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: chrome://zotero/content/xpcom/storage.js :: _processZipDownload :: line 1234" data: no]" {file: "chrome://zotero/content/xpcom/storage.js" line: 1234}]
[extra output removed — D.S.]
Platform: WinXP; Firefox 3.6.9; JS ?
Zotero 2.1.10
Report id 1497284443 (most recent)
[JavaScript Error: "[Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIFile.permissions]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: chrome://zotero/content/xpcom/storage.js :: _processZipDownload :: line 1234" data: no]" {file: "chrome://zotero/content/xpcom/storage.js" line: 1234}]
[extra output removed — D.S.]
Platform: WinXP; Firefox 3.6.9; JS ?
Zotero 2.1.10
Report id 1497284443 (most recent)
This indicates a permissions problem accessing your Zotero data directory. Fix the permissions and try again. This is often due to security software on your system.
I did all suggested updates with no resolution to the problem. I uninstalled and installed back again zotero by the firefox addons menu - no change. Uninstalled and moved the zotero dir, than installed a fresh copy that had all the settings back again (registry?). No help <<Error rep.1>>.
The dirs (new and old) were partly read only - made them fully accessable - no help. I still get <<Error rep.2>>. Maybe its sth. about the Webdav?
<<Error rep.1>>
[JavaScript Error: "Cr is not defined" {file: "chrome://zotero/content/xpcom/locateManager.js" line: 521}]
[JavaScript Error: "[Exception... "'Invalid MIME type image/vnd.microsoft.icon for icon for engine Pubget Lookup' when calling method: [nsIStreamListener::onStopRequest]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]"]
[JavaScript Error: "[Exception... "'Conflicts have suspended automatic syncing.
Click the sync icon to resolve them.' when calling method: [nsITimerCallback::notify]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "<unknown>" data: no]"]
[JavaScript Error: "_mergeGroup.rightpane.original is undefined" {file: "chrome://zotero/content/merge.js" line: 243}]
[JavaScript Error: "Shortening filename to 'mootools.more.js,scripts.js,vote_plugin.js,medforum.js,xgemius.js,slideshow.js,userprofilecomplement.js,invite.js,mootools-1.2.3.1-scroll.j.js'" {file: "chrome://zotero/content/xpcom/storage.js" line: 1188}]
[JavaScript Error: "[Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIFile.permissions]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: chrome://zotero/content/xpcom/storage.js :: _processZipDownload :: line 1240" data: no]" {file: "chrome://zotero/content/xpcom/storage.js" line: 1240}]
<<Error rep.2>> after removing read-only:
[JavaScript Error: "[Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIFile.permissions]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: chrome://zotero/content/xpcom/storage.js :: _processZipDownload :: line 1240" data: no]" {file: "chrome://zotero/content/xpcom/storage.js" line: 1240}]
[JavaScript Error: "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIFile.permissions]" {file: "chrome://zotero/content/xpcom/sync.js" line: 895}]
[JavaScript Error: "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIFile.permissions]" {file: "chrome://zotero/content/xpcom/sync.js" line: 895}]
(And no need to post full error output. A Report ID will suffice.)
I disabled NOD32 via msconfig cause its a corporate PC and I don't have a password to NOD32 but I have administrative account :)
Files aren't read only any more. I tried to delete, or switch a dir that is thought to cause problems - 4HI8C8WU but it doesn't help.
The other computer with similar config that used to be mine and still has zotero has the same problem!
WebDAV that I use has not reached quota. But I had a suspicion that it could be sth about it cause normal databese entries sync home correctly.
I am getting close to critical mess (yes mess, not mass :) Please help!
If you're logged in, https://www.zotero.org/users/jmeyerszary/items/itemKey/4HI8C8WU should show you the item in question. Delete that from your local version of Zotero and empty the trash, and then try syncing again.
Alternatively, delete the 4HI8C8WU folder from your WebDAV server.
104683267
and btw: in the zotero options menu / general when I clicked upgrade it said up-to-date. The Firefox plugins update function worked.
Re: your error, can you install the latest 3.0 Branch dev XPI and generate a Debug ID for a sync attempt that produces the error? Something changed in Firefox's reporting of long filenames—which is the problem here—and we need to update Zotero to handle it.
1258497661
1209185275 and The Debug ID is D974056865.
Are you running some sort of security or encryption software? If the former, you might try disabling it and performing the sync again, in case it's interfering somehow.
Basically, when Zotero is syncing down a snapshot (which is compressed into a ZIP file at upload time), for each file in the ZIP it creates a test file with the same name in the attachment's directory to make sure it will work—that the filename isn't too long, etc. If that succeeds, it then extracts the file from the ZIP into that same location. In your case, somehow, the test file is working (according to the debug output) but the extraction to the same place is failing with a filename-too-long error.
After this occurs, does the file C:\Documents and Settings\[username]\Dane aplikacji\Mozilla\Firefox\Profiles\r[random].default\zotero\storage\QCC8CPDV\TmllZG9teWthbG5vc[...long string of characters...] exist?
The system is polish and I might have made a snapshot of polish webpage that might have been involved in the problem.
What do you think?
BTW: The branch introduced a minor bug - the newly oped option window has a blank button "start" in the debug log section. Once pressed "stop" shows correctly, and when pressed again "start" appears as it should.
By the way, it's unlikely to help with this, but you're still using a very old version of Firefox, 3.6.18, on this system. You really should be running either the latest 3.6 or, preferably, the latest 10.0 release. That's not really a bug. That's just related to the note about non-English locales on the dev builds page.