starting 1.90 crashes on Ubuntu

Bug #1663027 reported by Ricky Seltzer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Terminator
Invalid
Undecided
Unassigned

Bug Description

Description: Ubuntu 16.04.1 LTS
Codename: xenial
Linux ricky-Inspiron 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
stretch/sid

Regular Unity desktop
Python 2.7.12
/usr/bin/unity --version:
     7.4.0

------------------------
terminator-1.90 ./terminator ———
layout creation failed, creating a window ("Namespace Keybinder not available")
Traceback (most recent call last):
  File "./terminator", line 123, in <module>
    TERMINATOR.new_window()
  File "/home/ricky/Downloads/Terminator/terminator-1.90/terminatorlib/terminator.py", line 207, in new_window
    window = maker.make('Window')
  File "/home/ricky/Downloads/Terminator/terminator-1.90/terminatorlib/factory.py", line 94, in make
    output = func(**kwargs)
  File "/home/ricky/Downloads/Terminator/terminator-1.90/terminatorlib/factory.py", line 100, in make_window
    import window
  File "/home/ricky/Downloads/Terminator/terminator-1.90/terminatorlib/window.py", line 23, in <module>
    gi.require_version('Keybinder', '3.0')
  File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line 102, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Keybinder not available
--------------------

I am not a python programmer so I am unable to help further.
But I suspect I've installed it wrong. I used:
             ./setup.py install --record=install-files.txt

Revision history for this message
Ricky Seltzer (rickyseltzer) wrote :

The tool to attach files doesn't seem to do anything. Here's the config file:
I haven't used sml in over a year.
---------------------------------------------------------------------------------
[global_config]
  always_split_with_profile = True
  enabled_plugins = InactivityWatch, CustomCommandsMenu, ActivityWatch, TerminalShot, LaunchpadCodeURLHandler, APTURLHandler, Logger, LaunchpadBugURLHandler
  focus = mouse
  handle_size = 1
  inactive_color_offset = 0.7
  title_hide_sizetext = True
  title_inactive_bg_color = "#979495"
  title_receive_fg_color = "#f1e514"
  title_transmit_bg_color = "#2742ac"
  title_transmit_fg_color = "#f34b3b"
  window_state = maximise
[keybindings]
  close_term = <Primary><Shift>w
  switch_to_tab_1 = <Primary>1
  switch_to_tab_2 = <Primary>KP_2
  switch_to_tab_3 = <Primary>KP_3
  switch_to_tab_4 = <Primary>KP_4
  switch_to_tab_5 = <Primary>KP_5
  switch_to_tab_6 = <Primary>KP_6
  switch_to_tab_7 = <Primary>7
[layouts]
  [[default]]
    [[[child1]]]
      parent = window0
      profile = default
      type = Terminal
    [[[window0]]]
      parent = ""
      type = Window
[plugins]
[profiles]
  [[default]]
    alternate_screen_scroll = False
    background_color = "#051039"
    background_image = None
    copy_on_selection = True
    cursor_color = "#e36666"
    custom_command = /usr/bin/zsh
    font = Ubuntu Mono derivative Powerline 20
    foreground_color = "#e5fb73"
    login_shell = True
    scroll_on_output = False
    scrollback_infinite = True
    scrollback_lines = 1500
    urgent_bell = True
    use_custom_command = True
    use_system_font = False
    visible_bell = True
  [[Root]]
    alternate_screen_scroll = False
    background_image = None
    copy_on_selection = True
    cursor_color = "#a4ee06"
    font = Ubuntu Mono Bold 17
    foreground_color = "#e53c00"
    login_shell = True
    palette = "#073642:#dc322f:#859900:#b58900:#268bd2:#d33682:#2aa198:#eee8d5:#002b36:#cb4b16:#586e75:#657b83:#839496:#6c71c4:#93a1a1:#fdf6e3"
    scroll_on_output = False
    scrollback_infinite = True
    use_system_font = False
    visible_bell = True
  [[sml]]
    alternate_screen_scroll = False
    background_image = None
    copy_on_selection = True
    cursor_color = "#d21c1c"
    custom_command = /usr/bin/rlwrap -pRED /usr/bin/sml
    font = Ubuntu Mono 15
    scrollback_lines = 3500
    scrollbar_position = left
    update_records = False
    use_custom_command = True
    use_system_font = False
    visible_bell = True

Revision history for this message
Stephen Boddy (stephen-j-boddy) wrote :

You're missing a dependancy as you have installed without using the nightly PPA.

Depends: gconf2,
 gir1.2-gconf-2.0,
 gir1.2-keybinder-3.0, <====
 libdbus-1-3,
 libgtk-3-0,
 libnotify4,
 libvte-2.91-0,
 python-psutil,
 python-gobject,
 ${misc:Depends},
 ${python:Depends}

I've marked the one you would need to apt-get install. Alternatively you could install the nightly which would keep you bang up to date (along with a minor risk of breakage if your risk profile allows that.)

As it happens a fix for that failure (when Keybinder is not available) went into the tree today.

I'm going to mark this as invalid as it's no longer something that needs addditional new code changes.

Changed in terminator:
status: New → Invalid
Revision history for this message
Ricky Seltzer (rickyseltzer) wrote :

Thank You very much.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.