Closed tiptronic closed 4 years ago
Please set path_to_notes
to /dev-git/MDNOTES
..or upgrade to v1.8.7 ;)
Since I downloaded the workflow less than 24hrs ago, I thought I'm quite recent ;)
Now it works fine!! Thanks for the quick fix!
Thx for confirming!
Very cool idea and reading the docs I think this is pretty useful. But for me it doesn't work:
path_to_nodes
(and the other required config settings)md
filesBut nothing is found, nor is a md-file created. If I type
mds empty
I am getting this debug output (maybe this helps identifying the cause).Please note, that I set
path_to_nodes
to/Users/andy/dev-git/MDNOTES
, but the Workflow tries to find the note at:/Users/andy/Users/andy/dev-git/MDNOTES/empty.md
(see below):[18:33:55.735] Markdown Notes[Script Filter] Queuing argument 'empty' [18:33:55.871] Markdown Notes[Script Filter] Script with argv 'empty' finished [18:33:55.877] Markdown Notes[Script Filter] { "items": [ { "title": "Nothing found...", "subtitle": "Do you want to create a new note with title \"empty\"?", "arg": "empty" } ] } [18:33:57.624] Markdown Notes[Script Filter] Processing complete [18:33:57.633] Markdown Notes[Script Filter] Passing output 'empty' to Run Script [18:33:57.634] Markdown Notes[Script Filter] Passing output 'empty' to Conditional [18:33:57.635] Markdown Notes[Conditional] Processing complete [18:33:57.636] Markdown Notes[Conditional] Passing output 'empty' to Call External Trigger [18:33:57.637] Markdown Notes[External] Processing complete [18:33:57.638] Markdown Notes[External] Passing output 'empty' to Keyword [18:33:58.676] Markdown Notes[Keyword] Processing complete [18:33:58.686] Markdown Notes[Keyword] Passing output 'empty' to Run Script [18:33:58.809] ERROR: Markdown Notes[Run Script] Traceback (most recent call last): File "/Users/andy/Dropbox/ANDY/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.6FA09D6E-8C5A-491B-8C44-694A0A0BB8B5/create_note.py", line 121, in
with open(fPath, "w+") as f:
IOError: [Errno 2] No such file or directory: '/Users/andy/Users/andy/dev-git/MDNOTES/empty.md'
[18:33:58.820] Markdown Notes[Run Script] Processing complete
[18:33:58.821] Markdown Notes[Run Script] Passing output '' to Open File