-
Notifications
You must be signed in to change notification settings - Fork 82
Conversion not performed #80
Comments
I have this issue as well and have the same desktop specs as you stated. Additionally, when I select another export option, the file is created but the field {{notesContent}} is not exported. |
Same: Description, To Reproduce, Expected Behavior. When I select Create Full Export Note, the file is created but the field {{notesContent}} is not exported. The file is empty. |
@celtickuma @aladinoster @padasch Could you please add screenshots of your mdnotes settings? @padasch are you also on Mac? |
Sorry. I already killed it, but I had tried all the options in preferences, with no change in behavior. Reverting to v.0.1.2 resolved all issues. Normal export with all right click menu options available. If you want I can go back to .3 and reproduce. |
@padasch alright, most things look alright. I assume you edited the image to hide your vault folder, could you maybe describe where that folder lives? Are both your Export directory and template directory the same? Double check that it's not malformed. Another thing, any modifications in the hidden preferences? |
I added a few debug messages to this build: mdnotes-0.1.3-fx.zip. To instal it you need to change the extension from zip to xpi. After installing this version, could you go to |
@argenos, thanks for your time spent on this issue. I have the following Md Notes configuration And the following log after installing the last version of the plugin, the one on the this thread:
|
@aladinoster I unfortunately do not see any mdnotes output there. Could you try exporting to markdown once the debug mode is enabled? |
@argenos I have this log when restarting with debug mode enabled. Log:
|
I double checked to make sure that my templates directory is correctly linked and holds the correctly named template. Also checked that the export directory is correct. I once enabled the option for |
@padasch @aladinoster I also/still don't see any mdnotes output on your logs. After restarting and enabling the debug messages, did you use the right-click menu to export to markdown again? 🤔 |
Yes, I did - is there another way to export to md? Tried both, selecting the pdf item for export and the "top level" item of the paper (don't know how this is called)... I tried downgrading to 0.1.2. as was suggested before but the error persists. Before, at least a file was created with Abstract and Metadata. But now, nothing is created anymore 🙈 |
0.1.2 works perfectly in Catalina. Files contain expected content, export
to external directory, and is saved with the record.
…On Fri, Mar 26, 2021 at 10:33 AM padasch ***@***.***> wrote:
Yes, I did - is there another way to export to md? Tried both, selecting
the pdf item for export and the "top level" item of the paper (don't know
how this is called)...
I tried downgrading to 0.1.2. as was suggested before but the error
persists. Before, at least a file was created with Abstract and Metadata.
But now, nothing is created anymore 🙈
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#80 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALKKDDGLYAWH4CPS6LRHYL3TFSLKFANCNFSM4ZYVMWTQ>
.
|
hmmm I unfortunately don't have a mac to test this on, but we can try one more thing based on the plugins I see active on your logs to rule out some interference like in #53. Two options: Temporarily disable all plugiins except Zotfile, Better Bibtex and mdnotes or creating a new profile where only those three are included. |
This is informational only. Tested on a second MacBookPro (mid2014 Retina) configured as above (Catalina). original 0.1.3 fails. 0.1.2 works as expected. Files created correctly with correct content. |
For summary, I list all pathways I tested here. Note that I have all my templates set up the same, so I am not sure which export option picks which template. I used the released package 0.1.3 (not fix) for this, hope this helps: Note: Item with annot. means that I first extracted annotations from the pdf via right-click -> manage attachments -> extract annotations
As a workaround, one can just copy-paste the annotations from the batch export file into the one of the export as markdown file. The ideal-world would be simply clicking on the zotero item without having to first extract the annotations and then have these annotations inserted into a template. Thanks a lot for what you are doing here! The zotero-obsidian workflow will make my thesis writing a breeze! 🙌 Edit: Enabling the short DOI Plugin makes the "Batch" export option go away and thus disables the described workaround. |
@padasch thanks for the detailed testing! The fact that it works under some circumstances is good news. There may be a mix of template confusion in play, but I don't think that is the cause of your bug. I have one more guess that we could try: On the very first line of your Zotero note, remove the parenthesis with the date and time (essentially naming it "Yellow Annotations") and try to export. |
It might be that there is a fix for this in the pre-release now: https://github.com/argenos/zotero-mdnotes/releases/ |
@argenos thanks for the prerelease! I've tested out both your suggestions. Changing the title of the annotation in zotero works partially because it adds a hyphen to the export document ("paper2020 -" instead of just "paper2020" which makes quick cross-referencing in obsidian a bit "ugly" looking but works :) |
@argenos Sorry for my late reply, thanks for the pre-release, I've just tried the new alpha version, but still I have the same experience:
|
@aladinoster @padasch I think those are two good clues. The log output indicates that mdnotes is also being loaded now, but failing during export. It sounds to me like there is some issue when creating titles for the yellow Zotero notes. Could you change this on your Zotfile preferences to confirm?
|
Hmm unfortunately this did not fix it. When exporting to the Zotero Note Template, I don't get the template but all the notes. On the other hand, when exporting to the Mdnotes Default Template I get all the fields except for {{noteContent}}... |
I think that’s just confusion around the templates. Try setting mdnotes preferences back to the defaults and temporarily remove any the template directory if you chose one.
Then select the yellow Zotero note and click on Export to markdown, does the note get exported?
|
Okay, I removed the template folder and exported the yellow annotation note with "export to markdwon". As before, the export of the note works but the title of the .md is not turned into the citationkey although it has a bullet point saying + there is no additional information except for the notes, see screenshots (the paper I'm trying to export has the citation key Kovenock2018). |
@padasch this looks promising! I see in your settings you're using split files. Could you try the |
This looks better! We are still missing one file though with the metadata! Are you still using the “Split file” setting? I’ll try to set up another debug build next week to try and pinpoint the issue.
|
Yes, I was still using „split file“ in the screenshots of my previous comment. Nice, thanks for your work here! Really appreciated :)
… Am 03.04.2021 um 10:49 schrieb Argentina Ortega Sáinz ***@***.***>:
This looks better! We are still missing one file though with the metadata! Are you still using the “Split file” setting? I’ll try to set up another debug build next week to try and pinpoint the issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#80 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ATIWOYML4VNQVITYXH6GOVLTG3JCJANCNFSM4ZYVMWTQ>.
|
@argenos this might be related: noteContent fails to appear for me in cases where the note's first line contains a forward slash or minus or equals or quote ( |
@einalex thanks! I was suspecting something along those lines, but from what I could tell the note title should be sanitized in theory. Perhaps in practice something else is going on. |
I am having the same problem as the OP (nothing happens when I try to export a note to md). I am getting the following error message in the log:
|
Describe the bug
It seems extraction is undone, see gif
After checking the destination folder, there are no new files.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expected the markdown file to be created in the Zotero item or the destination folder
Screenshots
Desktop (please complete the following information):
Additional context
No
The text was updated successfully, but these errors were encountered: