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
Errors posted at end of email. #74
Comments
Hi, looks like it only happens when there's a warning, like the file threshold. If the scripts runs normally without an exception, this error doesn't show up. I've got to look into it. |
Hi @auanasgheps, I rarely have any warning messages, so this is the first time that I am noticing the same message at the end of the email. The same is in the outputted log file.
As it is at the very end of the email or log file, it seems to me that it is in the two awk lines of the prepare_mail function. However, the script runs fine otherwise, this would only parse the threshold violation messages. Useful, but not essential. Please let me know if you need any further details. Thank you for an amazing script! |
What are the values set for |
I have: ADD_DEL_THRESHOLD=0 I don't have: ADD_DEL_RATIO |
Sorry This is an odd one, that error is likely from this line, |
I have the standard Currently I am running |
Hi, as I said earlier, this issue happens only when there's a WARNING, which triggers some I had a look at this but could not (yet) figure out how to rewrite them correctly. You'll be updated here once it happens. |
Finally on my way to fix it! I will replace all |
awk was used for for floating-point comparisons, but was producing some errors at the end of the script. bc is a new dependency, but works perfectly. Fixes #74
You can test the dev channel if you like to see this issue fixed. Edit: implemented in dev too |
Note to myself:
I know how to fix it, writing here for tracking purposes. |
Fix error at the end of email with condition "WARNING Forced sync with deleted files" Finally fixes #74
Finally: done! |
I've been seeing this and just ignoring it. But since I see no mention of it I thought you should know about it.
At the very end of the emailed message sent on script completion I see the following few lines:
All jobs ended. [Fri Nov 10 09:24:59 EST 2023]
awk: cmd. line:1: BEGIN {exit !( < 0)}
awk: cmd. line:1: ^ syntax error
awk: cmd. line:1: BEGIN {exit !( < 0)}
awk: cmd. line:1: ^ syntax error
The text was updated successfully, but these errors were encountered: