New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #30072 (reopened defect)

Opened 23 months ago

Last modified 14 months ago

terminator does not work

Reported by: f.calboli@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: terminator

Description (last modified by macsforever2000@…) (diff)

:~$ terminator 
You need to install the python bindings for gobject, gtk and pango to run Terminator.

I do have gobject, gtk and pango in my /opt tree

:~$ port installed |grep gobj
  py27-gobject @2.26.0_1 (active)
:~$ port installed |grep pang
  pango @1.28.4_0 (active)
:~$ port installed |grep gtk
  gtk-doc @1.17_0+python27 (active)
  gtk2 @2.24.4_0+x11 (active)
  py27-gtk @2.22.0_1 (active)

Change History

comment:1 Changed 23 months ago by macsforever2000@…

  • Owner changed from macports-tickets@… to ryandesign@…
  • Description modified (diff)

comment:2 Changed 22 months ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r80839 by adding python variants to terminator, as was recently done to vte. You must ensure the python variant you select for terminator matches the python variant you selected for vte.

comment:3 Changed 14 months ago by agwblack@…

  • Status changed from closed to reopened
  • Resolution fixed deleted

I do not believe this issue is fixed. I am having the same problem as originally described. I believe that I have the python27 versions of all the relevant packages installed.

for i in {terminator,python,vte,gtk,pango,gobj}; do port installed | grep $i; done
  terminator @0.96_0+python27 (active)
  gnome-doc-utils @0.20.6_0+python27 (active)
  gtk-doc @1.17_0+python27 (active)
  python27 @2.7.2_0
  python27 @2.7.2_0+universal
  python27 @2.7.2_4+universal (active)
  python_select @0.3_1 (active)
  terminator @0.96_0+python27 (active)
  vte @0.28.2_0+python27 (active)
  xorg-libxcb @1.7_0+python27
  xorg-libxcb @1.7_0+python27+universal (active)
  xorg-xcb-proto @1.6_0+python27 (active)
  vte @0.28.2_0+python27 (active)
  gtk-doc @1.17_0+python27 (active)
  gtk2 @2.24.4_0+x11 (active)
  py27-gtk @2.22.0_1+x11 (active)
  pango @1.28.4_0+x11 (active)
  py27-gobject @2.26.0_1 (active)

python --version
  Python 2.7.2

terminator 
  You need to install the python bindings for gobject, gtk and pango to run Terminator.

Some investigation suggests that the python script that launches Terminator is failing to import gtk and pango. Attempting to import these in the python interpreter yields the following:

>>> import pango
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/pango.so, 2): Library not loaded: /opt/local/lib/libgobject-2.0.0.dylib
  Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/pango.so
  Reason: Incompatible library version: pango.so requires version 3001.0.0 or later, but libgobject-2.0.0.dylib provides version 2801.0.0
>>> import gtk
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 40, in <module>
    from gtk import _gtk
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/_gtk.so, 2): Library not loaded: /opt/local/lib/libatk-1.0.0.dylib
  Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/_gtk.so
  Reason: Incompatible library version: _gtk.so requires version 20210.0.0 or later, but libatk-1.0.0.dylib provides version 3210.0.0

Installing pango-devel through macports seemed to fix the import pango call (although this has some pretty hefty dependencies - not sure precisely which package was responsible for the actual fix). Installing atk and gdk-pixbuf2 fixed the call to import gtk. I suggest these 3 packages are added to the dependencies of terminator.

Note: See TracTickets for help on using tickets.