MacTimeLog
MacTimeLog copied to clipboard
Package release with recent fixes
Please package a new release that includes recent fixes.
The last packaged release is v0.2-beta3, but there have been several commits since then, such as 2754ff0eece5cf727313ccb3858f4d7676ac76de & c3b41a2f615f9e20f101cb4a67e5ba2ed0714453, which fix #7.
Tried building from source, but resulting .app
file crashes at launch.
Would be nice to have a new binary that includes these and other fixes.
Built latest version based on master: https://github.com/SPlyer/MacTimeLog/releases/download/v0.3-alpha/MacTimeLog.v0.3-alpha.zip
If it crashes again please send me log file (~/Library/Logs/MacTimeLog/MacTimeLog.log)
Hi Artem,
Thanks for providing this. It doesn't crash on launch, but I did notice a few things:
- The new version overwrote my settings on the Preferences > General tab with default values for Working day starts at, Log edit command, etc.
- The numeric entry fields under Preferences > Notifications don't respond to keyboard input (clicking arrows with the mouse works).
- In #7, I wrote:
Consider also showing date fields (read only?) when other Period options are selected.
This is helpful to understand which time range is displayed for options such as Current Week, Current Month, etc., but only if the values are updated to reflect the selection period. They currently show today's date, regardless of the selected Period.
The new version did crash when my launch script tried to activate the app via AppleScript:
tell application "MacTimeLog" to activate
The log file suggests the system tried to launch the version I built from source a few days ago (instead of your new version, which lives at /Applications/Utilities/MacTimeLog.app
):
[2013-12-30 13:00:05,002] [ERROR] [mactimelog] RuntimeError:
~/Library/Application Support/MacTimeLog/projects is locked.
There is probably a Durus storage server (or a client)
using it.
File "~/.../MacTimeLog/dist/MacTimeLog.app/Contents/Resources/__boot__.py", line 316, in <module>
File "~/.../MacTimeLog/dist/MacTimeLog.app/Contents/Resources/__boot__.py", line 311, in _run
File "~/.../MacTimeLog/dist/MacTimeLog.app/Contents/Resources/main.py", line 29, in <module>
File "gui/delegates/app_delegate.pyc", line 4, in <module>
File "tasks/projects.pyc", line 67, in <module>
File "tasks/projects.pyc", line 22, in __init__
File "~/.../MacTimeLog/dist/MacTimeLog.app/Contents/Resources/lib/python2.7/durus/file_storage.py", line 89, in __init__
How do I "unlock" the projects
file & make sure the right version of the app is launched?
I fixed the crash problem by deleting the manually built version from the dist/
folder.
Now my launch script activates the 0.3-alpha version correctly.
Hi Roger,
- I'm aware of that. I'm in process of getting rid of durus completely, settings was moved to ini format, probably I'll do a migration script that will convert settings from durus to ini.
- Hm, did it work with arrows before ?
- Fixed in the new release
-
“settings was moved to ini format”
Nice. So editing~/Library/Application Support/MacTimeLog/user_prefs.ini
changes settings.
Would be good if this could include log file location & date formats (see #3). - No, just checked. Wasn't possible to type new values in old version either. Only works with mouse.
- Looks like the From and To values are reversed in
alpha2
.
If I set the Period to Current Month, it shows From2014-01-08
(which is tomorrow) To2014-01-01
. See #18.
- It's pretty easy to make log location editable in settings file, as for date formats, it's a bit trickier, because it'd require to change date format in log file as well.
- Thanks for the fix.