samg / timetrap

Simple command line timetracker
http://rubygems.org/gems/timetrap
Other
1.48k stars 116 forks source link

Invalid byte sequence in UTF 8 #192

Closed MariusBasse closed 2 years ago

MariusBasse commented 3 years ago

Hey team,

when I want to print my current sheet, the sheet is unavailable and I get an "invalid byte sequence in UTF 8" error. Where is my current sheet located so that I can at least write it down and look at it and reinstall timetrap?

dechimp commented 3 years ago

Typically upgrading / reinstalling timetrap doesnt affect or delete your database, but if I were worried about it, I would make a backup of it, which I think is located at ~/.timetrap.db

dechimp commented 3 years ago

and I think the database is SQLite, so you can query it if need be. $ sqlite3 ~/.timetrap.db SELECT * FROM entries WHERE sheet LIKE 'mySheet';

categulario commented 3 years ago

Hey @MariusBasse do you have a traceback of the error? Did you find the cause?