too long filenames
I use two machines (work and mobile) sync their copy of Zotero storage with a third machine (home). I prefer to use unison for this.
I am having difficulty with transferring Zotero storage
from home: ext4 (rw,nosuid,nodev,uhelper=udisks)
to mobile: ext4 (rw)
However,
from work: ext4 (rw)
to home: ext4 (rw,nosuid,nodev,uhelper=udisks)
seem to work fine.
Any suggestion is welcome.
here is a log for errors:
Failed: Error in processing a transfer instruction:
File name too long [open(/home/futaz/Zotero/storage/.unison.EA8ANCBD.216e23d5f1eb3b900432d10b9d2e8107.unison.tmp/p0tlsvb29+fn540ih6qaaafxjrefuenq00ekogdama0b3b9nx8p+figohgnjc4omosqvgk4ivdziufojgig9fcuqscq00ndhmfjtfuhynqs64qlk3y2ry2pi1zdrygdd0tp3rqpwfp3upuwadailgjuqqwapqaaaaaelftksuqmcc@22)]
Failed: Error in processing a transfer instruction:
File name too long [open(/home/futaz/Zotero/storage/.unison.U9E8QTQI.216e23d5f1eb3b900432d10b9d2e8107.unison.tmp/site=cnn_money+cnn_money_position=1x1_over+cnn_money_rollup=business_news+cnn_money_section=jobs_and_economy+page.allowcompete=no+tile=1318952231992+page.allowcompete=yes)]
Failed: Error in processing a transfer instruction:
File name too long [open(/home/futaz/Zotero/storage/.unison.QVSM8PA5.216e23d5f1eb3b900432d10b9d2e8107.unison.tmp/go8laaaacv0rvh0y3jlyxrllwrhdguamjawos0woc0wovqxotownto0msswmdowmcyo2teaaaaldevydg1vzglmes1kyxrladiwmdktmdgtmdlumtk6mdu6ndermda6mdb5v6zlaaaagxrfwhrtb2z0d2fyzqbbzg9izsbjbwfnzvjlywr5ccllpaaaaabjru5erkjggg==@22)]
Failed: Error in processing a transfer instruction:
File name too long [open(/home/futaz/Zotero/storage/.unison.PS4TKHWG.216e23d5f1eb3b900432d10b9d2e8107.unison.tmp/site=cnn_money+cnn_money_position=1x1_over+cnn_money_rollup=business_news+cnn_money_section=jobs_and_economy+page.allowcompete=no+tile=1318952221512+page.allowcompete=yes)]
failed: storage/EA8ANCBD
failed: storage/U9E8QTQI
failed: storage/QVSM8PA5
failed: storage/PS4TKHWG
failed: storage/EXJ88C6Q
I am having difficulty with transferring Zotero storage
from home: ext4 (rw,nosuid,nodev,uhelper=udisks)
to mobile: ext4 (rw)
However,
from work: ext4 (rw)
to home: ext4 (rw,nosuid,nodev,uhelper=udisks)
seem to work fine.
Any suggestion is welcome.
here is a log for errors:
Failed: Error in processing a transfer instruction:
File name too long [open(/home/futaz/Zotero/storage/.unison.EA8ANCBD.216e23d5f1eb3b900432d10b9d2e8107.unison.tmp/p0tlsvb29+fn540ih6qaaafxjrefuenq00ekogdama0b3b9nx8p+figohgnjc4omosqvgk4ivdziufojgig9fcuqscq00ndhmfjtfuhynqs64qlk3y2ry2pi1zdrygdd0tp3rqpwfp3upuwadailgjuqqwapqaaaaaelftksuqmcc@22)]
Failed: Error in processing a transfer instruction:
File name too long [open(/home/futaz/Zotero/storage/.unison.U9E8QTQI.216e23d5f1eb3b900432d10b9d2e8107.unison.tmp/site=cnn_money+cnn_money_position=1x1_over+cnn_money_rollup=business_news+cnn_money_section=jobs_and_economy+page.allowcompete=no+tile=1318952231992+page.allowcompete=yes)]
Failed: Error in processing a transfer instruction:
File name too long [open(/home/futaz/Zotero/storage/.unison.QVSM8PA5.216e23d5f1eb3b900432d10b9d2e8107.unison.tmp/go8laaaacv0rvh0y3jlyxrllwrhdguamjawos0woc0wovqxotownto0msswmdowmcyo2teaaaaldevydg1vzglmes1kyxrladiwmdktmdgtmdlumtk6mdu6ndermda6mdb5v6zlaaaagxrfwhrtb2z0d2fyzqbbzg9izsbjbwfnzvjlywr5ccllpaaaaabjru5erkjggg==@22)]
Failed: Error in processing a transfer instruction:
File name too long [open(/home/futaz/Zotero/storage/.unison.PS4TKHWG.216e23d5f1eb3b900432d10b9d2e8107.unison.tmp/site=cnn_money+cnn_money_position=1x1_over+cnn_money_rollup=business_news+cnn_money_section=jobs_and_economy+page.allowcompete=no+tile=1318952221512+page.allowcompete=yes)]
failed: storage/EA8ANCBD
failed: storage/U9E8QTQI
failed: storage/QVSM8PA5
failed: storage/PS4TKHWG
failed: storage/EXJ88C6Q
This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
Upgrade Storage
Zotero caps filenames that are too long for the file system, but if unison adds another lengthy string in there that might happen - since these aren't very many, I'd just manually shorten the filenames (from the Zotero interface so the link btw. file and Zotero doesn't get broken.).
Searching eveything I cannot locate go8laaaacv0rvh0y3jlyxrllwrhdguamjawos0woc0wovqxotownto0msswmdowmcyo2teaaaaldevydg1vzglmes1kyxrladiwmdktmdgtmdlumtk6mdu6ndermda6mdb5v6zlaaaagxrfwhrtb2z0d2fyzqbbzg9izsbjbwfnzvjlywr5ccllpaaaaabjru5erkjggg==@22) for instance.
Can you help locating them?
Thanks
QVSM8PA5 in the storage directory.
we'll have to disagree about the file length issue.
Unison is both creating the files that are too long (which I don't believe are necessary for rsync) and is hanging on the sync, so yeah, I'd say this is a Unison issue.
In any case, though - you're certainly free to use custom strategies for syncing files, but you can't expect Zotero devs to troubleshoot them for you.
I do not say unison doesn't have a problem. I say Zotero also have a problem. Do I get it wrong? Isn't it Zotero who name the file as: go8laaaacv0rvh0y3jlyxrllwrhdguamjawos0woc0wovqxotownto0msswmdowmcyo2teaaaaldevydg1vzglmes1kyxrladiwmdktmdgtmdlumtk6mdu6ndermda6mdb5v6zlaaaagxrfwhrtb2z0d2fyzqbbzg9izsbjbwfnzvjlywr5ccllpaaaaabjru5erkjggg
As for the file name - Zotero saved it, it didn't create it. This is most likely from a website snapshot, so it was the designer of the webpage who created the filename.
zotero:// URI won't work on the standalone version which I am using.
Aside, I do not see why Zotero must use the funny name a website author gave to some file while saving the snapshot.