Parsing issue #1
Labels
No labels
bug
contribution welcome
duplicate
enhancement
help wanted
invalid
question
upstream
will get to it eventually
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: kake26/bandmon#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It seems at a particular point durning a month the offset of the parsed data goes up or down by one. I've seen this twice now but I don't know what part of the month or the conditions are yet. Logging it here to keep an eye on this mess. Currently I noticed it about 10 days into the month of May. I will review the log data and see if that tells me anything.
No sign of the bug so far. So maybe its around the point where the month rolls over.
Quick update 29th and still good.
Looks like when it hits the first it kicks over and misaligns the expected fields. So now the question becomes when does this go the other way. Part #1 solved now part 2.
Perhaps I'll do it based off a length check of the parsed array. Seems like a plan as it all only shifts up or down by one digit.
I haven't forgotten about this just things have gotten in the way.
I think this has been finally resolved. It appears the issue was in the OpenWRT bash script component. Apprently, the date +%d would give you the day of the month with a leading 0 when the day was less then 10. Also anything past 07 was causing and error. Bash interpreted numbers with a leading zero as a octal therefore breaking the math. Fix was found by setting ${md#0}.