terminator crashes: TypeError: Item 0: Must be number, not str
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Terminator |
Fix Released
|
Unknown
|
|||
terminator (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
"terminator -e command" crashes when called via x-terminal-emulator symlink:
```
Traceback (most recent call last):
File "/usr/bin/
TERMINATOR.
File "/usr/lib/
terminal.
File "/usr/lib/
self.
TypeError: Item 0: Must be number, not str
```
Steps to reproduce in a clean environment:
1. Launch ubuntu-
2. Try Ubuntu
3. Open terminal
4. Install terminator:
```
echo "deb http://
sudo apt update
sudo apt -y install terminator
```
5. Run following command:
```
terminator -e "sh -c 'echo success; sleep 2'"
```
This command will open terminator and print "success".
6. Run the same command via the x-terminal-emulator symlink:
```
x-terminal-emulator -e "sh -c 'echo success; sleep 2'"
```
Changed in terminator: | |
status: | Unknown → Fix Released |
I've reproduced this. Bringing up preferences and making any change to trigger a ~/.config/ terminator/ config create makes the issue disappear. Maybe install should add the global /etc/xdg/ terminator/ config? Or rather than triggering this error, try to create a user config before declaring the error, only declaring the error if creating a default user config fails?