bug report 623366353 trying to empty trash
I followed the instructions for uploading exporting my endnote database and importing to zotero https://www.zotero.org/support/kb/importing_records_from_endnote. I wanted to invoke hidden preferences to not include notes for unmapped items, and include the RIS ID, but I thought I would be allowed to invoke these after selecting the file to import. Once it got started, I let it run to see what would happen...it took about 4 hours on a good computer to import 9800 references. I moved these to the trash with some difficulty, but now when I try to empty the trash, I get the XUL runner error, and now this error. It is not feasible to go through 10000 items and highlight them and delete them bit by bit. I have references I want to keep that are already in Zotero, so starting from a new database is not a good option. Not sure how to empty these from the trash.
Otherwise, you'll just have to delete in batches (1000 items, say) from the trash (and I would recommend syncing in between).
A future version will be better at deleting large numbers of items from the trash at once.
1) I am running Standalone and the Firefox plug in from the same database. Is there a preferred place from where I should do the deletions..Standalone or plugin? Should I have the other one closed when I do them?
2) Using Zotero standalone 4.0.19 on Windows 7, the only way I have found that works to delete items is to select each individual title by clicking on it while holding the CTRL key down, skipping over the two notes attached to each item in the trash. After selecting about 250 (as many as I an tolerate clicking in one session), I press the Delete key, and it takes a few minutes but it will delete those selected items. If I try to select across say 1/10 of all items in the full Trash list, holding down the SHIFT key, and then press Delete, or Shift+DELETE (shift and delete held down at the same time), nothing happens. Am I doing something wrong? Doing it 250 pecks at a time is going to send me to the loony bin.
3) For future cases, when I do have a good .bak file, what impact does restoring a .bak file have on Group Libraries? Do group libraries have separate .bak files?
Edit: I should note that it only keeps a single most recent backup.
1) Pressing the dash (-) key when the focus is on the trash folder in the left pane in Standalone causes the items in the middle pane to collapse, but it also changes focus to the whole library. I didn't notice that the focus had changed to the whole library when I started deleting, but fortunately did after the first one, and restored those first items to the library. To get the collapse to happen in the Trash folder items, the focus (click) has to be on the base document (not a note) of an item in the trash. Then you can highlight hundreds of items and press delete, and they will slowly be deleted. One way maybe to make the collapse more intuitive would be to put a "super arrowhead" in the Title bar of the middle pane, this might be a logical place to get all of the items in the pane to expand or collapse.
2) You are right about the backup...I made the wrong assumption that if I had two .bak files, one named zotero.sqlite.1.bak, and the other named zotero.sqlite.76.bak, that the one numbered 76 would be the more recent one...I didn't look at the dates, and 76 was made last Nov 2013 while 1 was made two days ago, before the big upload. Now that I'm into the deletion process I'll just stick with that unless you tell me there is another reason to go back to a "clean" state.
3) However, I do travel for long periods between Europe and the US, and my zotero database is currently stored on my home computer and synced with your sync servers. If I turn off my home computer and use Zotero when away, syncing with the sync servers, is that OK, or should I move my Zotero files to the NAS device that I have (that is also backed up weekly). I'm planning to do the latter (move to the NAS) unless you tell me otherwise. thanks again.
3)
Aurimas was saying to click in the middle pane before pressing "-", which will collapse the items tree. It doesn't matter what kind of item is selected — the only difference is that, if a child item is selected, focus will be lost (since it disappears), whereas if a parent item is selected, it will remain selected. The higher-numbered backups are made before database upgrades. zotero.sqlite.bak and zotero.sqlite.1.bak (and so on, according to settings) are automatic backups made every 24 hours. What's your reasoning for that? There's nothing wrong with simply syncing with Zotero from another computer while you're away. When you get home your home computer will pull down all the changes you made in the interim. Just make sure you sync your home computer before you depart.