argenos / zotero-mdnotes

A Zotero plugin to export item metadata and notes as markdown files
https://argenos.github.io/zotero-mdnotes/
GNU General Public License v3.0
1.34k stars 81 forks source link

MdNotes not generating anything (on Macbook 2023) #215

Closed paulinvienna closed 1 month ago

paulinvienna commented 1 year ago

Describe the bug Mdnotes does not create/export any markdown file: whatever I select (create markdown file, export to markdown, batch export to markdown), it brings up the folder where the md file should be saved, but no note gets generated.

To Reproduce Steps to reproduce the behavior:

  1. Go to the note/parent file
  2. Right click and select Mdnotes
  3. Select "batch export to markdown"
  4. Select target folder and click "open"
  5. No note is generated

Expected behavior Previously, this created a note in the target folder, which I could see both within Zotero (under the parent file), in finder (I'm working with Mac) and in Obsidian.

Screenshots Screenshots don't work as it is the absence of action that is the problem.

Desktop (please complete the following information):

Additional context This was not a problem when I was using my previous MacBook (Intel) - but seems to be an issue since installing it on my new MacBook (Apple M2)

kun-wang commented 1 year ago

I meet the same problem. The "Debug Output Logging" information from Zotero/Help/ is as follows:

TypeError: fileName is undefined getValidFileName@chrome://zotero/content/xpcom/file.js:1251:5 getNCFileName@chrome://mdnotes/content/mdnotes.js:414:14 getMDNoteFileName@chrome://mdnotes/content/mdnotes.js:421:10 getItemMetadata@chrome://mdnotes/content/mdnotes.js:238:30 getRegularItemContents@chrome://mdnotes/content/mdnotes.js:945:22 exportToMarkdownMenu@chrome://mdnotes/content/mdnotes.js:1037:26
kun-wang commented 1 year ago

I meet the same problem. The "Debug Output Logging" information from Zotero/Help/ is as follows:

TypeError: fileName is undefined getValidFileName@chrome://zotero/content/xpcom/file.js:1251:5 getNCFileName@chrome://mdnotes/content/mdnotes.js:414:14 getMDNoteFileName@chrome://mdnotes/content/mdnotes.js:421:10 getItemMetadata@chrome://mdnotes/content/mdnotes.js:238:30 getRegularItemContents@chrome://mdnotes/content/mdnotes.js:945:22 exportToMarkdownMenu@chrome://mdnotes/content/mdnotes.js:1037:26

As mentioned in issue #224, my problem dues to the BetterBibtex update on October 24th.

I fixed the problem by rolling back the version of BetterBibtex.