Library not opened

Hi
Today, April 20th, I have not been able to download my library. I have restarted my computer and I have tried to recover it from a security copy using the time machine utility from my Mac. The computer keep on saying there was an error and addressing me to this forum. Would you be so kind to help me? Thanks.
  • What's the actual message you're receiving?

  • UnloadedDataException: Item data not loaded and field 'extra' not set for item 1/P3K2SVVP
    Zotero.Exception.UnloadedDataException@chrome://zotero/content/xpcom/error.js:159:16
    Zotero.Item.prototype.getField@chrome://zotero/content/xpcom/data/item.js:279:11
    Zotero.Item.prototype.migrateExtraFields@chrome://zotero/content/xpcom/data/item.js:5428:23
    Zotero.Schema</this.migrateExtraFields@chrome://zotero/content/xpcom/schema.js:693:21
    From previous event:
    ZoteroService@file:///Applications/Zotero.app/Contents/Resources/components/zotero-service.js:347:7
    @chrome://zotero/content/include.js:4:14
  • If you don't mind uploading your database to the DB Repair Tool and posting the Upload ID here, we can run some tests on the database to figure out what's going on. That would be the fastest way to resolve this. You can ignore the download links the tool provides.

    If you'd prefer not to do that, this might take a bit of back and forth, but go to Tools → Developer → Run JavaScript, run the following code, and let us know the result, either here or in an email to support@zotero.org with a link to this thread:

    var item = Zotero.Items.getByLibraryAndKey(1, 'P3K2SVVP');
    await item.loadAllData()
    return item.toJSON()
  • I wouldn´t mind to upload my library but just now I have access to no one of the references I uploaded to it. Seems to be frozen during the opening process...
  • you don't need to open the library to upload it -- find your zotero data folder, make a copy of the zotero.sqlite file, zip it, and upload it at the link given by dstillman.
    Detailed instructions on that same page.
  • I think I properly uploaded the requested file to the suggested address but I will remain awake to your indications. Thanks.
  • you'd need to ideally provide the upload ID it gives you here
  • The system immediately drives me to the error screen I attached with no option to upload any ID
  • I'm not sure what error screen you're referring to, but looking at the database you sent via email, your database is indeed corrupted, so you will need to use the DB Repair Tool to fix it. Follow the instructions carefully and it will work. You'll need to ZIP your database before uploading. There will also be a delay when Zotero starts up, since it needs to clear part of your full-text word index due to corruption. (You can reindex files from the Search pane of the preferences.) But I tested this with your database and it indeed works.
  • Thank you so much for your help. I referred to the error screen previously included in this discussion. Anyway, I will proceed following your guidelines and I will come back to you to let you know if it worked.
  • Thanks to your help my database is working again. One more question: should I delete the zotero.sqlite.bak and zotero.sqlite.1.bak after the restoring from the zotero folder? Thanks again.
  • No, those are automatic backups maintained by Zotero.
Sign In or Register to comment.