ransome1 / sleek

todo.txt manager for Linux, Windows and MacOS, free and open-source (FOSS)
https://github.com/ransome1/sleek/wiki
MIT License
1.28k stars 99 forks source link

Error: ENOENT: no such file or directory, open ...\done.txt in Windows 11 22H2 #710

Open stremblay opened 1 month ago

stremblay commented 1 month ago

App Version: 2.0.13.0 Platform: Windows 11 22H2 Installation method: Microsoft Store

Expected behaviour: Unsure. But, I would assume it would create a file "done.txt" in the same directory as the "todo.txt" file and copy all the completed tasks into that file. If the file already exists, it would merge the completed tasks with the other archived ones in the done.txt file.

Actual Behaviour: A little popup shows up in the bottom left of the application window with the following message: ENOENT: no such file or directory, open ...\done.txt

Steps to reproduce:

  1. Open the app with an existing todo file with completed tasks
  2. Click the archive icon.
  3. Popup appears.

Workaround: Manually creating the done.txt file beforehand and then clicking the archive button seems to work. I think the problem is when the file doesn't exist.

Screenshot: Capture d’écran 2024-05-24 105121