since i guess i am the only one with this problem. is there any tips on how to debug this issue? is there a debug version available that will generate a log file or stack trace? anything, or am i on my own?
Sorry I should have responded to this earlier. Yes it seems like you’re the only one. If you use the help menu you should see an option to toggle development tools. Click that and you should be able to check the console for errors.
thanks, and sorry to be a pest. i found the offending issue:
C:\Users\steve\AppData\Local\Temp\1aaNjl3NR2Q97fx2ybPJsz9pDT8\resources\app.asar\node_modules\mustache\mustache.js:239 Uncaught (in promise) Error: Unclosed section "custom_datetime" at 158
at parseTemplate (C:\Users\steve\AppData\Local\Temp\1aaNjl3NR2Q97fx2ybPJsz9pDT8\resources\app.asar\node_modules\mustache\mustache.js:239)
at Writer.parse (C:\Users\steve\AppData\Local\Temp\1aaNjl3NR2Q97fx2ybPJsz9pDT8\resources\app.asar\node_modules\mustache\mustache.js:496)
at Writer.render (C:\Users\steve\AppData\Local\Temp\1aaNjl3NR2Q97fx2ybPJsz9pDT8\resources\app.asar\node_modules\mustache\mustache.js:515)
at Object.render (C:\Users\steve\AppData\Local\Temp\1aaNjl3NR2Q97fx2ybPJsz9pDT8\resources\app.asar\node_modules\mustache\mustache.js:655)
at Object.TemplateUtils.render (C:\Users\steve\AppData\Local\Temp\1aaNjl3NR2Q97fx2ybPJsz9pDT8\resources\app.asar\lib\TemplateUtils.js:29)
at createNewNote (C:\Users\steve\AppData\Local\Temp\1aaNjl3NR2Q97fx2ybPJsz9pDT8\resources\app.asar\gui\MainScreen.min.js:136)
at Object.onClose (C:\Users\steve\AppData\Local\Temp\1aaNjl3NR2Q97fx2ybPJsz9pDT8\resources\app.asar\gui\MainScreen.min.js:440)
at Object.promptOnClose_ [as onClose] (C:\Users\steve\AppData\Local\Temp\1aaNjl3NR2Q97fx2ybPJsz9pDT8\resources\app.asar\gui\MainScreen.min.js:728)
at onClose (C:\Users\steve\AppData\Local\Temp\1aaNjl3NR2Q97fx2ybPJsz9pDT8\resources\app.asar\gui\PromptDialog.min.js:172)
at onKeyDown (C:\Users\steve\AppData\Local\Temp\1aaNjl3NR2Q97fx2ybPJsz9pDT8\resources\app.asar\gui\PromptDialog.min.js:205)
I’ve never used templates before but tried now: created a simple .md file, clicked refresh templates a few times but still could not create a note from it.
Restarting the app solved the issue for me. Would be good if that worked without a restart thought.
@sttrebo - I suggest you check log.txt in your profile dir for any errors.
UPD
Looks like you’ve found the issue while I was typing that.