wshanks / lyz

LyZ is a plugin for Zotero, which is intended to make working with LyX/Zotero more pleasant.
GNU General Public License v3.0
108 stars 13 forks source link

Lyz can't add reference to Lyx #36

Closed maras closed 3 years ago

maras commented 3 years ago

I wasn't using Zotero with Lyx about a week and now I suddenly can't insert reference with "Cite in Lyx" or "Update BibTeX" – selecting those does nothing.

I see such error:

(3)(+0000000): WARNING: Items.parseLibraryKeyHash() is deprecated -- use .parseLibraryKey() instead

(3)(+0000001): WARNING: Items.getLibraryKeyHash() is deprecated -- use .libraryKey instead

(3)(+0000000): WARNING: Items.makeLibraryKeyHash() is deprecated -- use .libraryKey instead

(3)(+0000006): {better-bibtex} +8339 worker: {"autoExportDelay":5,"avgstartup":1,"caching":true,"startup":3,"workers":{"disabled":false,"running":{},"startup":1,"total":1}}

(1)(+0000003): TypeError: A value undefined was yielded that could not be treated as a promise See http://goo.gl/MqrFmX From coroutine: module.exports/PromiseSpawn.prototype._continue@resource://zotero/loader.jsm -> resource://zotero/bluebird/generators.js:159:21 module.exports/PromiseSpawn.prototype._promiseFulfilled@resource://zotero/loader.jsm -> resource://zotero/bluebird/generators.js:99:5 module.exports/Promise.coroutine/<@resource://zotero/loader.jsm -> resource://zotero/bluebird/generators.js:201:9 From previous event: captureStackTrace@resource://zotero/loader.jsm -> resource://zotero/bluebird/debuggability.js:829:23 CapturedTrace@resource://zotero/loader.jsm -> resource://zotero/bluebird/debuggability.js:721:5 longStackTracesCaptureStackTrace@resource://zotero/loader.jsm -> resource://zotero/bluebird/debuggability.js:400:19 module.exports/Promise.prototype._then@resource://zotero/loader.jsm -> resource://zotero/bluebird/promise.js:232:9 module.exports/Promise.prototype._passThrough@resource://zotero/loader.jsm -> resource://zotero/bluebird/finally.js:94:12 module.exports/Promise.prototype.finally@resource://zotero/loader.jsm -> resource://zotero/bluebird/finally.js:103:12 PromiseSpawn@resource://zotero/loader.jsm -> resource://zotero/bluebird/generators.js:36:25 module.exports/Promise.coroutine/<@resource://zotero/loader.jsm -> resource://zotero/bluebird/generators.js:197:21 oncommand@chrome://zotero/content/standalone/standalone.xul:1:1

(3)(+0000173): {Better BibLaTeX worker 1} {better-bibtex Better BibLaTeX (worker)} +null Installed postscript: "this.inPostscript = true; if (this.item.itemType === 'manuscript' && Translator.BetterBibLaTeX) {\nif (this.item.place) { this.add({ name: 'location', value: this.item.place }); }\n if (this.item.archive) { this.add({ name: 'archive', value: this.item.archive }); }\nif (this.item.archiveLocation) { this.add({ name: 'shelf', value: this.item.archiveLocation }); }\nif (this.item.libraryCatalog) { this.add({ name: 'category', value: this.item.libraryCatalog }); }\nif (this.item.callNumber) { this.add({ name: 'box', value: this.item.callNumber }); }\nif (item.rights) { reference.add({ name: 'shortarchive', value: item.rights }); }\n{ reference.add({ name: 'pagination', value: \"folio\" }); }\n}\n if (item.itemType === 'book' && Translator.BetterBibLaTeX) {\nif (item.volumeTitle) { reference.add({ name: 'part', value: item.volumeTitle }); }\n}\n if (item.itemType === 'bookSection' && Translator.BetterBibLaTeX) {\nif (item.volumeTitle) { reference.add({ name: 'part', value: item.volumeTitle }); }\n}\n if (item.itemType === 'newspaperArticle' && Translator.BetterBibLaTeX) {\nif (item.edition) { reference.add({ name: 'number', value: item.edition }); }\n}; this.inPostscript = false;"

(3)(+0000002): Translate: Translation successful

(5)(+0000000): Translate: Running handler 0 for done

(3)(+0011442): Starting full-text content processor
retorquere commented 3 years ago

The problem is on the BBT end. I'm looking into it.

maras commented 3 years ago

It is working now: https://github.com/retorquere/zotero-better-bibtex/issues/1761