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

Parsing Errors With LogSeq #34

Closed
mruderman opened this issue Jan 12, 2023 · 6 comments
Closed

Parsing Errors With LogSeq #34

mruderman opened this issue Jan 12, 2023 · 6 comments
Labels
usage question Configuration or other usage question

Comments

@mruderman
Copy link

mruderman commented Jan 12, 2023

I'm having a similar issue as:
https://discuss.logseq.com/t/my-zotero-logseq-zettlr-word-workflow/8900/17?u=flan
Also, under Linux.

Here is an example Zotero item:

image

Here are my "Locating MD Files" settings:

image

Not shown in the screenshot above, I've also tried entering optional Metadata Keywords (multiple iterations—e.g., "extra," "Citation Key", etc.—all rejected due to special characters).

This is what the LogSeq YAML looks like:

image

Here is an example of a parsing error I get:

{
"citekey": null,
"citekey_metadata": null,
"citekey_title": null,
"zotkeys": [],
"zotids": [],
"name": "zt-zhangBayesianMixedHidden2014",
"path": "/home/onomat/GitProjects/FlogSeq3/pages/zt-zhangBayesianMixedHidden2014.md"
},

I'm not technical enough to find the parsing error very informative.

Thank you for developing this plugin. I'd appreciate any insight you might have.

@daeh
Copy link
Owner

daeh commented Jan 15, 2023

Hi @mruderman -- Try using this regex pattern instead:

^zt-(.+)\.md$

Make sure you've upgraded to https://github.com/daeh/zotero-markdb-connect/releases/tag/v0.0.21

@mruderman
Copy link
Author

@daeh Thanks for your reply. I think the XPI is missing from https://github.com/daeh/zotero-markdb-connect/releases/tag/v0.0.21
I forgot what modifications need to happen in the zip before changing the extension to xpi. Thanks again.

@daeh
Copy link
Owner

daeh commented Jan 15, 2023

THANK YOU @mruderman ! Goodness, I don't know how that got by me. It's updated now https://github.com/daeh/zotero-markdb-connect/releases/tag/v0.0.22

@daeh
Copy link
Owner

daeh commented Jan 15, 2023

(Note the string you enter should just be ^zt-(.+)\.md$, not /^zt-(.+)\.md$/i)

@daeh daeh added the usage question Configuration or other usage question label Jan 16, 2023
@mruderman
Copy link
Author

Apologies for the delayed response...it's working! This plugin is a lifesaver for me, thank you for developing it!

@daeh
Copy link
Owner

daeh commented Jan 18, 2023

Great. Thanks for the update!

closed by 52ad81a

@daeh daeh closed this as completed Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usage question Configuration or other usage question
Projects
None yet
Development

No branches or pull requests

2 participants