LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 05-31-2008, 10:19 AM   #1
skysmurf
LQ Newbie
 
Registered: Nov 2007
Location: Holland
Distribution: Slackware 12.1
Posts: 15

Rep: Reputation: 0
Gimp problems with 12.1


Hello,

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:
  1. The GIMP complains that it can't load pygtk, but I'm absolutely sure that it has been installed.
  2. 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)'
 
Old 06-01-2008, 12:16 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Welcome to LQ!

What is the output of "ls -lrt /var/log/packages/"

Put it in code tags so it will be human readable.

Don't know what code tags are? Put [_code] without _ before your output,
and [_/code] without _ after your output.

What have you installed/removed other than the Slackware apps?

What method did you use to install? All package sets? Full install?
 
Old 06-01-2008, 06:47 AM   #3
skysmurf
LQ Newbie
 
Registered: Nov 2007
Location: Holland
Distribution: Slackware 12.1
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Bruce Hill View Post
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 View Post
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.

Hope this helps you help me,

Alphons
 
  


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
Having problems installing gimp KETrel Mandriva 0 09-05-2004 08:04 PM
problems installing gimp-2.0.1 synaptical Linux - Software 2 05-31-2004 02:57 PM
Updating Gimp Problems winger Mandriva 21 04-30-2004 05:28 PM
The Gimp printing problems HadesThunder Linux - Software 2 04-29-2004 04:59 PM
Gimp-perl problems Radicalm16 Slackware 2 02-11-2004 03:12 PM

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

All times are GMT -5. The time now is 06:22 PM.

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