-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AssertionError when using ColumnShortcuts in Column UI #294
Comments
I could reproduce it on Linux Mint 20.2 with same Python version and packages. |
Looks like some sort of race condition in the presence of line numbers set as todo identifier. I believe setting:
should help. Line numbers are really far from ideal as identifiers and in column-ui they can be really problematic with certain setups. We (@bram85 and I) were aware of this, but line numbers were still left as default for compatibility reasons. In my opinion they are fine only in CLI and in prompt mode. For column-ui |
Hi @mruwek, I added Cheers, Henk |
Adding the
|
This crash of the columns command was driving me crazy. The workaround above works for me too. But it should not be necessary; fixing this issue with using line numbers is important because it affects new users. |
Hello!
In approximately 30% of the times I press a column shortcut int de column UI a trace log appears and the terminal command prompt appears (i.e. topydo column UI has aborted). The exception is caused by the following error:
Full trace log:
topydo0.log
This log is virtually the same for every time this error occurs.
I often use the following shortcuts on a single selected item:
The actual command is executed successfully, only in case of edit it has no use to edit and save the todo item because the column UI has dropped out.
To startup the column UI I use
topydo -a columns
I cannot find another factor that makes this error a 100% reproducible, so possibly it is partly a matter of coincidence. I realize that makes it hard to analyze this bug.
I recently switched Windows computers and from a setup with Cygwin to a setup under WSL2 (Windows Subsystem for Linux version 2). This error occurs occasionally on Cygwin and very frequent under the WSL2 setup. This is my current setup:
pip
user installation of all packages (to prevent conflicts with theapt
package manager)todo.txt
: local WSL2 file system (it is possible to accesstodo.txt
on the Windows file system, but notification of file changes will not work)Installed python packages and versions (associated with topydo[columns]):
The text was updated successfully, but these errors were encountered: