-
Notifications
You must be signed in to change notification settings - Fork 54
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
Open the database files #77
Comments
There's a link to them in the start menu.. Or just go to You can normally only open them with Procrastitracker. There's an There's also the file format documentation https://github.com/aardappel/procrastitracker/blob/master/PT/file_format.txt which some people have used to write readers in JS/Python (though can't find those right now). |
Ok thanks. Also, I’m trying to monitor someone’s screen time, is there a way to stop procrastitracker from tracking while still doing things? |
Other than quitting the application, there is a way to delete activity from the statistics view (see http://strlen.com/procrastitracker/) |
Hi there, I'm chiming into this thread. I arrived here with a goal of creating an automated workflow for reading the database file into a program (I use R), then parsing the data, (inside R, which I should know how), and ultimately creating a simple report with hours breakdown. So reading the DB data is the key to moving forward. Following this thread I arrived at Thanks a lot! EDIT I've seen this issue that discusses the topic in general. However, I could not wrap my head around any of the tips given there. I'd appreciate some guidance for a C-ignorant person like me: how should I extract information from database files in human language? |
@emmansh yes, it is (compressed) binary data, much like a jpeg or most file formats. Not everything is text :) I'm afraid the only way forward is to learn more about binary formats, and how to read binary data in R or whatever language you choose. |
@aardappel thanks for replying quickly. |
@emmansh as in the linked issue, there is already documentation. I can't explain that any further without knowing what it is you don't understand about reading binary data. You may need to learn something new :) |
After researching this challenge more, I've realized that writing a program to extract data from the I will therefore have to take a different approach to this: Export to HTML using point-and-click, then process the HTML file further with tools I'm fluent at. Unfortunately, it's a compromise because such export procedure isn't automated (got to right-click the tray icon, choose on the menu, etc.). But better than nothing. @aardappel -- If you ever find yourself wondering whether you should add a feature that automatically/routinely saves the database into a hierarchical & human-readable format such as Regardless, this is a great program and many thanks for developing and maintaining it as an open-source project. |
Hello and thank you for this great software. I only have one issue, there are a few entries I would like to delete - maybe I am being blind but I cannot see how to "delete" an activity.
I have seen this message above, as well as another one ( issue #4 ) but still cannot seem to comprehend how to do this. |
@gdinit yes, the above link says |
@aardappel I understand - thank you for the quick response. |
@aardappel I would upvote the creation of a delete entry too. |
Also second a way to delete entries. Recently had a crash that resulted in the database getting corrupted. Thankful for the backups, which I then merged into the current database (hadn't realized it had been corrupted/reset). Only a few days later I realized I accidentally merged it multiple times, and it turns out the times just add up (like 80 hour days :D). If I could just delete all that duplicated data I could retrieve my most recent data. |
Where are the db files that procrastitracker uses and how can I open them?
The text was updated successfully, but these errors were encountered: