Bug 40072 - up2date cannot load the font -*-helvetica-bold-r-normal--12-*-*-*-p-*-iso8859-1 and exits
Summary: up2date cannot load the font -*-helvetica-bold-r-normal--12-*-*-*-p-*-iso8859...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: up2date
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Adrian Likins
QA Contact: Jay Turner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-05-10 13:35 UTC by John Killian O'Brien
Modified: 2015-01-07 23:45 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-07-05 20:08:40 UTC
Embargoed:


Attachments (Terms of Use)

Description John Killian O'Brien 2001-05-10 13:35:55 UTC
Description of Problem: When calling up2date, a traceback appears with a 
RuntimeError: couldn't load the font. up2date exits without connecting to 
redhat.


How Reproducible: Always


Steps to Reproduce:
1. log in as root
2. call up2date from an xterm

Actual Results: A window flashes open briefly and then closes. The 
following message appears in the xterm.

Traceback (innermost last):
  File "/usr/sbin/up2date", line 831, in ?
    main()
  File "/usr/sbin/up2date", line 817, in main
    gui.main()
  File "/usr/share/rhn/up2date/gui.py", line 701, in main
    gui = Gui()
  File "/usr/share/rhn/up2date/gui.py", line 69, in __init__
    style.font = 
gtk.load_font("-*-helvetica-bold-r-normal--12-*-*-*-p-*-iso8859-1")
  File "/usr/lib/python1.5/site-packages/gtk.py", line 2610, in load_font
    return _gtk.gdk_font_load(font)
RuntimeError: couldn't load the font

Expected Results: up2date should connect to redhat and check for upgrades.


Additional Information: This problem appeared after an upgrade from RH7.0 
-> 7.1

rpm -q up2date kdebase kdelibs kernel python pygtk XFree86
up2date-2.5.4-1
kdebase-2.1.1-8
kdelibs-2.1.2-1
kernel-2.4.2-2
python-1.5.2-30
pygtk-0.6.6-7
XFree86-4.0.3-5

Comment 1 Adrian Likins 2001-05-29 20:00:22 UTC
Gotten some reports that this bug goes away after a restart of
xfs and X. Can you verify that is the case?

Will attempt to change the up2date code to handle not being
able to find this font, but the root of the issue seems to
be some sort of Xfree/xfs bug...

Comment 2 John Killian O'Brien 2001-05-30 11:05:15 UTC
Not for me, I'm afraid. I get exactly the same error (did I do it
right? I killed the xfs pid and then restarted xfs with the same
options, tried up2date, hit ctrl-alt-backspace, logged back in,
tried up2date again).

I think you're right though about it being down to an X bug, I'm 
having severe problems with kde (I did all the above in gnome)
and the folks at bugs.kde.org think it has to do with xft.

Thanks,

John


Comment 3 John Killian O'Brien 2001-06-13 16:46:29 UTC
Upgrading to XFree86-4.1.0 seems to resolve this problem.
Recommend closing.


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