LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-05-2014, 11:48 AM   #1
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,457

Rep: Reputation: Disabled
terminator fails to run


Hi,

I'm trying to get terminator to run on a slackware64 13.37 multi-lib system. Using sbopkg terminator compiles fine, but when I try to run it I get:

Code:
ImportError: could not import bonobo.ui
Traceback (most recent call last):
  File "/usr/bin/terminator", line 76, in <module>
    TERMINATOR = Terminator()
  File "/usr/lib64/python2.6/site-packages/terminatorlib/terminator.py", line 44, in __init__
    self.prepare_attributes()
  File "/usr/lib64/python2.6/site-packages/terminatorlib/terminator.py", line 67, in prepare_attributes
    self.attempt_gnome_client()
  File "/usr/lib64/python2.6/site-packages/terminatorlib/terminator.py", line 89, in attempt_gnome_client
    self.gnome_client.connect_to_session_manager()
AttributeError: '__main__.GnomeClient' object has no attribute 'connect_to_session_manager'
I have reinstalled python, reinstalled libgnome, not sure what to do next.

Thanks for any help or ideas,

Brian
 
Old 03-05-2014, 11:57 AM   #2
notKlaatu
Member
 
Registered: Sep 2010
Location: Wellington, New Zealand
Distribution: Slackware
Posts: 394

Rep: Reputation: 97
did you re install libbonobo and the other deps for libgnome?
 
Old 03-05-2014, 12:16 PM   #3
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,457

Original Poster
Rep: Reputation: Disabled
Yes I did.

(I don't really understand why libgnome should be involved at all. slackbuilds.org does not list it (or anything else, for that matter) has a requirement for building. I had just read somewhere that it might work.)

Brian
 
Old 03-05-2014, 02:22 PM   #4
notKlaatu
Member
 
Registered: Sep 2010
Location: Wellington, New Zealand
Distribution: Slackware
Posts: 394

Rep: Reputation: 97
I'm surprised the SlackBuild does not list libgnome as a dep. Looking through the source code of terminator, it looks like you need at least pygtk and gobject. I'm not sitting in front of my slackware box at this moment, but I'm pretty sure at least gobject or pygobject is not included by default.

To me this looks like one of "those" packages, like Miro and OpenShot and other apps that depend heavily upon Python+GTK. Have you installed
http://slackbuilds.org/repository/13.../gnome-python/

as well?
 
Old 03-05-2014, 03:59 PM   #5
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Undecided
Posts: 3,424
Blog Entries: 6

Rep: Reputation: 796Reputation: 796Reputation: 796Reputation: 796Reputation: 796Reputation: 796Reputation: 796
Code:
ll /var/log/packages/ | grep -E "pygtk|gob|terminator"
-rw-r--r-- 1 root root  12K Feb 01 2014  1:09 PM gobject-introspection-1.32.1-x86_64-1
-rw-r--r-- 1 root root 9.9K Feb 01 2014  1:09 PM pygobject-2.28.6-x86_64-2
-rw-r--r-- 1 root root  35K Feb 01 2014  1:09 PM pygtk-2.24.0-x86_64-1
-rw-r--r-- 1 root root  18K Feb 03 2014  7:27 AM terminator-0.97-x86_64-1_SBo
is what I have installed here.
 
Old 03-05-2014, 04:23 PM   #6
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,457

Original Poster
Rep: Reputation: Disabled
@notKlaatu - Yes, I have gnome-python installed.

@Habitual - I have a full install which includes pygtk and pygobject. gobject-introspection is not in 13.37.

Brian
 
Old 03-06-2014, 08:00 AM   #7
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Undecided
Posts: 3,424
Blog Entries: 6

Rep: Reputation: 796Reputation: 796Reputation: 796Reputation: 796Reputation: 796Reputation: 796Reputation: 796
I don't think I needed that for the install. It was a rather loose search of installed pygtk|gob packages.

terminator (0.96) I take it?
 
Old 03-06-2014, 08:06 AM   #8
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,568

Rep: Reputation: 426Reputation: 426Reputation: 426Reputation: 426Reputation: 426
Did you use SlackBuild script for 14.1 and use it on 13.37?
 
Old 03-06-2014, 10:32 AM   #9
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Undecided
Posts: 3,424
Blog Entries: 6

Rep: Reputation: 796Reputation: 796Reputation: 796Reputation: 796Reputation: 796Reputation: 796Reputation: 796
Quote:
Originally Posted by willysr View Post
Did you use SlackBuild script for 14.1 and use it on 13.37?
Been there, trashed that.
 
Old 03-07-2014, 05:01 PM   #10
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,457

Original Poster
Rep: Reputation: Disabled
Yes, it is terminator 0.96. I used sbopkg, so I assume it uses the 13.37 script.

Brian
 
Old 03-09-2014, 03:26 PM   #11
notKlaatu
Member
 
Registered: Sep 2010
Location: Wellington, New Zealand
Distribution: Slackware
Posts: 394

Rep: Reputation: 97
From the error message, it looks like Python is having trouble loading bonobo.ui

I would do an `installpkg --reinstall --install-new` on libbonobo, libbonoboui, and anything else that uses it, to make sure those installs really installed and that the correct versions got installed in the first place. I would also check your sbopkg conf to make sure it is using the correct versions.
 
Old 03-12-2014, 02:07 PM   #12
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,457

Original Poster
Rep: Reputation: Disabled
I did reinstall these packages and have verified that sbopkg is pointing to the right mirror.

Brian
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Trying to run old X game fails ld.so not found joe.cool@linux Linux - Software 11 07-12-2012 03:44 AM
[SOLVED] Cron run fails at random points, throws: Attempting to re-run cron while.... Nighteyes Linux - Newbie 2 06-22-2012 05:08 AM
[SOLVED] Run level 5 fails to boot tpavankumar1811 Linux - Desktop 2 05-05-2010 12:37 AM
Cannot run an executable, ldd fails too bozox Linux - Newbie 7 12-11-2009 06:20 PM
ut2003 fails when trying to run stunix Linux - Games 5 11-29-2003 07:32 PM


All times are GMT -5. The time now is 07:40 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration