You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
This looks like a really cool tool. I tried it out for a few moments and I think Ive messed something up.
I added an entry with punch-card now-03:00 -p Personal:Computers
and now I've got the following error ....
The 'to' entry Store::Entry(@id="8a06cc06-efac-4cbd-ab1e-db382a8cab51", @type=Start, @time=2023-01-17 00:01:20.374000000 UTC, @project="Personal:Computers") is not of type Stop, although it should be
I can't add anything else. How could I correct?
The text was updated successfully, but these errors were encountered:
Yep that part is not yet very solid. It can happen that with inserting wrong types (start / stop) or wrong times the entries don't make sense anymore.
For the time being you'll have to fix the entries manually in the sqlite database.
You can first check the entries of the affected day by doing something like the following:
sqlite3 ~/snap/punch-card/current/.config/punch-card/data.db "select time, type from entries where strftime('%Y-%m-%d', time) = '2023-01-17' order by time asc"
(The above assumes that you installed it with snap. Depending on how you installed the tool it the database file may also be in ~/.config/punch-card/data.db.)
The order of the output should indicate what the tool is trying to do. You may have to correct the time or the type of an entry.
Hello,
This looks like a really cool tool. I tried it out for a few moments and I think Ive messed something up.
I added an entry with
punch-card now-03:00 -p Personal:Computers
and now I've got the following error ....
I can't add anything else. How could I correct?
The text was updated successfully, but these errors were encountered: