Closed zamostny closed 2 years ago
Fixed - cannot have todo in users folder. Needs to be a subfolder.
Hello! Thanks for raising the issue!
I have a question regarding your use of pter
on Windows -- are you running it in the normal commandline? Because it was never really supported!
For the use in Windows you should use qpter
instead of pter
!
However, I'm intrigued about the circumstances how you got it running under Windows with the TUI!
Fresh install onto Windows 11, using the pip commands listed in your install guide. I create a blank todo.txt file, launch pter, the app and attempt to enter a task, press enter to commit the task... app crashes. Here is the log entry:
[CRITICAL] Pter crashed with exception: '<' not supported between instances of 'bool' and 'NoneType' File "C:\Users\USERNAME\AppData\Local\Programs\Python\Python310\lib\site-packages\pter\curses.py", line 2128, in run_cursesui window.run() File "C:\Users\USERNAME\AppData\Local\Programs\Python\Python310\lib\site-packages\cursedspace\application.py", line 59, in run raise exception File "C:\Users\USERNAME\AppData\Local\Programs\Python\Python310\lib\site-packages\cursedspace\application.py", line 52, in run self.main() File "C:\Users\USERNAME\AppData\Local\Programs\Python\Python310\lib\site-packages\pter\curses.py", line 1377, in main self.update_tasks() File "C:\Users\USERNAME\AppData\Local\Programs\Python\Python310\lib\site-packages\pter\curses.py", line 1534, in update_tasks self.apply_search() File "C:\Users\USERNAME\AppData\Local\Programs\Python\Python310\lib\site-packages\pter\curses.py", line 1511, in apply_search self.update_sorting() File "C:\Users\USERNAME\AppData\Local\Programs\Python\Python310\lib\site-packages\pter\curses.py", line 1526, in update_sorting self.tasks.tasks.sort(key=lambda t: utils.sort_fnc(t, self.sort_order))