X out of the 'user argument' window causes error with some commands
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CLI Companion |
Fix Released
|
Medium
|
Marek Bardoński |
Bug Description
This bug happens with commands that require input from the user, commands with a value in the middle column.
When you click run a dialog opens to ask what you want to replace the ? with. On some commands, when you click the X button to close the window it causes an error that persists till you close the app.
To Reproduce.
Select the command: grep -i -R -l ? ?
Click 'Run'
When the dialog pops up asking for the 'string, path/to/*' click the X button to close the dialog
Now try and run any other command. It will not run.
This is the error when closing the dialog:
Traceback (most recent call last):
File "/home/
c = new_cmnd.
IndexError: list index out of range
Every row you select after this throws this error:
/home/duanedesi
(model, pathlist)
Then when you try and run another command, this error
Traceback (most recent call last):
File "/home/
row_int = int(view.ROW[0][0]) ## removes everything but number from [5,]
IndexError: list index out of range
Changed in clicompanion: | |
importance: | Undecided → Medium |
Changed in clicompanion: | |
status: | New → Confirmed |
assignee: | nobody → bdfhjk (bdfhjk) |
Changed in clicompanion: | |
status: | Confirmed → Fix Committed |
Changed in clicompanion: | |
status: | Fix Committed → Fix Released |