tg44 / heptapod

This is a command line application to manage and fine-tune Time Machine exclude paths.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yaml rule parse error

GBrachetta opened this issue · comments

Hi, I don't want to be a pain in the ass, but just want your app to work, so I'm trying all combinations of folder creation, etc, and sometimes I get the following error. It happened in Monterey and now it's happening in Catalina.

I'm not sure if this tells you anything.

Screenshot 2022-01-01 at 15 37 24

In order to get rid of the error I have to delete the .heptapod folder and recreate it, and copy the rules again.

You are far from pain, you are the first "real" user :D It sometimes happens that what is working on some machines is not working on others. I'm also sorry that its not working as is, and I question a lot.

First of all, the stacktrace points to this line and tells that there is a nil error. This is really strange bcs I handle all the errors in this function.

I will push a new version in the next hour, which will give us the file we had the error, so at least we can go deeper.

I have really zero idea of go language!

I don't even know how to reproduce the error 😊

Once I delete the folder .heptapod and recreate it with the rules, the error is gone.

The only thing I saw was some Stack Overflow posts about the error, but I apologize because I really don't know the language!

I'm not a pro either. If you get this error again, it will tell you exactly which file it is, and we can try to go deeper.

I'll keep an eye on this one. I really I don't know what I had to do for it to happen, only that it happened on both machines! 😊

I close this due inactivity.