Bug 110670 - redhat-config-* (python gui) crash at start and give python errors
Summary: redhat-config-* (python gui) crash at start and give python errors
Alias: None
Product: Fedora
Classification: Fedora
Component: freetype   
(Show other bugs)
Version: 1
Hardware: i386 Linux
Target Milestone: ---
Assignee: Owen Taylor
QA Contact: Brock Organ
Depends On:
TreeView+ depends on / blocked
Reported: 2003-11-22 17:44 UTC by marc frei
Modified: 2007-11-30 22:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-12-17 15:27:01 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description marc frei 2003-11-22 17:44:28 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5)
Gecko/20031007 Firebird/0.7

Description of problem:
[root@tuxlaptop tmp]# redhat-config-network
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/sbin/redhat-config-network-gui", line 68, in <lambda>
  File "/usr/lib/python2.2/site-packages/rhpl/exception.py", line 281,
in handleException
    rc = exceptionWindow (_("Exception Occurred"), text, progname)
  File "/usr/lib/python2.2/site-packages/rhpl/exception.py", line 166,
in exceptionWindow
    win = ExceptionWindow (text, name)
  File "/usr/lib/python2.2/site-packages/rhpl/exception.py", line 35,
in __init__
    win = gtk.Dialog(_("Exception Occurred"), None, gtk.DIALOG_MODAL)
AttributeError: 'module' object has no attribute 'Dialog'

Original exception was:
Traceback (most recent call last):
  File "/usr/sbin/redhat-config-network-gui", line 73, in ?
    import gtk
line 43, in ?
ImportError: /usr/lib/libfontconfig.so.1: undefined symbol:
[root@tuxlaptop tmp]# 

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.install a "RedHat Linux"
2.upgrade to fedora core 1
3.launch the command : redhat-config-network

Actual Results:  The commands "redhat-config" (services, network, boot
etc...) do not work any more

Additional info:

This happen with ALL the "redhat-config" (python GUI)

Comment 1 Kai Thomsen 2003-11-23 15:04:16 UTC
I've seen several mentions of this dynamic linker error by people who 
upgraded their machine(s) from Red Hat Linux.

$ nm -D -o /usr/lib/libfreetype.so.6 | grep FT_Get_PS_Font_Info
/usr/lib/libfreetype.so.6:00385810 T FT_Get_PS_Font_Info
$ rpm -qf /usr/lib/libfreetype.so.6

So in case that version of the FreeType package is installed, this 
error has to be due to an older library version in /usr/X11R6/lib or 
/usr/local/lib.  "ldd -d /usr/lib/libfontconfig.so.1 | grep freetype" 
should reveal it.

Comment 2 marc frei 2003-11-23 22:04:40 UTC
Thanks Kai !!

removing : 


solved the problem for all my redhat-config-* tools.

Before removing, check :

rpm -qf /usr/X11R6/lib/libfreetype.so.6
file /usr/X11R6/lib/libfreetype.so.6 doesn't belong to any package.

So, OK to remove.

Comment 3 Harald Hoyer 2003-11-25 15:33:39 UTC

Comment 4 Harald Hoyer 2003-12-17 08:38:12 UTC

Comment 5 Owen Taylor 2003-12-17 15:27:01 UTC
/usr/X11R6/lib/libfreetype.so.6 isn't coming from a Red Hat /
Fedora package, but probably from some manual install of
XFree86 or similar.

Note You need to log in before you can comment on or make changes to this bug.