-
-
Notifications
You must be signed in to change notification settings - Fork 197
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
Uncaught errors when activated with Periodic Notes #1129
Comments
Ran your template and it appeared to work fine. Usually when I see rogue errors like this it's due to user scripts throwing errors. For some reason an error in a user script will cause most/all of your other templates to throw that same error. Do you have any user scripts? If so, try turning off user scripts. Also if you haven't already, restart Obsidian. Some plugins don't unload properly when uninstalled, restarting Obsidian forces them to unload all the way. |
Right, turns out this script was the culprit: https://gist.github.com/lenalebt/8e58aa21392c388d8c7d65bad3206e35 I'm not sure why, but turning it off makes the problem go away. |
Looks like it's not the script anymore? https://gist.github.com/lenalebt/8e58aa21392c388d8c7d65bad3206e35?permalink_comment_id=4602897#gistcomment-4602897 |
Yes, sorry, forgot to reply. This time it was a problem on my end, so you
were right about it being script-related. Thanks!
…On Wed, Jun 21, 2023 at 3:37 PM nhan000 ***@***.***> wrote:
Looks like it's not the script anymore?
https://gist.github.com/lenalebt/8e58aa21392c388d8c7d65bad3206e35?permalink_comment_id=4602897#gistcomment-4602897
—
Reply to this email directly, view it on GitHub
<#1129 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMZR4Y7PDUSTMH7WWAI4UMLXMJUAVANCNFSM6AAAAAAZJ66UTQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Michael McClelland
***@***.***
|
I don't think I can? I don't see an option
…On Sun, Jun 25, 2023 at 10:15 AM nhan000 ***@***.***> wrote:
@michaelm2391 <https://github.com/michaelm2391> please close the issue.
—
Reply to this email directly, view it on GitHub
<#1129 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMZR4Y3K42X7D2MILBM3LO3XM5RJ7ANCNFSM6AAAAAAZJ66UTQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Michael McClelland
***@***.***
|
Marking as closed. Hopefully the resolution of #1212 will help with user script issues in the future. |
Specs:
I am receiving the following error in the console whenever I activate a new daily note using the Periodic Notes plugin:
Templater Error: Template parsing error, aborting. Unexpected identifier 'contents'
Templater is attempting to activate the following template. The only way to get the console to return no error is to activate the daily note without anything in this template; conversely, I've tried removing each line of code one-by-one, and in every such case it generates the error.
This template used to work fine until I began tinkering around with the Rollover Daily Todos plugin (which seems to be basically incompatible with Templater). I have since uninstalled that plugin, but alas I am still having issues.
The text was updated successfully, but these errors were encountered: