5.0 beta fails to import 4.0 library

Linux arch 4.8.13-1-ARCH #1 SMP PREEMPT Fri Dec 9 07:24:34 CET 2016 x86_64 GNU/Linux

5.0-beta.139+bb665a5

error:
console.error:
Message: Error: Can't queue event outside of a transaction
Stack:
Error: Can't queue event outside of a transaction
Zotero.Notifier</this.queue@chrome://zotero/content/xpcom/notifier.js:177:11
Zotero.Item.prototype._saveData<@chrome://zotero/content/xpcom/data/item.js:1273:4
From previous event:
Zotero.DataObject.prototype.save<@chrome://zotero/content/xpcom/data/dataObject.js:857:10
From previous event:
Zotero.Translate.ItemSaver.prototype.saveItems</<@chrome://zotero/content/xpcom/translation/translate_item.js:131:19
TaskImpl_run@resource://gre/modules/Task.jsm:319:40
TaskImpl@resource://gre/modules/Task.jsm:280:3
createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:254:14
Task_spawn@resource://gre/modules/Task.jsm:168:12
ConnectionData.prototype<.executeTransaction/promise</transactionPromise<@resource://gre/modules/Sqlite.jsm:593:28
TaskImpl_run@resource://gre/modules/Task.jsm:319:40
  • Thanks — we'll look into this. (Just in case you're not aware, though, if you're actually trying to use a 4.0 library in its entirety, you shouldn't use export/import.)
  • I have not seen anywhere mentioned you should not import library from 4.0. Is this a bug or a feature? Because in general logic, switching to any major release of any software its always better to have a clean start, eg import pure data, not just amend existing database. But thank you anyway.
  • Export/import is never recommended in Zotero for a full-library transfer — it loses links to citations in documents, certain fields can be dropped, and if you're using syncing the new version will just pull down the old data and you'll get duplicates of everything.

    The vast majority of users will be auto-upgraded from 4.0 to 5.0, so a direct upgrade is of course something we've been preparing and testing for.
Sign In or Register to comment.