Problem starting running demo.py with new wxPython-2.4.1.2

Doug Farrell writeson at earthlink.net
Thu Aug 14 17:58:00 CEST 2003


Hi all,

I just installed the wxPython-2.4.1.2 demo RPM on my RedHat Linux 9.0
machine, which has Python 2.2.2 on it, and I'm having a problem
running the demo.py program. Here is a trace of the results:

python demo.py
The font "-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,
                  -*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-1,
                  -*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-15,
                  -*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-15,*-r-*"
does not support all the required character sets for the current
locale "en_US.iso885915"
  (Missing character set "ISO8859-15")
  (Missing character set "ISO8859-15")
Traceback (most recent call last):
  File "demo.py", line 3, in ?
    import Main
  File "Main.py", line 16, in ?
    import wx                  # This module uses the new wx namespace
  File "/usr/lib/python2.2/site-packages/wx/__init__.py", line 45, in
?
    from wxPython import wx
  File "/usr/lib/python2.2/site-packages/wxPython/wx.py", line 6, in ?
    from misc2 import *
  File "/usr/lib/python2.2/site-packages/wxPython/misc2.py", line 18,
in ?
    from utils import *
  File "/usr/lib/python2.2/site-packages/wxPython/utils.py", line 982,
in ?
    wxCONFIG_USE_NO_ESCAPE_CHARACTERS =
utilsc.wxCONFIG_USE_NO_ESCAPE_CHARACTERS
AttributeError: 'module' object has no attribute
'wxCONFIG_USE_NO_ESCAPE_CHARACTERS'

Anyone have any ideas/suggestions about what this is or what I can do
about it?

Thanks in advance for your help,
Doug Farrell




More information about the Python-list mailing list