npcole / npyscreen

Automatically exported from code.google.com/p/npyscreen
Other
481 stars 109 forks source link

GridColTitle selected_row() method call can break running application #99

Open jerome-diver opened 4 years ago

jerome-diver commented 4 years ago

This method have to first try to know if a selection has been made. Why ? Because if not, there is an error. Example: you call this method from an afterEditing form method, but if selection wasn't made, boom... crash. And this afterEditing form method is also called when timer is out or when "OK" button was pushed...

For surround the problem, i do try/except method around, but the best should be to correct the original method. But i failed to find this method. Could you explain me how this method has been called and where to find it ? i used:

 rg -e "selected_row"

from your packages path place, but ripgrep doesn't find anything

jerome-diver commented 4 years ago

i know why i can not see there... because this repo is not the last one you are using for pip install care about... so this is an old version of npyscreen....