ajaxray / geek-life

The Todo List / Task Manager for Geeks in command line
MIT License
493 stars 29 forks source link

Windows 10 : error at startup #19

Open ryosama opened 3 years ago

ryosama commented 3 years ago

Hi,

I've just downloaded your windows release but i've an error at startup

Could not connect Embedded Database File: %!w(*os.PathError=&{open C:\Users\xxx.geek-life\default.db 3}) FATAL ERROR: Exiting program! - Could not connect Embedded Database File

I'm using Windows 10 pro 64bits

ajaxray commented 3 years ago

Hello @ryosama,

Seems like the application is failing to get your home directory. Can you please try setting the Database path manually and let know if it works? You'll find it in "Where is the data stored? Can I change the location?" section of the readme file.

ryosama commented 3 years ago

It works if I specify a DB_FILE environnement variable. On my windows 10 I modify my Home directory to "e:\Documents"

Welding-Torch commented 2 months ago

@ryosama thanks for this I had to go into Environment Variables in Windows and set the DB_FILE path like this image The app is unusable on Windows without doing this.