Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better BibLaTeX exporter hangs on exporting progress screen without any file output #1180

Closed
schmittlauch opened this issue May 6, 2019 · 28 comments
Labels

Comments

@schmittlauch
Copy link

schmittlauch commented May 6, 2019

Description: The Better BibLaTeX exporter does not produce a bibliography file anymore and hangs at the export progress screen infinitely.
The options used were "export notes" and "keep up to date".
This used to work before, and I discovered the issue by noticing that my bibliography file was not kept up to date anymore.

Report ID: GQGYUH5W-euc

Zotero version: 5.0.66

Better BibTeX version: 5.1.76

Exporter used: Better BibLaTeX with "export notes" and "keep up to date"

Expected behavior: The exporter creates a valid BibLaTeX file and finishes after some time.

Actual behavior: The exporter does not even create a file and hangs at the progress meter.

The Zotero debug log contains several JS exceptions and will be included in the next issue comment. As the progress screen blocked any interaction with the main Zotero window, I could only create a Better-BibTeX report before actually exporting anything.

@retorquere
Copy link
Owner

You can also get a log by starting Zotero with zotero -ZoteroDebugText > ~/zotero.log 2>&1. That will produce a log in ~/zotero.log.

@schmittlauch
Copy link
Author

@retorquere
Copy link
Owner

This is an existing auto-export that no longer updates, right? Not a new auto-export you're setting up?

@retorquere
Copy link
Owner

retorquere commented May 6, 2019

I see an error in the gist, but it's a Zotero error, not a BBT error. It's an NS_ERROR_FILE_NOT_FOUND, but that usually only happens when you export to a directory that doesn't exist, but that in turn should not be possible using the Zotero UI as it has you pick a file. Yet I don't see auto-export activity in the gist log.

@retorquere
Copy link
Owner

(I can't reproduce it yet locally given the existing references you sent, those export cleanly with your settings)

@blip-bloop
Copy link
Collaborator

🤖 this is your friendly neighborhood build bot announcing test build 5.1.76.3934 ("don't log full translator")

Install in Zotero by downloading test build 5.1.76.3934, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

@retorquere
Copy link
Owner

Ignore @blip-bloop for now.

@schmittlauch
Copy link
Author

schmittlauch commented May 6, 2019

This is an existing auto-export that no longer updates, right? Not a new auto-export you're setting up?

It used to be, then I deleted the .bib file to start from scratch, hoping this would fix it.

Interestingly, even the built-in BibLaTeX exporter fails when exporting to the previously used bib file:


(1)(+0000018): [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIFileOutputStream.init]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: chrome://zotero/content/xpcom/translation/translate_firefox.js :: Zotero.Translate.IO.Write :: line 950" data: no] Zotero.Translate.IO.Write@chrome://zotero/content/xpcom/translation/translate_firefox.js:950:3 rest@chrome://zotero/content/xpcom/translation/translate.js:2605:18 Zotero.Translate.Export.prototype._prepareTranslation</<@chrome://zotero/content/xpcom/translation/translate.js:2587:35 tryCatcher@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/util.js:16:16 module.exports/Promise.prototype._settlePromiseFromHandler@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/promise.js:512:13 module.exports/Promise.prototype._settlePromise@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/promise.js:569:13 module.exports/Promise.prototype._settlePromiseCtx@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/promise.js:606:5 Async.prototype._drainQueue@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/async.js:138:9 From previous event: captureStackTrace@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/debuggability.js:829:23 CapturedTrace@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/debuggability.js:721:5 longStackTracesCaptureStackTrace@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/debuggability.js:400:19 module.exports/Promise.prototype._then@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/promise.js:232:9 module.exports/Promise.prototype._passThrough@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/finally.js:94:12 module.exports/Promise.prototype.finally@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/finally.js:103:12 PromiseSpawn@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/generators.js:36:25 module.exports/Promise.coroutine/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/generators.js:197:21 exportCollection@chrome://zotero/content/fileInterface.js:169:5 ZoteroPane</_collectionContextMenuOptions<.oncommand@chrome://zotero/content/zoteroPane.js:2452:22 ZoteroPane</this.onCollectionContextMenuSelect@chrome://zotero/content/zoteroPane.js:2367:7 oncommand@chrome://zotero/content/standalone/standalone.xul:1:1

But exporting to another directory works fine with the built-in exporter. Could really be a Zotero bug

@schmittlauch
Copy link
Author

Is there a possibility to list and/or cancel the existing file-auto-update subscriptions of Better BibTeX? Maybe there's an orphaned one lying around.

@retorquere
Copy link
Owner

I have a build coming up in 10 minutes or so that should help -- please don't remove the existing AE yet so that I can test this, but I think the problem is that inside Zotero, your export path looks like

/home/spiollinux/Seafile/Studium/Semester9/Gro?~_er Beleg/paper_hashtag_federation/literature.bib

which I'm guessing is not how it looks to you.

@retorquere
Copy link
Owner

You can see your existing AEs in the BBT preferences.

@schmittlauch
Copy link
Author

Ah, nobody ever expected paths to be non-ASCII only :D

@retorquere
Copy link
Owner

I don't do anything that requires ASCII, I just record the path as it is given to me by Zotero -- unfortunately, unicode handling in javascript is a mess. It's encouraging that at least also standard BibTeX fails -- at least it's not a regression in BBT maybe.

@blip-bloop
Copy link
Collaborator

🤖 this is your friendly neighborhood build bot announcing test build 5.1.76.3937 ("Really weird that we should suddenly be getting unicode mangling")

Install in Zotero by downloading test build 5.1.76.3937, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

@retorquere
Copy link
Owner

A little longer than 10 minutes, but try 3937.

@schmittlauch
Copy link
Author

@retorquere After installing the test build, Zotero always asks me for a restart because of newly added translator modules. But that happens after each restart.

(3)(+0000002): {better-bibtex +5904} Startup progress: Warten auf Zotero-Übersetzer took 5.904 s

(3)(+0000000): {better-bibtex +0} Startup progress: Starte Serialisierungs-Cache...

(3)(+0000000): {better-bibtex +0} events: handler registered for preference-changed

(3)(+0000000): {better-bibtex +0} JournalAbbrev.reset

(3)(+0000000): {better-bibtex +0} JournalAbbrev.reset: {"style":""}

(3)(+0000000): {better-bibtex +0} JournalAbbrev.init: done

(3)(+0000000): {better-bibtex +0} Startup progress: Starte Serialisierungs-Cache took 0 s

(3)(+0000000): {better-bibtex +0} Startup progress: Lade Zeitschriften-Abkürzer...

(3)(+0000000): {better-bibtex +0} Startup progress: Lade Zeitschriften-Abkürzer took 0 s

(3)(+0000000): {better-bibtex +0} Startup progress: Installiere kompilierte Export-Module...

(3)(+0000004): {better-bibtex +4} Translators.install: installed = true

(3)(+0000000): Getting contents of /home/spiollinux/Zotero/translators/Better BibTeX Citation Key Quick Copy.js

(3)(+0000008): {better-bibtex +8} Translators.install: Better CSL YAML replacing undefined with 2019-05-06 17:10:32 (1080bb4b6ed72fa636332d93164937d3-c60cf06859f43bc0d3ef8da6e128f363)

(4)(+0000006): SELECT key AS domainPath, value AS format FROM settings WHERE setting='quickCopySite'

(4)(+0000002): Committed DB transaction TJfGbD7C

(4)(+0000000): Beginning DB transaction CS6DJD6q

(3)(+0000002): Saving translator 'Better CSL YAML'

(3)(+0000002): { "translatorID": "0f238e69-043e-4882-93bf-342de007de19" "translatorType": 2 "label": "Better CSL YAML" "creator": "Emiliano heyns" "target": "yaml" "minVersion": "4.0.27" "maxVersion": "" "priority": 100 "inRepository": false "configOptions": { "hash": "1080bb4b6ed72fa636332d93164937d3-c60cf06859f43bc0d3ef8da6e128f363" } "displayOptions": { "keepUpdated": false } "browserSupport": "gcsv" "lastUpdated": "2019-05-06 17:10:32" }

(4)(+0000010): CREATE TEMPORARY TABLE tagDelete AS SELECT tagID FROM tags WHERE tagID NOT IN (SELECT tagID FROM itemTags)

(4)(+0000002): CREATE INDEX tagDelete_tagID ON tagDelete(tagID)

(4)(+0000002): SELECT tagID AS id, name FROM tagDelete JOIN tags USING (tagID)

(4)(+0000000): DROP TABLE tagDelete

(3)(+0000002): {better-bibtex +28} Translator.install {"translatorID":"0f238e69-043e-4882-93bf-342de007de19","translatorType":2,"label":"Better CSL YAML","creator":"Emiliano heyns","target":"yaml","minVersion":"4.0.27","maxVersion":"","priority":100,"inRepository":false,"configOptions":{"hash":"1080bb4b6ed72fa636332d93164937d3-c60cf06859f43bc0d3ef8da6e128f363"},"displayOptions":{"keepUpdated":false},"browserSupport":"gcsv","lastUpdated":"2019-05-06 17:10:32"} succeeded

(3)(+0000000): {better-bibtex +0} Translators.install: installed = true

(3)(+0000002): {better-bibtex +2} Translators.install: Citation graph replacing undefined with 2019-05-06 17:10:32 (6fe297b7f506baa6891c1f3c60946cd8-45cd41e0f0886212f775ff496e60c0c4)

(4)(+0000006): Committed DB transaction CS6DJD6q

(4)(+0000000): Beginning DB transaction XHIPMBYY

(3)(+0000002): Saving translator 'Citation graph'

(3)(+0000000): { "translatorID": "19afa3fd-1c7f-4eb8-a37e-8d07768493e8" "translatorType": 2 "label": "Citation graph" "creator": "Emiliano heyns" "target": "gml" "minVersion": "4.0.27" "maxVersion": "" "priority": 100 "inRepository": false "configOptions": { "hash": "6fe297b7f506baa6891c1f3c60946cd8-45cd41e0f0886212f775ff496e60c0c4" } "browserSupport": "gcsv" "lastUpdated": "2019-05-06 17:10:32" }

(4)(+0000004): Committed DB transaction XHIPMBYY

(3)(+0000000): Purged data tables in 58 ms

(3)(+0000002): {better-bibtex +14} Translator.install {"translatorID":"19afa3fd-1c7f-4eb8-a37e-8d07768493e8","translatorType":2,"label":"Citation graph","creator":"Emiliano heyns","target":"gml","minVersion":"4.0.27","maxVersion":"","priority":100,"inRepository":false,"configOptions":{"hash":"6fe297b7f506baa6891c1f3c60946cd8-45cd41e0f0886212f775ff496e60c0c4"},"browserSupport":"gcsv","lastUpdated":"2019-05-06 17:10:32"} succeeded

(3)(+0000000): {better-bibtex +0} Translators.install: installed = true

(3)(+0000000): {better-bibtex +0} Translators.install: BetterBibTeX JSON replacing undefined with 2019-05-06 17:10:32 (e71bafc74fd9463e32e018a190832a99-d9525b9cd18b860be2ce0b44821c1c5a)

(3)(+0000002): Saving translator 'BetterBibTeX JSON'

(3)(+0000002): { "translatorID": "36a3b0b5-bad0-4a04-b79b-441c7cef77db" "translatorType": 3 "label": "BetterBibTeX JSON" "creator": "Emiliano Heyns" "target": "json" "minVersion": "4.0.27" "maxVersion": "" "priority": 99 "inRepository": false "configOptions": { "async": true "getCollections": true "hash": "e71bafc74fd9463e32e018a190832a99-d9525b9cd18b860be2ce0b44821c1c5a" } "displayOptions": { "exportNotes": true "exportFileData": false } "browserSupport": "gcsv" "lastUpdated": "2019-05-06 17:10:32" }

(3)(+0000002): {better-bibtex +6} Translator.install {"translatorID":"36a3b0b5-bad0-4a04-b79b-441c7cef77db","translatorType":3,"label":"BetterBibTeX JSON","creator":"Emiliano Heyns","target":"json","minVersion":"4.0.27","maxVersion":"","priority":99,"inRepository":false,"configOptions":{"async":true,"getCollections":true,"hash":"e71bafc74fd9463e32e018a190832a99-d9525b9cd18b860be2ce0b44821c1c5a"},"displayOptions":{"exportNotes":true,"exportFileData":false},"browserSupport":"gcsv","lastUpdated":"2019-05-06 17:10:32"} succeeded

(3)(+0000000): {better-bibtex +0} Translators.install: installed = true

(3)(+0000004): {better-bibtex +4} Translators.install: Better BibTeX Citation Key Quick Copy replacing undefined with 2019-05-06 17:10:32 (42417dd2bd21c624a384e95976ce486e-be4de93098e45b13ec42986fe5a07408)

(3)(+0000002): Saving translator 'Better BibTeX Citation Key Quick Copy'

(3)(+0000002): { "translatorID": "a515a220-6fef-45ea-9842-8025dfebcc8f" "translatorType": 2 "label": "Better BibTeX Citation Key Quick Copy" "creator": "Emiliano heyns" "target": "txt" "minVersion": "4.0.27" "priority": 100 "inRepository": false "configOptions": { "hash": "42417dd2bd21c624a384e95976ce486e-be4de93098e45b13ec42986fe5a07408" } "displayOptions": { "quickCopyMode": "" } "browserSupport": "gcsv" "lastUpdated": "2019-05-06 17:10:32" }

(3)(+0000008): {better-bibtex +12} Translator.install {"translatorID":"a515a220-6fef-45ea-9842-8025dfebcc8f","translatorType":2,"label":"Better BibTeX Citation Key Quick Copy","creator":"Emiliano heyns","target":"txt","minVersion":"4.0.27","priority":100,"inRepository":false,"configOptions":{"hash":"42417dd2bd21c624a384e95976ce486e-be4de93098e45b13ec42986fe5a07408"},"displayOptions":{"quickCopyMode":""},"browserSupport":"gcsv","lastUpdated":"2019-05-06 17:10:32"} succeeded

(3)(+0000002): {better-bibtex +2} Translators.install: installed = true

(3)(+0000012): {better-bibtex +12} Translators.install: Better BibTeX replacing undefined with 2019-05-06 17:10:32 (9ea5eb7fff2f05a7795585408954ad68-641a872cf57846b65b662116a2ae77bf)

(3)(+0000008): Saving translator 'Better BibTeX'

(3)(+0000000): { "translatorID": "ca65189f-8815-4afe-8c8b-8c7c15f0edca" "translatorType": 3 "label": "Better BibTeX" "creator": "Simon Kornblith, Richard Karnesky and Emiliano heyns" "target": "bib" "minVersion": "4.0.27" "maxVersion": "" "priority": 199 "inRepository": false "configOptions": { "async": true "getCollections": true "hash": "9ea5eb7fff2f05a7795585408954ad68-641a872cf57846b65b662116a2ae77bf" } "displayOptions": { "exportNotes": false "exportFileData": false "useJournalAbbreviation": false "keepUpdated": false } "browserSupport": "gcsv" "lastUpdated": "2019-05-06 17:10:32" }

(3)(+0000016): {better-bibtex +24} Translator.install {"translatorID":"ca65189f-8815-4afe-8c8b-8c7c15f0edca","translatorType":3,"label":"Better BibTeX","creator":"Simon Kornblith, Richard Karnesky and Emiliano heyns","target":"bib","minVersion":"4.0.27","maxVersion":"","priority":199,"inRepository":false,"configOptions":{"async":true,"getCollections":true,"hash":"9ea5eb7fff2f05a7795585408954ad68-641a872cf57846b65b662116a2ae77bf"},"displayOptions":{"exportNotes":false,"exportFileData":false,"useJournalAbbreviation":false,"keepUpdated":false},"browserSupport":"gcsv","lastUpdated":"2019-05-06 17:10:32"} succeeded

(3)(+0000000): {better-bibtex +0} Translators.install: installed = true

(3)(+0000000): {better-bibtex +0} Translators.install: Collected notes replacing undefined with 2019-05-06 17:10:32 (c703a44eb5768ec2a8d148fe2baa0bf1-0ceb75b7b7d3da751443454decb4c208)

(3)(+0000004): Saving translator 'Collected notes'

(3)(+0000000): { "translatorID": "e7859c61-54d4-466a-b236-aadcf1f7e83b" "translatorType": 2 "label": "Collected notes" "creator": "Emiliano heyns" "target": "html" "minVersion": "4.0.27" "maxVersion": "" "priority": 100 "inRepository": false "configOptions": { "getCollections": true "hash": "c703a44eb5768ec2a8d148fe2baa0bf1-0ceb75b7b7d3da751443454decb4c208" } "browserSupport": "gcsv" "lastUpdated": "2019-05-06 17:10:32" }

(3)(+0000002): {better-bibtex +6} Translator.install {"translatorID":"e7859c61-54d4-466a-b236-aadcf1f7e83b","translatorType":2,"label":"Collected notes","creator":"Emiliano heyns","target":"html","minVersion":"4.0.27","maxVersion":"","priority":100,"inRepository":false,"configOptions":{"getCollections":true,"hash":"c703a44eb5768ec2a8d148fe2baa0bf1-0ceb75b7b7d3da751443454decb4c208"},"browserSupport":"gcsv","lastUpdated":"2019-05-06 17:10:32"} succeeded

(3)(+0000000): {better-bibtex +0} Translators.install: installed = true

(3)(+0000002): {better-bibtex +2} Translators.install: Better CSL JSON replacing undefined with 2019-05-06 17:10:32 (6df3e3b331212ef521ddf84f05047b7e-e8566bfd727019db753d9009885d29e0)

(3)(+0000002): Saving translator 'Better CSL JSON'

(3)(+0000000): { "translatorID": "f4b52ab0-f878-4556-85a0-c7aeedd09dfc" "translatorType": 2 "label": "Better CSL JSON" "creator": "Emiliano heyns" "target": "json" "minVersion": "4.0.27" "maxVersion": "" "priority": 100 "inRepository": false "configOptions": { "hash": "6df3e3b331212ef521ddf84f05047b7e-e8566bfd727019db753d9009885d29e0" } "displayOptions": { "keepUpdated": false } "browserSupport": "gcsv" "lastUpdated": "2019-05-06 17:10:32" }

(3)(+0000004): {better-bibtex +6} Translator.install {"translatorID":"f4b52ab0-f878-4556-85a0-c7aeedd09dfc","translatorType":2,"label":"Better CSL JSON","creator":"Emiliano heyns","target":"json","minVersion":"4.0.27","maxVersion":"","priority":100,"inRepository":false,"configOptions":{"hash":"6df3e3b331212ef521ddf84f05047b7e-e8566bfd727019db753d9009885d29e0"},"displayOptions":{"keepUpdated":false},"browserSupport":"gcsv","lastUpdated":"2019-05-06 17:10:32"} succeeded

(3)(+0000000): {better-bibtex +0} Translators.install: installed = true

(3)(+0000006): {better-bibtex +6} Translators.install: Better BibLaTeX replacing undefined with 2019-05-06 17:10:32 (9b4c8736cc13d620417cd1693f0084ee-f5251945667e2b301ee41c2021a53571)

(3)(+0000006): Saving translator 'Better BibLaTeX'

(3)(+0000000): { "translatorID": "f895aa0d-f28e-47fe-b247-2ea77c6ed583" "translatorType": 2 "label": "Better BibLaTeX" "creator": "Simon Kornblith, Richard Karnesky, Anders Johansson and Emiliano Heyns" "target": "bib" "minVersion": "4.0.27" "maxVersion": "" "priority": 50 "inRepository": false "configOptions": { "getCollections": true "hash": "9b4c8736cc13d620417cd1693f0084ee-f5251945667e2b301ee41c2021a53571" } "displayOptions": { "exportNotes": false "exportFileData": false "useJournalAbbreviation": false "keepUpdated": false } "lastUpdated": "2019-05-06 17:10:32" }

(3)(+0000018): {better-bibtex +24} Translator.install {"translatorID":"f895aa0d-f28e-47fe-b247-2ea77c6ed583","translatorType":2,"label":"Better BibLaTeX","creator":"Simon Kornblith, Richard Karnesky, Anders Johansson and Emiliano Heyns","target":"bib","minVersion":"4.0.27","maxVersion":"","priority":50,"inRepository":false,"configOptions":{"getCollections":true,"hash":"9b4c8736cc13d620417cd1693f0084ee-f5251945667e2b301ee41c2021a53571"},"displayOptions":{"exportNotes":false,"exportFileData":false,"useJournalAbbreviation":false,"keepUpdated":false},"lastUpdated":"2019-05-06 17:10:32"} succeeded

(3)(+0000000): {better-bibtex +0} Translators.init: reinit translators...

(3)(+0004838): Scheduling next feed update

(4)(+0000000): SELECT ( CASE WHEN lastCheck IS NULL THEN 0 ELSE strftime('%s', lastCheck) + refreshInterval * 60 - strftime('%s', 'now') END ) AS nextCheck FROM feeds WHERE refreshInterval IS NOT NULL ORDER BY nextCheck ASC LIMIT 1

(3)(+0000000): No feeds with auto-update

(3)(+0012396): {better-bibtex +17234} idle, saving better-bibtex

(4)(+0000004): Beginning DB transaction n7cvRSsK

(4)(+0000064): SELECT name FROM "better-bibtex"

(4)(+0000002): REPLACE INTO "better-bibtex" (name, data) VALUES (?, ?) ['better-bibtex.autoexport', '{"name":"autoexport","data":[{"type":"collection","id":2,"path":"/home/spiollinux/Seafile/Studium/Semester8/HS Technischer Datenschutz/latex-paper/mybib.bib","status":"scheduled","translatorID":"ca65189f-8815-4afe-8c8b-8c7c15f0edca","exportNotes":false,"useJournalAbbreviation":false,"error":"","meta":{"revision":94,"created":1528755826840,"version":0,"updated":1557163520512},"$loki":2,"DOIandURL":"both","asciiBibLaTeX":false,"asciiBibTeX":true,"biblatexExtendedNameFormat":false,"bibtexParticleNoOp":false,"bibtexURL":"off"},{"type":"collection","id":4,"path":"/home/spiollinux/Seafile/Studium/Semester8/Influential OS Research/latex-paper/mybib.bib","status":"scheduled","translatorID":"ca65189f-8815-4afe-8c8b-8c7c15f0edca","exportNotes":false,"useJournalAbbreviation":false,"DOIandURL":"both","asciiBibLaTeX":false,"asciiBibTeX":true,"biblatexExtendedNameFormat":false,"bibtexParticleNoOp":false,"bibtexURL":"url","error":"","meta":{"revision":300,"created":1536092646776,"version":0,"updated":1557163520512},"$loki":3},{"type":"collection","id":8,"path":"/home/spiollinux/Seafile/Studium/Semester9/OS Reading Group/NixOS_paper/NixOS_presentation.bib","status":"scheduled","translatorID":"ca65189f-8815-4afe-8c8b-8c7c15f0edca","exportNotes":false,"useJournalAbbreviation":false,"DOIandURL":"both","asciiBibLaTeX":false,"asciiBibTeX":true,"biblatexExtendedNameFormat":false,"bibtexParticleNoOp":false,"bibtexURL":"url","error":"","meta":{"revision":29,"created":1542849273047,"version":0,"updated":1557163520512},"$loki":4},{"type":"collection","id":6,"path":"/home/spiollinux/Seafile/Studium/Semester9/Großer Beleg/literature.bib","status":"scheduled","translatorID":"f895aa0d-f28e-47fe-b247-2ea77c6ed583","exportNotes":true,"useJournalAbbreviation":false,"DOIandURL":"both","asciiBibLaTeX":false,"asciiBibTeX":true,"biblatexExtendedNameFormat":false,"bibtexParticleNoOp":false,"bibtexURL":"url","error":"/home/spiollinux/Seafile/Studium/Semester9/Großer Beleg/literature.bib hat kein übergeordnetes Verzeichnis","meta":{"revision":7,"created":1557152903560,"version":0,"updated":1557163520554},"$loki":10},{"type":"collection","id":6,"path":"/home/spiollinux/Seafile/Studium/Semester9/Großer Beleg/paper_hashtag_federation/literature.bib","status":"scheduled","translatorID":"f895aa0d-f28e-47fe-b247-2ea77c6ed583","exportNotes":true,"useJournalAbbreviation":false,"DOIandURL":"both","asciiBibLaTeX":false,"asciiBibTeX":true,"biblatexExtendedNameFormat":false,"bibtexParticleNoOp":false,"bibtexURL":"url","error":"/home/spiollinux/Seafile/Studium/Semester9/Großer Beleg/paper_hashtag_federation/literature.bib hat kein übergeordnetes Verzeichnis","meta":{"revision":7,"created":1557153057246,"version":0,"updated":1557163520554},"$loki":11},{"type":"collection","id":6,"path":"/home/spiollinux/tmp/zotest/Großer Beleg.bib","status":"scheduled","translatorID":"f895aa0d-f28e-47fe-b247-2ea77c6ed583","exportNotes":true,"useJournalAbbreviation":false,"DOIandURL":"both","asciiBibLaTeX":false,"asciiBibTeX":true,"biblatexExtendedNameFormat":false,"bibtexParticleNoOp":false,"bibtexURL":"url","error":"","meta":{"revision":7,"created":1557158019218,"version":0,"updated":1557163520554},"$loki":12}],"idIndex":[2,3,4,10,11,12],"binaryIndices":{"type":{"name":"type","dirty":true,"values":[0,1,2,3,4]},"id":{"name":"id","dirty":true,"values":[0,1]},"status":{"name":"status","dirty":true,"values":[0,1]},"path":{"name":"path","dirty":true,"values":[0,1,3,4,2]},"exportNotes":{"name":"exportNotes","dirty":true,"values":[0,1]},"translatorID":{"name":"translatorID","dirty":true,"values":[0,1,2,3,4,5]},"useJournalAbbreviation":{"name":"useJournalAbbreviation","dirty":true,"values":[0,1]}},"constraints":null,"uniqueNames":["path"],"transforms":{},"objType":"autoexport","dirty":true,"cachedIndex":null,"cachedBinaryIndex":null,"cachedData":null,"adaptiveBinaryIndices":false,"transactional":false,"cloneObjects":true,"cloneMethod":"parse-stringify","asyncListeners":false,"disableMeta":false,"disableChangesApi":true,"disableDeltaChangesApi":true,"autoupdate":false,"serializableIndices":true,"ttl":null,"maxId":12,"DynamicViews":[],"events":{"insert":[],"update":[],"pre-insert":[],"pre-update":[],"close":[],"flushbuffer":[],"error":[],"delete":[null],"warning":[null]},"changes":[]}']

(4)(+0000002): REPLACE INTO "better-bibtex" (name, data) VALUES (?, ?) ['better-bibtex', '{"filename":"better-bibtex","collections":["better-bibtex.citekey","better-bibtex.autoexport"],"databaseVersion":1.5,"engineVersion":1.5,"autosave":false,"autosaveInterval":5000,"autosaveHandle":null,"throttledSaves":false,"options":{"env":"NA","serializationMethod":"normal","destructureDelimiter":"$<\n"},"persistenceAdapter":null,"throttledSavePending":false,"throttledCallbacks":[],"verbose":false,"events":{"init":[null],"loaded":[],"flushChanges":[],"close":[],"changes":[],"warning":[]},"ENV":"NA"}']

(4)(+0000012): Committed DB transaction n7cvRSsK

(3)(+0005830): Starting full-text content processor

@retorquere
Copy link
Owner

Odd, doesn't happen here. Please restart with debugging enabled, ignore the request to restart because new translators were installed, let BBT finish initializing (if it does), and send a new debug log.

@retorquere
Copy link
Owner

Ugh no wait.

@schmittlauch
Copy link
Author

We're still at the usual (Zotero-internal?) exception: https://gist.github.com/schmittlauch/7a89ade4290fd7ffd4b07890fb0c82e0

@blip-bloop
Copy link
Collaborator

🤖 this is your friendly neighborhood build bot announcing test build 5.1.76.3938 ("test installed as casted bool")

Install in Zotero by downloading test build 5.1.76.3938, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

@retorquere
Copy link
Owner

Try 3938.

@schmittlauch
Copy link
Author

The "please restart" loop is gone. But I still see an exception in the log and the export still hangs. https://gist.github.com/schmittlauch/ac7451d0b246ce04d572908040635a3a

If you say that this is a Zotero-internal bug I can go and report it upstream.

@schmittlauch
Copy link
Author

I can try again with some older Zotero versions

@retorquere
Copy link
Owner

If a regular save with the standard BibTeX translator has the same problem, then it does look like a Zotero problem. I thought it was located elsewhere where I could test for it beforehand but that wasn't it. If you can replicate it with a regular export, it would be helpful if you would report it to the Zotero forums directly. If that is the case, for BBT, you can in the interim just remove the auto-export and set it up to an ASCII path until that is resolved -- if this analysis holds, there's nothing I can do about it. If it doesn't occur with older Zotero versions that would be very good to know -- regressions always have their full attention.

In case you're curious why the export hangs: translations happen asynchronously, so I can kick them off and must then wait to be notified that they're done (successfully or unsuccessfully). Unfortunately the translator inside Zotero errors out before it can do that, so any code that waits for that signal will wait forever. I could set a timeout, but the length of the timeout would be arbitrary (sometimes exports just take very long). The end-of-translation notifiers should just work, but the kind of error we see in this log are usually tricky to catch inside Firefox (which is still what Zotero is on the inside).

@retorquere
Copy link
Owner

Is this replicable with just the Zotero export?

@schmittlauch
Copy link
Author

Yes, it was replicable with the Zotero export, but in the end turned out to be a distro packaging issue. Sorry about that.

Thanks for your efforts. I already donated once and may do again later (=

@retorquere
Copy link
Owner

Thank you, and don't worry about it. I'd rather hear about problems that turn out to be non-problems than not hear about problems.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants