Zotero.Translate.Export

82 views
Skip to first unread message

Emiliano Heyns

unread,
Apr 5, 2023, 7:09:02 AM4/5/23
to zotero-dev
Where does the code for Zotero.Translate.Export live these days? I can't find it in https://github.com/zotero/zotero

Abe Jellinek

unread,
Apr 5, 2023, 11:32:52 AM4/5/23
to zoter...@googlegroups.com
On Apr 5, 2023, at 7:09 AM, Emiliano Heyns <emilian...@iris-advies.com> wrote:

Where does the code for Zotero.Translate.Export live these days? I can't find it in https://github.com/zotero/zotero

--
You received this message because you are subscribed to the Google Groups "zotero-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zotero-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zotero-dev/53ab84e9-4046-440f-a4b9-25b622990a3bn%40googlegroups.com.

Emiliano Heyns

unread,
Apr 7, 2023, 6:02:53 AM4/7/23
to zotero-dev
One user is seeing an occasional error in a function I monkey-patched, I'm having a hard time finding the place where it happens. The stack trace points to here, but I don't know what code gets executed there. Would appreciate help, I'm stuck on this one.

(1)(+0000004): Error: Unsupported type 'undefined' for source
    Zotero.File</this.getContentsAsync<@chrome://zotero/content/xpcom/file.js:292:13
    tryCatcher@resource://zotero/loader.jsm -> resource://zotero/bluebird/util.js:16:16
    module.exports/PromiseSpawn.prototype._promiseFulfilled@resource://zotero/loader.jsm -> resource://zotero/bluebird/generators.js:97:18
    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:915:23
    CapturedTrace@resource://zotero/loader.jsm -> resource://zotero/bluebird/debuggability.js:807:5
    longStackTracesCaptureStackTrace@resource://zotero/loader.jsm -> resource://zotero/bluebird/debuggability.js:482:19
    module.exports/Promise.method/<@resource://zotero/loader.jsm -> resource://zotero/bluebird/method.js:13:9
    Zotero.Translate.Export.prototype.translate@chrome://zotero/content/xpcom/translate/src/translation/translate.js:2585:10
    Zotero_Translate_Export_prototype_translate@chrome://zotero-better-bibtex/content/better-bibtex.js:387536:12
    trampoline@chrome://zotero-better-bibtex/content/better-bibtex.js:2602:66
    _translate@chrome://zotero/content/fileInterface.js:250:7
    exportItemsToClipboard@chrome://zotero/content/fileInterface.js:299:7
    ZoteroPane</this.copySelectedItemsToClipboard@chrome://zotero/content/zoteroPane.js:2655:9
    oncommand@chrome://zotero/content/standalone/standalone.xul:1:1
(3)(+0034004): loading ErrorReport
Reply all
Reply to author
Forward
0 new messages