bartib icon indicating copy to clipboard operation
bartib copied to clipboard

bartib does not run in cygwin due to being unable to find the `.bartib` file

Open dvklopfenstein opened this issue 9 months ago • 2 comments

Hello,

Thank you very much for your timetracker.

I work in both a Linux and cygwin environment. Bartib works well in the Linux environment, but cannot find the .bartib file in the cygwin environment (and so cannot run).

Are there any plans to support cygwin?

Here is the log:

$ ls -lrt ~/projects.bartib
-rwxr-xr-x 1 dvklo dvklo 60 Feb 24 13:48 /home/dvklo/projects.bartib

$ readlink -f !$
readlink -f ~/projects.bartib
/home/dvklo/projects.bartib

$ bartib -f /home/dvklo/projects.bartib start -d "Begin project apples" -p apples
Started activity: "Begin project apples" (apples) at 2025-02-24 13:50
Error: Could not write to file: /home/dvklo/projects.bartib

Caused by:
    The system cannot find the path specified. (os error 3)

dvklopfenstein avatar Feb 24 '25 18:02 dvklopfenstein

This is really strange. I use bartib with cygwin all the time but I have not ran into this issue yet. Still, I am able to reproduce it. I have no problem to use files if I specify a /cygdrive/... path or a relative path, but it fails if I open a file in /home/myuser/ . Right now, I do not have any solution and will investigate it further.

nikolassv avatar Feb 27 '25 14:02 nikolassv

Thank you so much for your rapid response. Your time tracker looks really cool. And thank you for the detailed response and for taking your time to look into the issue.

dvklopfenstein avatar Mar 08 '25 18:03 dvklopfenstein