terminator crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Terminator |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
Thanks for the great app, probably one of the best apps :-)
since the last update i'm getting the following error:
terminator.
terminator.
terminator.
terminator.
Lines from the binary:
102 MAKER = Factory()
103 TERMINATOR = Terminator()
104 TERMINATOR.
105 TERMINATOR.
106 TERMINATOR.
107 TERMINATOR.
108 try:
109 dbg('Creating a terminal with layout: %s' % OPTIONS.layout)
110 TERMINATOR.
111 except (KeyError,
112 err('layout creation failed, creating a window ("%s")' % ex )
113 TERMINATOR.
114 TERMINATOR.
115 if OPTIONS.debug >= 2:
116 import terminatorlib.
117 # pylint: disable-msg=W0611
118 import threading
119 Gdk.threads_init()
120 (DEBUGTHREAD, DEBUGSVR) = debugserver.
121 TERMINATOR.
122 try:
123 Gtk.main()
124 except KeyboardInterrupt:
125 pass
Not sure if it is Ubuntu 18.04 related or something in the app.
config:
[global_config]
[keybindings]
[layouts]
[[default]]
[[[child1]]]
parent = window0
type = Terminal
[[[window0]]]
parent = ""
type = Window
[plugins]
[profiles]
[[default]]
cursor_color = "#aaaaaa"
foreground_
/home/jan/
Thanks
I have some confidence that this is happening because you're running terminator with python3 instead of python2. ValueError) , ex:
In python 2 the syntax is valid:
except (KeyError,
which is not valid for python3.. so instead should be using "as" keyword:
except (KeyError, ValueError) as ex:
Thing is, I don't know how the port to python3 is happening here, something important imo considering python2 will EOL at Jan, 1st, 2020