LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 01-31-2013, 08:54 AM   #1
nando321
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 76

Rep: Reputation: 1
Post CCSM won't open, pygtk module error.


Greetings folks.
I've recently came back to Slackware, after doing a full install with the DVD and set init to run level 4 (there was one time some months ago that I couldn't do it so I gave up on it).
Well, here it goes, I have installed gslapt and slapt-get and added a repository to the list that contains the Compiz files to install them, so I just selected these couple of packages and installed it following an old thread on how to install Compiz to Slackware and how to solve the errors that might appear when running CCSM but still this one persists:
Quote:
fernando@slackware-desktop:~$ ccsm
Traceback (most recent call last):
File "/usr/bin/ccsm", line 30, in <module>
import pygtk
ImportError: No module named pygtk
I really have no idea on how to solve problems like this one cause I've never had any experience with this so, please any idea will be very welcome and appreciated.
In advance, thanks.
 
Old 01-31-2013, 09:14 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,233

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
Do you have pygtk installed? Look in /var/log/packages. Here is how...

Quote:
ls /var/log/packages | grep pygtk
-rw-r--r-- 1 root root 34743 May 10 2011 pygtk-2.22.0-x86_64-1
This is from 13.37, 64 bit system. There is a package for 32 bit systems as well. I would also encourage you to install compiz from slackbuilds. Here is the link.

-->http://slackbuilds.org/result/?search=compiz&sv=14.0

Here is the list of packages for ccsm. Not all packages are required.

Quote:
For correct installation, build in this order:
1. compiz-bcop
2. protobuf (optional but recommended)
3. libcompizconfig
4. compizconfig-python
5. compizconfig-backend-kconfig4 (optional)
6. ccsm
7. compiz-plugins-main
8. compiz-plugins-extra (optional)
9. compiz-plugins-unsupported (optional)
10. emerald (optional)
11. emerald-themes (optional)
12. fusion-icon (optional)
You need 1, 2 ( recommended not required ) 3, 4, 5 ( only if you run KDE and want to configure things in KDE ) 6, 7, 8, 9. I like 12 as well ( not required ), you get a desktop icon to access things.
 
Old 01-31-2013, 09:29 AM   #3
nando321
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 76

Original Poster
Rep: Reputation: 1
Hi camorri and thank you for the quick reply.

the output for ls /var/log/packages | grep pygtk is:
Quote:
fernando@slackware-desktop:~$ ls /var/log/packages | grep pygtk
pygtk-2.22.0-i486-1
And yes, I have pygtk installed.

By the way, it is not a bad idea at all to install the packages from http://slackbuilds.org. But I might need some little push with an example of how to install one of the packages, for example the first one compiz-bcop, line by line. Could you please tell me?

Thank you again.
 
Old 01-31-2013, 09:38 AM   #4
n1x4
LQ Newbie
 
Registered: Jan 2013
Distribution: Salckware
Posts: 10

Rep: Reputation: Disabled
I decided to play around with compiz yesterday on xfce for some unknown reason (still hate it) but anyway I just got lazy and used SBoPKG to install the pkgs listed above, in order, without a problem.
 
Old 01-31-2013, 09:41 AM   #5
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,233

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
What I would recommend you do is, install sbopkg first. This has nothing to do with compiz. It is a program to make installing things from slackbuilds easier. Once you have that install, spend a little time on that site and learn how to use it. It is not difficult, but you need to know.

Then take one package at a time, in the order they are listed above, and install it with sbopkg. That is the easy way to get things done. When you get a little experience with it, you can make a list of packages, in the correct order, and run sbopkg and compile and install a group in one shot. It works well, once you get a little experience with it.
 
Old 01-31-2013, 09:47 AM   #6
nando321
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 76

Original Poster
Rep: Reputation: 1
Ok, n1x4, I have SBoPKG installed now how do I proceed? I still can't get it how to install packages with it...sorry
 
Old 01-31-2013, 09:58 AM   #7
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,233

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
Open a command prompt, and su to root.

Once you are root, start sbopkg, just type 'sbopkg' not quotes, press enter.

Run sync.

Next run Search, it will give you a input line, you put the package in there.

It should find the package, depending on what you enter, it may list more than one. Pick the one you are after. Click on 'Add To Que.' The que is just a list of packages to download, and install.

Back to Main Menu. Select Que. In the Que menu, Select Process. Follow the instructions there, the package will download, and install.
 
Old 01-31-2013, 09:58 AM   #8
nando321
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 76

Original Poster
Rep: Reputation: 1
Now, I've got it! This is what I've done this far:

Quote:
root@slackware-desktop:/home/fernando/Downloads# sbopkg -i protobuf

Queuefile or package protobuf not found - skipping.

OK to continue processing?
 
Old 01-31-2013, 10:11 AM   #9
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,233

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
Go to the graphical environment. Just enter sbopkg and press enter. Then look for the package.

protobuf is there. Did you run sync first???

Last edited by camorri; 01-31-2013 at 10:18 AM.
 
Old 01-31-2013, 10:17 AM   #10
nando321
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 76

Original Poster
Rep: Reputation: 1
Gotcha! Now it is working. Would you suggest to remove pygtk and install it later with sbopkg?

Thanks again
 
Old 01-31-2013, 10:26 AM   #11
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,233

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
If its installed, its good. It may have been installed for another package. It should not cause a problem.
 
Old 01-31-2013, 10:28 AM   #12
nando321
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 76

Original Poster
Rep: Reputation: 1
Good to know.

Now I'm having troubles. Please take a look.

Quote:
Building ccsm

ccsm:
--2013-01-31 12:26:09-- http://releases.compiz-fusion.org/0....m-0.8.4.tar.gz
Resolving releases.compiz-fusion.org (releases.compiz-fusion.org)... failed: Name or service not known.
wget: unable to resolve host address 'releases.compiz-fusion.org'

ccsm:
Would you like to continue processing the rest of the
build queue or would you like to abort? If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.

Press (Y)es to continue, (N)o to abort, (R)etry to try
to build the package again.
y

+++++++++++++++++++++++++++++++++++++++++++
PACKAGE BUILDING/INSTALLATION SUMMARY LOG
Using the SBo repository for Slackware 13.1
Queue Process: Build and install

ccsm:
Download failed.

Error occurred with build. Please check the log.
 
Old 01-31-2013, 10:50 AM   #13
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,233

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
Quote:
Using the SBo repository for Slackware 13.1
Are you running 13.1? If not, go to the Untiities menu, then Respritory, and select the correct version.
 
Old 01-31-2013, 10:58 AM   #14
nando321
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 76

Original Poster
Rep: Reputation: 1
I've checked that there is no repository for Slackware 14. So, what's up next? Have I installed the wrong sbopkg version? I only found this one!

Sorry to ask all of these questions, this is silly for me too...
 
Old 01-31-2013, 11:58 AM   #15
nando321
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 76

Original Poster
Rep: Reputation: 1
Problem solved. I ended up reinstalling the whole system and downloading other version of sbopkg from its website and installing that version with pkgtool. After that I did the whole process of selecting the packages using sbopkg as root and building/installing from there.

Thank you so much for your help folks!
 
  


Reply



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
ImportError: No module named pygtk orbit Slackware 11 06-25-2013 06:50 AM
pygtk - webkit module devilboy09 Programming 7 02-12-2012 03:35 PM
CCSM won't open DeeCodeUh Linux - Software 2 01-27-2008 08:17 AM
CCSM won't open mattjohnstone22 Linux - Newbie 1 11-13-2007 03:59 AM
CCSM error in slack 12 astralsin Slackware 4 10-24-2007 11:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:38 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration