Snapshot storage files with @22 extensions
Just wondering, each time I take a snapshot of a webpage, the storage folder ends up full of files with @22 extensions, sometimes over a hundred. I've been deleting them, and the snapshots look mostly the same - is this ok? Or am i deleting useful files?
The files have names like "01.gif@22" and are all the same size. They aren't even .gif files - if you look inside, it's an html file of the nature.com homepage.
So, instead of saving .gif files for the snapshot, the translator is saving ~200 copies of the same web page at ~150KB a pop. Obviously this is not right, and it eats disk space.
Is this bug known?
URL (e.g.): http://www.nature.com/nature/journal/v415/n6867/full/415039a.html
Zotero: 2.1.10
Firefox: 3.6.13
OS: Xubuntu Linux 10.10
URL: same
Zotero: same
Firefox: 5.0.1
OS: Mac OS X 10.6.8
Curious to hear if anyone else can see this.
1) navigate to the nature URL above
2) save page to Zotero
3) find item in library, click + to expand
4) right click on Nature Snapshot and choose "show file"
See if there's a bunch of @22 files in that directory.
You can likely delete any @22 files you find without any dire consequences (and we might want to clean them up automatically at some point). I believe they'd all be invalid.
If you're using syncing, after deleting the files you can resave the main HTML file (or, in OS X or Linux, use the touch command) such that the modification time changes, and Zotero will resync the pruned version.
I believe you have just set a bug-fix speed record. Well done.
Because these are located in many different folders, manual touch is not very suitable.
Some sample content (vid-collapsed.png@22)
404 Not Found
------------------------------------
nginx/0.6.36
or (gvy8rtidnbk.gif@22)
/*bcs*/
So automatic cleaning would be much better.
Besides, I just noticed, that there are also valid png and gif files among old snapshots. So I'm no longer sure, what I will miss after cleanup.
Example of a useful file (created by a zotero-snapshot in october 2010):
"key_visual8.jpg@22" is a true .jpg-file
from URL http://www.paarkommunikation.pflugweb.de/2.html
If a create a snapshot with the present version of zotero (3.0.3), no image is displayed, when I show the snapshot by double-clicking it inside the library (URL:zotero://attachment/723/).
The images are stored though, and are being displayed correctly, if I open the stored page as a file. (URL:file:///C:/Zotero-Data/storage/WF2KGXZR/2.html)
In this case this is not a problem, but certainly, there is a bug in the snapshot code. I don't know about the bugs on the webpage itself, though.
Apart from this little bug, zotero works great.