retorquere / zotero-better-bibtex

Make Zotero effective for us LaTeX holdouts
https://retorque.re/zotero-better-bibtex/
MIT License
5.43k stars 291 forks source link

cannot remove .json exports #1981

Closed swestlake closed 3 years ago

swestlake commented 3 years ago

.json exports cannot be removed once they have been set.

the plugin auto-updates exports -- it is functional.

.. though it is the management of the .json exports that the user is not able to carry.

Steps: 1) open zotero 2) go to preferences, better-bibtex, and go to its 'Automatic export' tab. 3) on the 'Automatic export', choose a sub-tab for the library to inspect, and then click the 'Remove' button. (choose an export that performs BetterBibTeX json)

I can remove a .bib export successfully as soon as I click the remove button, though nothing happens for .json exports.

fwiw, nothing occurs in the log afaict, though there is an error when zotero starts-up and may be relevant,

[JavaScript Error: "TypeError: DB2.getCollection(...) is null" {file: "chrome://zotero-better-bibtex/content/better-bibtex.js" line: 95160}]
remove@chrome://zotero-better-bibtex/content/better-bibtex.js:95160:7
oncommand@chrome://zotero/content/preferences/preferences.xul:1:1

version => 5.0.96.3, platform => Linux x86_64, oscpu => Linux x86_64, locale => en-CA, appName => Zotero, appVersion => 5.0.96.3, extensions => Zotero LibreOffice Integration (5.0.25.SA.5.0.96.3, extension), Better BibTex for Zotero (5.6.8, extension)

(3)(+0137105): BBT: overlay PrefPane
(3)(+0000105): BBT: loading PrefPane
(3)(+0000009): BBT: PrefPane loaded
github-actions[bot] commented 3 years ago

It looks like you did not upload an support log. The support log is important; it gives @retorquere your current BBT settings and a copy of the problematic reference as a test case so he can best replicate your problem. Without it, @retorquere is effectively blind. Support logs are useful for both analysis and for enhancement requests; in the case of export enhancements, @retorquere needs the copy of the references you have in mind.

If you did try to submit a support log, but the ID looked like D<number>, that is a Zotero debug report, which @retorquere cannot access. Please re-submit a BBT debug log by one of the methods below. BBT support log IDs end in -apse or -euc. Support logs that include sample references will end in -refs-apse or -refs-euc; these are the type @retorquere needs for export or citekey issues.

This request is much more likely than not to apply to you, too, even if you think it unlikely, and even if it does not, there's no harm in sending a debug log that turns out to be unnecessary. @retorquere will usually just end up saying "please send a debug log first". Let's just skip over the unnecesary delay this entails. Sending a debug log is very easy, depending on your situation, follow one of these procedures:

  1. If your issue relates to how BBT behaves around a specific reference(s), such as citekey generation or export, select at least one of the problematic reference(s), right-click it, and submit an BBT support log from that popup menu. If the problem is with export, please do include a sample of what you see exported, and what you expected to see exported for these references, either by pasting it in a comment here (if it is small) or attaching it as a .txt file (if it's large). These logs will have an ID that ends in -refs-apse or -refs-euc.

  2. If the issue does not relate to references and is of a more general nature, generate an support log by restarting Zotero with debugging enabled (Help -> Debug Output Logging -> Restart with logging enabled), reproducing your problem, and selecting Send Better BibTeX debug report... from the help menu.

Once done, you will see a support log ID in red. Please post that support log id in an issue comment here.

Thank you!

swestlake commented 3 years ago

adding bbt support log-id K4QHAX4U-euc

github-actions[bot] commented 3 years ago

:robot: this is your friendly neighborhood build bot announcing test build 5.6.8.1797 ("fixes #1981")

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

swestlake commented 3 years ago

I can confirm build 5.6.8.1797 allows me to remove the json export setting.

thanks!