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

"An error has occurred: SQL Error line 1:42: unexpected end of file" in JSON export from Betools #11

Closed
mpomeran opened this issue Sep 5, 2020 · 1 comment

Comments

@mpomeran
Copy link

mpomeran commented Sep 5, 2020

Thanks so much for this wonderful set of tools!
I use this along with your scrivomatic/pandocomatic workflow.
It's fantastic!

I'm running into some trouble with the exporting of the BibTex file to JSON. It works with the smaller groups in
my library like a charm. But when I try to export the larger 1500+ references to a large JSON file, I get the following error:
"An error has occurred: SQL Error line 1:42: unexpected end of file"
I wrote to Jon at Sonny who said to contact you. I rebuilt the library, so it's not this.
And I'm trying to go through the bib entries to see if there is something malformed.

Do you have any thoughts as to what I might try? It might make sense to export a BibTex file and see if that is properly formatted. But I'm hoping that you have another suggestion before I start my weeding.

Maurice

@iandol
Copy link
Owner

iandol commented Sep 21, 2020

@mpomeran — are you sure all your cite keys are not empty? That normally can cause the JSON conversion to fail. You can check this easily by making a smart group (SQL) that finds these automatically:

Screenshot 2020-09-21 at 15 44 15_SMALL

Or check the BibTeX file searching for

The most recent version of the alfred workflow (V1.3.4) should have better behaviour in this case, see #8

@iandol iandol closed this as completed Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants