"file cannot be created"
Hi, I'm new to Zotero, so please forgive what might be a stupid question. I have two PCs, and I've got Zotero Standalone installed on both (I use Chrome, not Firefox.) On both computers, I have a "Work" folder on my desktop, and my Zotero data folder is located inside that, i.e., so the path for the Zotero data folder is exactly the same on both computers. When I've been working on one computer and need to switch over to the other one, I simply copy my "Work" folder to a USB stick, and move it over to the other computer (i.e. deleting the "Work" folder from the desktop and copying the more recent version over from the USB stick.)
Is this having some sort of negative effect on Zotero? I ask because the "sync" function is no longer working properly -- it keeps giving me "file cannot be created" errors, e.g. "The file 'C:\Users\David\Desktop\Work\Zotero Data\storage\4FSWT8F5\6.css' cannot be created."
So, I guess I have two questions. 1) Is there some way of fixing those errors and salvaging my library if it's been damaged? and 2) if the problem is being caused by my attempt to use Zotero on two computers, is there some better way to do that?
Thanks for your help...
Is this having some sort of negative effect on Zotero? I ask because the "sync" function is no longer working properly -- it keeps giving me "file cannot be created" errors, e.g. "The file 'C:\Users\David\Desktop\Work\Zotero Data\storage\4FSWT8F5\6.css' cannot be created."
So, I guess I have two questions. 1) Is there some way of fixing those errors and salvaging my library if it's been damaged? and 2) if the problem is being caused by my attempt to use Zotero on two computers, is there some better way to do that?
Thanks for your help...
(2) I'm confused why you're using both manual library transfers _and_ syncing. If you're doing this to avoid syncing files, then you should disable file syncing. Otherwise, I'm not sure what you're trying to accomplish.
1) It does already exist, yes. I've just found that my data directory sometimes gets set to "read only", whereas sometimes it isn't -- I've no idea what's causing that. But presumably that's what's creating this problem?
2) I'm confused too; technologically illiterate and quite new to this. I guess I wanted to have an additional backup that I could access remotely online, in addition to the copies of my library on both of my computers...
Is there a reason why you don't want to use sync between your two computers? Do you have a particularly large PDF library and you want to avoid paying for online storage? Considering that you're syncing your library anyway...
Yes, sorry, that's right -- I'm using Zotero to organize a large amount of PDFs, so I'd very quickly exceed the online storage. OK, what I've done now is disable file syncing, so that just my references are synced to zotero.org (seems helpful to have a copy of them all there), while keeping copies of my library, including all PDFs and attachments, on both of my computers and a USB stick. Hopefully that'll work -- thanks for bearing with me as I try to get my head around all this...
Zotero can't create a file. It uses a standard command for that. If it can't do that, the reason is either your operating system's permissions or security software. If you're sure you've excluded the former, you're pretty much left with the latter.
zotero's problematic sync'ing behavior and its error reporting looks like zotero is interpreting a "read only" Windows folder property (as one would see it in the property sheet in Windows Explorer with a filled, but **unchecked** box, e.g.) as though it were a Read Only permission issue. The folder "read only" property--which almost every folder on the system has (e.g., %Temp%)--is set by the OS and is quite unrelated to permissions per se. Any file in the folder, like a sync'd 'png' or 'gif', with an archival property set will trigger the setting of this "read only" property for the entire containing folder, while having absolutely no effect on true permissions. Any way, that's the behavior as I have seen it.
(You may be right that XULRunner — the Mozilla platform Zotero is based on that actually performs the file operations — misinterprets the read-only flag, or doesn't take steps to override it the way some other software does. We can look into that and possibly report a bug upstream. But generally, every time we see this it's due to either security software, using Zotero on a network share, or genuine permissions problems.)
Same problem here
"The file 'C:\Users\##my username##\AppData\Roaming\Mozilla\Firefox\Profiles\rkqlqu9p.default-1414840171976\zotero\storage\78NGIA2W\Is the haematopoietic effect of testosterone mediated by erythropoietin The results of a clinical trial in older men - Maggio et al. - 2013 - .pdf' cannot be created."
I had the same error for another entry, which I then deleted from the library on the server before syncing again, but it did not help, it hooked at this one the next time. I also tried to shorten the filename (which was created in Zotero). All entries worked fine on my previous Zotero installation (also plugin on Firefox, same system + version).
I never had problems with syncing ever (long time user), just after I reinstalled Firefox and Zotero on my system today, this appeared.
Win 7 pro x64, Zotero V 4.0.23.1. Tried disabling security software (Mc Afee) as recommended above etc., no success.
Any idea what could help?
Thanks!
https://github.com/zotero/zotero/commit/a737f2c2aa7927d605523d4941cf7ce5577a91b0
you can either wait until 4.0.24 comes out or install the beta version of Zotero:
https://www.zotero.org/support/dev_builds#zotero_40_beta
The 4.0 beta version sorted the issue, smooth syncing!
Have a nice day!