FS#56254 - [terminator] 1.91-5 crashes when launched from Tint2, Synapse
Attached to Project:
Community Packages
Opened by Vincent (fylou) - Monday, 06 November 2017, 11:51 GMT
Last edited by Giancarlo Razzolini (grazzolini) - Thursday, 20 September 2018, 23:17 GMT
Opened by Vincent (fylou) - Monday, 06 November 2017, 11:51 GMT
Last edited by Giancarlo Razzolini (grazzolini) - Thursday, 20 September 2018, 23:17 GMT
|
Details
Hello,
With terminator 1.91-5, no windows opens when launched from taskbar (Tint2) or Synapse, if there is no other already opened terminator windows. A window can be opened succesfully from Geany terminal. Error message is the following : [quote]Traceback (most recent call last): File "/bin/terminator", line 86, in <module> dbus_service = ipc.DBusService() File "/usr/lib/python2.7/site-packages/terminatorlib/ipc.py", line 40, in __init__ self.prepare_attributes() File "/usr/lib/python2.7/site-packages/terminatorlib/ipc.py", line 60, in prepare_attributes self.terminator = Terminator() File "/usr/lib/python2.7/site-packages/terminatorlib/terminator.py", line 72, in __init__ self.prepare_attributes() File "/usr/lib/python2.7/site-packages/terminatorlib/terminator.py", line 97, in prepare_attributes self.pid_cwd = get_pid_cwd() File "/usr/lib/python2.7/site-packages/terminatorlib/cwd.py", line 42, in get_pid_cwd system = platform.system() File "/usr/lib/python2.7/platform.py", line 1265, in system return uname()[0] File "/usr/lib/python2.7/platform.py", line 1232, in uname processor = _syscmd_uname('-p','') File "/usr/lib/python2.7/platform.py", line 967, in _syscmd_uname rc = f.close() IOError: [Errno 10] Aucun processus enfant [/quote] /usr/share/applications/terminator.desktop [quote][Desktop Entry] Name=Terminator TryExec=terminator Exec=terminator Icon=terminator Type=Application Categories=GNOME;GTK;Utility;TerminalEmulator;System; StartupNotify=true X-Ubuntu-Gettext-Domain=terminator X-Ayatana-Desktop-Shortcuts=NewWindow; Keywords=terminal;shell;prompt;command;commandline; [NewWindow Shortcut Group] Name=Open a New Window Exec=terminator TargetEnvironment=Unity[/quote] ~/.config/terminator/config [quote][global_config] suppress_multiple_term_dialog = True title_transmit_bg_color = "#00c8c6" window_state = maximise [keybindings] [layouts] [[default]] [[[child1]]] parent = window0 type = Terminal [[[window0]]] parent = "" type = Window [plugins] [profiles] [[default]] background_darkness = 0.4 background_image = None cursor_color = "#aaaaaa" cursor_shape = ibeam scrollback_infinite = True scrollback_lines = 510[/quote] When we open a Terminator window, the message is [quote](terminator:19219): Gtk-WARNING **: Allocating size to GtkVScrollbar 0x560cbb5bc300 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate? [/quote] After closing it: [quote]<window.Window object at 0x7f82ad874d70 (terminatorlib+window+Window at 0x560cbb42e2a0)> is not in registered window list[/quote] [/quote] With Synapse, the message is [quote] (synapse:2162): Gtk-WARNING **: Allocating size to SynapseGuiSchemaContainer 0x2452a40 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate? (synapse:2162): Gtk-WARNING **: Allocating size to SynapseGuiSchemaContainer 0x2452a40 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate? (synapse:2162): Gtk-WARNING **: Allocating size to SynapseGuiSchemaContainer 0x2452a40 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate? [/quote] All these errors happen, when python redirects to [quote] [16:04 ~ lyly] # python2 -V Python 2.7.14 [/quote] or to [quote] [16:04 ~ lyly] # python3 -V Python 3.6.2 [/quote] |
This task depends upon
Closed by Giancarlo Razzolini (grazzolini)
Thursday, 20 September 2018, 23:17 GMT
Reason for closing: Works for me
Additional comments about closing: Also, no response from reporter for some time now.
Thursday, 20 September 2018, 23:17 GMT
Reason for closing: Works for me
Additional comments about closing: Also, no response from reporter for some time now.
Well, the fact that terminator opens if you have at least one opened, tells me this is a DBus issue. There are some things you can try. The first would obviously be disable DBus support for terminator, you can do that from Preferences.
Secondly, I would try running terminator with no config file, and see if it works. Python 3 version is not relevant for terminator, since it's python2 only.
Those gtk_widget_preferred_width messages are harmless, you can ignore them. Also, the messages are using your local language, can you run terminator with LANG=C so we can have the messages in English?
From now on, I use LANG=C.
1) When I launch terminator from a an existing terminator windows, I obtain:
** (terminator:4528): WARNING **: Binding '<Control><Alt>a' failed!
Unable to bind hide_window key, another instance/window has it.
(terminator:4528): Gtk-WARNING **: Allocating size to GtkVScrollbar 0x5575a2fc4270 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
2) When no terminator window is open. I obtain the following error message.
Traceback (most recent call last):
File "/bin/terminator", line 114, in <module>
TERMINATOR = Terminator()
File "/usr/lib/python2.7/site-packages/terminatorlib/terminator.py", line 72, in __init__
self.prepare_attributes()
File "/usr/lib/python2.7/site-packages/terminatorlib/terminator.py", line 97, in prepare_attributes
self.pid_cwd = get_pid_cwd()
File "/usr/lib/python2.7/site-packages/terminatorlib/cwd.py", line 42, in get_pid_cwd
system = platform.system()
File "/usr/lib/python2.7/platform.py", line 1265, in system
return uname()[0]
File "/usr/lib/python2.7/platform.py", line 1232, in uname
processor = _syscmd_uname('-p','')
File "/usr/lib/python2.7/platform.py", line 967, in _syscmd_uname
rc = f.close()
IOError: [Errno 10] No child process
Note, I translated the last sentence in english. LANG=C did not do it.
Other than that, we can fill a bug request upstream.
I removed the translation line from .desktop file. If I use the original .desktop file, the problem is still there. In addtion, terminator binary is both in /bin and /usr/bin dir, no symlink. It has been installed using yaourt. /bin/terminator is used with the command terminator
Can you tell more about bug request upstream?
/bin is a symlink to /usr/bin. Also, you should use the stock package when reporting issues. Even though I don't think just removing the translation lines from the .desktop file would cause this issue, I can't really know for sure.
Also, have you installed the package terminator from [community] or one of the versions from the AUR? I still think this is something due to your configuration, rather than an issue with terminator. I had some time over the weekend and I was also able to launch terminator from synapse, with or without an instance running already.
I use terminator from [community] repo.