nikolassv/bartib

Bartib not initializing log file?

kartva opened this issue · 2 comments

$ touch ~/activities.bartib
$ echo $BARTIB_FILE
~/activities.bartib
$ bartib start -p "proj" -d "act"
Started activity: "act" (proj) at 2021-11-16 14:22
Error: Could not write to file: ~/activities.bartib

Caused by:
    No such file or directory (os error 2)

$ which bartib
/home/username/.cargo/bin/bartib

Context: cloned repository, used cargo install --path .

Could you try to set your $BARTIB_FILE to an absolute path, e.g /home/username/activities.bartib? I am not sure that it will handle relative paths correctly.

That fixed the issue.