Zotero update fails because it was unable to create a file
I am running Linux Mint 17 with Firefox 32 and Zotero 4.0.22 on a brand new desktop that has never synced to zotero before. When I try to sync my account with zotero servers if fails with the error:
The file '22BU8RKA/png-base64,ivborw0kggoaaaansuheugaaaaoaaaakcayaaacnms+9aaaagxrfwhrtb2z0d2fyzqbbzg9izsbjbwfnzvjlywr5ccllpaaaabtjrefuenpizgbgagagajaxealgfvjhiucaaqdcngcugqgmqwaaaabjru5erkjggg==' could not be created in the Zotero 'storage' directory.
I filed a report at: 1203667411.
Please help me with this so I can finish syncing.
Thanks,
David
The file '22BU8RKA/png-base64,ivborw0kggoaaaansuheugaaaaoaaaakcayaaacnms+9aaaagxrfwhrtb2z0d2fyzqbbzg9izsbjbwfnzvjlywr5ccllpaaaabtjrefuenpizgbgagagajaxealgfvjhiucaaqdcngcugqgmqwaaaabjru5erkjggg==' could not be created in the Zotero 'storage' directory.
I filed a report at: 1203667411.
Please help me with this so I can finish syncing.
Thanks,
David
png-base64,ivborw0kggoaaaansuheugaaaaoaaaakcayaaacnms+9aaaagxrfwhrtb2z0d2fyzqbbzg9izsbjbwfnzvjlywr5ccllpaaaabtjrefuenpizgbgagagajaxealgfvjhiucaaqdcngcugqgmqwaaaabjru5erkjggg==
All of those should be allowed characters under Linux, but I see some bug reports popping up regarding commas. The file length should be within the 255 character limit (it's at 175).If you want a quick solution and you don't care about the Snapshot attachment for the item in question, you can go to https://www.zotero.org/dmk/items/itemKey/22BU8RKA and delete (move to Trash), then empty your Trash online. The sync should then go through.
In general, looks like we need to fix the Snapshot function to not save data URIs as files.
dmk, I need to do a bit more testing, but I'll put out a beta version later today that should handle this better. Stay tuned.
For snapshots it shortens but doesn't relink (since, as you say, that would be quite difficult), so those just break and stay in the attachment directory. We could probably start calling this function from the snapshot-saving code, though.
Sorry for the radio silence - I have been busy with other things. Encryption and long filenames are indeed the problems here - my home is encrypted.
I would be happy to test a fix, just let me know when to grab the beta. I deleted the attachment mentioned above, but it just advances to the next one and has the same problem...
Thanks,
David