-
Notifications
You must be signed in to change notification settings - Fork 16
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
Receiving error when running #8
Comments
The first time I execute, it properly creates the file and adds the todo item. however, subsequent calls it produces the above error. in my case, I am testing in
File created
|
Fixed the issue per se, I changed the script
While this helps the script work, it will still fail if there are more than one |
@ttscoff I can debug/fix this code further if you would like, but I wanted to let you know what was happening sooner rather than later. It is working for me now to allow me to test (while i also work with the trial version of TaskPaper). |
Looks like that error is occurring in the Ruby portion of the script. I'm not seeing it happen locally, but if you do have a chance to debug, happy to look at a pull request. |
@mikeerickson Are you using zsh? |
A year later, I was presented with this error again today. I tracked it down (at least in my case) to the fact that I had two different |
It assumes dirname only if another tp file isn't found. Multiple files should default to whichever is first alphabetically being used, but I've never tested that care out.
- Brett
…On Sep 27, 2020, 8:38 PM -0500, Mike Erickson ***@***.***>, wrote:
A year later, I was presented with this error again today. I tracked it down (at least in my case) to the fact that I had two different .taskpaper files in the directory. I was thinking the script would always add to the dirname.taskpaper file?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@ttscoff still seeing this error under zsh. if i run |
This script is outmoded, everything has been rewritten and turned into a gem. I highly recommend using that instead. |
Thank you |
I have thought about trying this script for quite sometime, and finally pulled the trigger.
When I run
na -a "test"
it throws an errorI have a
todo.taskpaper
file in the directory where I am running it, must it contain anything else?The text was updated successfully, but these errors were encountered: