Zotero FF fails to download an item and then crashes Error 1496844994
I have tried three times now to use the Zotero icon in the address bar to import the information from this webpage:
http://www.icrc.org/eng/resources/documents/publication/pcustom.htm
When I do, a pop-up box appears in the Zotero frame saying it is saving the information, but only shows an X next to "snapshot". If I subsequently try to add the item manually, then it says an error has occurred and that I have to re-start Firefox.
All I can think is that the pdf which it would normally automatically download as an attachment (per my preferences) is more than 600 pages long, and maybe it's too big. But even when I change the preference so that it doesn't automatically attach the pdf, it still does the same thing. Help please?
http://www.icrc.org/eng/resources/documents/publication/pcustom.htm
When I do, a pop-up box appears in the Zotero frame saying it is saving the information, but only shows an X next to "snapshot". If I subsequently try to add the item manually, then it says an error has occurred and that I have to re-start Firefox.
All I can think is that the pdf which it would normally automatically download as an attachment (per my preferences) is more than 600 pages long, and maybe it's too big. But even when I change the preference so that it doesn't automatically attach the pdf, it still does the same thing. Help please?
[JavaScript Error: "[Exception... "Component returned failure code: 0x80630003 (NS_ERROR_STORAGE_CONSTRAINT) [mozIStorageStatement.execute]" nsresult: "0x80630003 (NS_ERROR_STORAGE_CONSTRAINT)" location: "JS frame :: chrome://zotero/content/xpcom/db.js :: Zotero.DBConnection.prototype.query :: line 145" data: no] [QUERY: INSERT OR IGNORE INTO collectionItems VALUES (?,?,?)] [ERROR: insert on table "collectionItems" violates foreign key constraint "fki_collectionItems_itemID_items_itemID"]"]
Dan will need to look at that.
(function is here:)
https://github.com/zotero/zotero/blob/master/chrome/content/zotero/xpcom/utilities.js#L960
I haven't been able to figure out what's going on exactly beyond that.
ZU.itemTypeExists(1)
is functioning as intended here. We should have just been more careful about what we pass to it from the RDF translator. I added a check to make sure we don't consider integers.I am seeing zotero.org responding with the update, but it doesn't look like Chrome is downloading it.