ImportError: No module named gconf
hi
i just installed a software called gretools that helps in vocabulary building link http://theory.cs.iitm.ernet.in/~arvindn/gretools/ i installed the sw from the tarball provided now when i tried to run the prg from cmd linr by typing gretools i get the following error message [root@cyborg gretools-1.2.3]# gretools Traceback (most recent call last): File "/usr/local/bin/gretools", line 8, in ? import gretools File "/usr/local/lib/python2.2/site-packages/gretools/gretools.py", line 3, in ? import gobject, gtk, gtk.glade, pango, gnome, gnome.ui, gconf, sys, string, random, time, re, gettext ImportError: No module named gconf could somebody please help me out in getting rid of this prob.. :newbie: linorg |
Looks like you need to have gconf installed (should be already...). First, try 'locate gconf' and see if its there. If it is, you might try editing gretools.py to look in the proper spot.
Otherwise, here is a link to the Gconf package http://linux.tucows.com/preview/31474.html |
hi Scruff
i did a search on gconf folder gconf is prsent in /etc /usr/share /usr/include/gconf1 /usr/include/gconf2 culd u please tell hoe to modify the gretools.py file thanks linorg |
I am going to download it now to take a look at it.
In the meantime, do 'ps aux | grep gconf' to see if you have any gconf processes running. I have this one: scruff 14446 0.0 0.4 5644 2220 ? S 12:02 0:00 /usr/libexec/gconfd-2 22 |
Wow... The site hosting this app is s-l-o-w.....
Took 5 minutes to load the page, and I am now waiting 5+ for the download to start. What distro are you running? |
I got it, and it wont even untar properly:
scruff@dabasement:~/source$ tar zxvf gretools-1.2.3.tar.gz gretools-1.2.3/ gretools-1.2.3/po/ gretools-1.2.3/po/ChangeLog gretools-1.2.3/po/Makefile.in.in gretools-1.2.3/po/POTFILES.in gretools-1.2.3/po/gretools.pot gretools-1.2.3/README gretools-1.2.3/gretools.py gzip: stdin: unexpected end of file tar: Unexpected EOF in archive tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now I was able to read gretools.py though. I don't know Python but the line in question is pretty straightforward: Code:
import gobject, gtk, gtk.glade, pango, gnome, gnome.ui, gconf, sys, string, random, time, re, gettext Hopefully someone more knowledgable will come along with the answer. The fact that it didn't untar properly for me at least, could very well be a problem. The site said it was tested on Redhat and since I am on Slack that could also be a problem. Shouldn't be, but... |
hi
schruff my distro is redhat 8 thanks for the effort linorg |
problem solved!!!
the error was basically because
gconf python was not installed |
Right on!
|
All times are GMT -5. The time now is 06:24 AM. |