GTG

GTG on Centos6

Asked by Leon Faust

Hello,

I am just curious about running gtg on centos6. Its a stable os with a gnome2
gui environment. The packaging of liblarch/_gtk and gtg was straight forward.
But the execution ends up in:

$ gtg
Traceback (most recent call last):
  File "/usr/bin/gtg", line 89, in <module>
    main()
  File "/usr/bin/gtg", line 84, in main
    from GTG import gtg
  File "/usr/lib/python2.6/site-packages/GTG/gtg.py", line 58, in <module>
    from GTG.gtk.manager import Manager
  File "/usr/lib/python2.6/site-packages/GTG/gtk/manager.py", line 34, in <module>
    from GTG.gtk.browser.browser import TaskBrowser
  File "/usr/lib/python2.6/site-packages/GTG/gtk/browser/browser.py", line 41, in <module>
    from GTG.gtk.browser.custominfobar import CustomInfoBar
  File "/usr/lib/python2.6/site-packages/GTG/gtk/browser/custominfobar.py", line 28, in <module>
    class CustomInfoBar(gtk.InfoBar):
AttributeError: 'module' object has no attribute 'InfoBar'

I am not familiar with python and want to ask for interpretation of this output.

Additional infos:

$ rpm -qa |grep -i -E 'gtg|^python' |sort
gtg-0.3.1-4.localEL6.noarch
python-2.6.6-52.el6.x86_64
python-babel-0.9.4-5.1.el6.noarch
python-beaker-1.3.1-7.el6.noarch
python-bibtex-1.2.7-3.sheeEL6.x86_64
python-configobj-4.6.0-3.el6.noarch
python-crypto-2.0.1-22.el6.x86_64
python-dateutil-1.4.1-6.el6.noarch
python-ethtool-0.6-5.el6.x86_64
python-iniparse-0.3.1-2.1.el6.noarch
python-iwlib-0.1-1.2.el6.x86_64
python-jinja2-2.2.1-2.el6_5.x86_64
python-kerberos-1.1-6.2.el6.x86_64
python-krbV-1.0.90-3.el6.x86_64
python-ldap-2.3.10-1.el6.x86_64
python-liblarch-2.1.0-5.localEL6.noarch
python-liblarch_gtk-2.1.0-5.localEL6.noarch
python-libs-2.6.6-52.el6.x86_64
python-lxml-2.2.3-1.1.el6.x86_64
python-mako-0.3.4-1.el6.noarch
python-markupsafe-0.9.2-4.el6.x86_64
python-meh-0.12.1-3.el6.noarch
python-netaddr-0.7.5-4.el6.noarch
python-nose-0.10.4-3.1.el6.noarch
python-nss-0.13-1.el6.x86_64
python-paramiko-1.7.5-2.1.el6.noarch
python-pyasn1-0.0.12a-1.el6.noarch
python-pycurl-7.19.0-8.el6.x86_64
python-setuptools-0.6.10-3.el6.noarch
python-sexy-0.1.9-9.1.el6.x86_64
python-slip-0.2.20-1.el6_2.noarch
python-urlgrabber-3.9.1-9.el6.noarch

Any hints?

Thanks
Leon

Question information

Language:
English Edit question
Status:
Solved
For:
GTG Edit question
Assignee:
No assignee Edit question
Solved by:
Leon Faust
Solved:
Last query:
Last reply:
Revision history for this message
Izidor Matušov (izidor) said :
#1

Your version of PyGTK / GTK library must be >=2.22 where gtk.InfoBar was introduced:

http://www.pygtk.org/pygtk2reference/class-gtkinfobar.html

Revision history for this message
Leon Faust (leonfauster) said :
#2

Indeed its

$ rpm -qa |grep pygtk2
pygtk2-2.16.0-3.el6.x86_64
pygtk2-libglade-2.16.0-3.el6.x86_64

mmh, maybe I can bundle it only with this application
and leave the system wide lib alone. I will see.

BTW, it would be great to have working branches for the main
distros that are still supported by the vendors. This would lead
to a wider use of such applications and to a better user experience
but that its another story.

So far, thanks for your the fast response!