Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I was rather hoping that somebody could tell me how to fix the following:
After a fresh install of 12.1 (from DVD), I'm running into two problems when I try to run GIMP:
The GIMP complains that it can't load pygtk, but I'm absolutely sure that it has been installed.
Fonts don't work, so instead of any text I only see blank squares. I've done mkfontdir, mkfontscale, fc-cache and all that, but it didn't fix the problem. Other apps such as Firefox and the window manager have no font problems whatsoever.
In case it's needed, the GIMP's errorlog can be found below.
Thanks in advance for any help,
Fonz
Code:
(gimp:2989): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Bitstream Vera Sans Bold 10'
(gimp:2989): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Bitstream Vera Sans Bold 7.8154296875'
(gimp:2989): Pango-WARNING **: shaping failure, expect ugly output. shape-engine='BasicEngineFc', font='Bitstream Vera Sans Bold 7.8154296875', text='English Hello'
(gimp:2989): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Bitstream Vera Sans 10'
(gimp:2989): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Bitstream Vera Sans 7.8154296875'
(gimp:2989): Pango-WARNING **: shaping failure, expect ugly output. shape-engine='BasicEngineFc', font='Bitstream Vera Sans 7.8154296875', text='English Hello'
(gimp:2989): Pango-WARNING **: shaping failure, expect ugly output. shape-engine='BasicEngineFc', font='Bitstream Vera Sans Bold 10', text='Short text'
(gimp:2989): Pango-WARNING **: shaping failure, expect ugly output. shape-engine='BasicEngineFc', font='Bitstream Vera Sans 10', text='Somewhat longer text'
Traceback (most recent call last):
File "/usr/lib/gimp/2.0/plug-ins/palette-sort.py", line 17, in <module>
from gimpfu import *
File "/usr/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
import gimp
ImportError: could not import pygtk
(gimp:2989): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
File "/usr/lib/gimp/2.0/plug-ins/palette-offset.py", line 17, in <module>
from gimpfu import *
File "/usr/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
import gimp
ImportError: could not import pygtk
(gimp:2989): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
File "/usr/lib/gimp/2.0/plug-ins/colorxhtml.py", line 25, in <module>
import gimp
ImportError: could not import pygtk
(gimp:2989): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
File "/usr/lib/gimp/2.0/plug-ins/py-slice.py", line 31, in <module>
from gimpfu import *
File "/usr/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
import gimp
ImportError: could not import pygtk
(gimp:2989): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
File "/usr/lib/gimp/2.0/plug-ins/palette-to-gradient.py", line 17, in <module>
from gimpfu import *
File "/usr/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
import gimp
ImportError: could not import pygtk
(gimp:2989): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
File "/usr/lib/gimp/2.0/plug-ins/foggify.py", line 20, in <module>
from gimpfu import *
File "/usr/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
import gimp
ImportError: could not import pygtk
(gimp:2989): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
File "/usr/lib/gimp/2.0/plug-ins/gimpcons.py", line 20, in <module>
from gimpfu import *
File "/usr/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
import gimp
ImportError: could not import pygtk
(gimp:2989): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
File "/usr/lib/gimp/2.0/plug-ins/happy-valley-relief.py", line 20, in <module>
from gimpfu import *
File "/usr/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
import gimp
ImportError: could not import pygtk
(gimp:2989): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
(gimp:2989): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Bitstream Vera Sans Oblique 10'
(gimp:2989): Pango-WARNING **: shaping failure, expect ugly output. shape-engine='BasicEngineFc', font='Bitstream Vera Sans Oblique 10', text='You can drop dockable dialogs here'
(gimp:2989): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Bitstream Vera Sans 8.3330078125'
(gimp:2989): Pango-WARNING **: shaping failure, expect ugly output. shape-engine='BasicEngineFc', font='Bitstream Vera Sans 8.3330078125', text='Profile: (none)'
What is the output of "ls -lrt /var/log/packages/"
Dare I infer from this that you're thinking along the lines of missing deps here?
Quote:
Originally Posted by Bruce Hill
What have you installed/removed other than the Slackware apps?
What method did you use to install? All package sets? Full install?
I tried a full install, but then something hangs the system at bootup. And leaves the screen blank, making it quite cumbersome to identify the culprit. Besides, blindly installing stuff of which you have no idea what it's good for isn't really my style, either. So I chose to manually select the packages.
The only thing I've installed other than the Slackware packages from the DVD is gozer (compiled from source), which requires giblib (compiled from source), which in turn requires imlib2 (which isn't on the DVD, but there turned out to be a package on the Net).
Oh, and I have tried older versions of the GIMP as well. All the way down to gimp-1.3, the font problem persists. Version 1.2 works (probably didn't rely on Pango/Cairo yet?) but has problems handling some of my truetype fonts, so that's no viable alternative either.
Anyway, I placed the output you requested at http://www.xs4all.nl/~zoefsam/fonz/ls.txt because the forum software complained that this message was too long when I included it here in CODE tags.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.