473,667 Members | 2,721 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem starting running demo.py with new wxPython-2.4.1.2

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.iso88591 5"
(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_CHARACT ERS =
utilsc.wxCONFIG _USE_NO_ESCAPE_ CHARACTERS
AttributeError: 'module' object has no attribute
'wxCONFIG_USE_N O_ESCAPE_CHARAC TERS'

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

Thanks in advance for your help,
Doug Farrell
Jul 18 '05 #1
0 1436

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2983
by: RJS | last post by:
Hi all, I can't get a py2exe compiled app to run with numarray (numarray-0.5.win32- py2.2). Also wxPythonWIN32-2.3.3.1-Py22 and ActivePython-2.2.1-222. In the sample below, commenting out "import numarray" allows the exe to run. Left in, I get "4.exe has generated errors" etc. I'm going around and around and there isn't much on Google. py2exe output is last.
2
3588
by: C GIllespie | last post by:
Dear All, I have wxpython under both windows and Linux. Under Windows there is a nice little demo, which demonstrates all the widgets (with accompanied source code). I presume the same demo is under Linux, but I can't find it. Where should I look? I'm using Debian, is it a separate package? Thanks
1
1736
by: Ken Dere | last post by:
I am running Suse 9.0 with python 2.3-52 and python-wxGTK 2.4.1.2-43. Everything has been installed from the CD distribution and should work together. when trying to run the demo, I get: ken@linux1:/usr/share/doc/packages/python-wxGTK/demo> python demo.py Traceback (most recent call last): File "demo.py", line 3, in ? import Main
4
1238
by: john fabiani | last post by:
Hi, I can find the demo files for the older versions of wxpython but not the new 2.5. Thanks John
1
2561
by: timothy.williams | last post by:
I'm trying to install wxPython 2.5.3.1 using Python 2.3.2 on a Fedora 2 machine. I have python in a non-standard place, but I'm using --prefix with the configure script to point to where I have everything. The make install in $WXDIR seemed to go fine. I have the libxw* libraries in my lib/ directory libwx_base-2.5.so@ libwx_gtk_adv-2.5.so.3.0.0* libwx_base-2.5.so.3@ libwx_gtk_core-2.5.so@
4
344
by: scottholdensmith | last post by:
I'm a little confused. I installed wxPython on my Thinkpad T23, on which I'm running Fedora Core 5. I did it using Yum and Yumex, and everything installed fine. In fact, I now have PyShell and PyCrust in my applications. Within those two apps I can use wx as a module. But from the bash shell, when I use the same old Python interpreter, I can't use the wx module. It's there, under /usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/ (under...
6
1835
by: BartlebyScrivener | last post by:
If there is a wxPython on Debian user in the house? I am using the version of the demo that came with the apt-get download of wxPython. I thought I'd followed the instructions for installing and unpacking the wxPython demo program. It appears to run after a fashion, but I also get this at the commandline. Any help much appreciated. (python:5865): Gtk-CRITICAL **: gtk_window_realize_icon: assertion
5
2414
by: Andrew P | last post by:
Hello, I am new (very) to Python and have just down loaded the latest version of Python (2.5) and WXPython (2.8). For some reason I cannot get the WXPython demo to run at all. I run windows XP and it can't find a program to run the demo. Any advice? (apologies if this has been posted before).
6
1991
by: stef | last post by:
hello, I was impressed by the demo shell of wxPython, and a few days ago (finally getting Dabo to work), I saw Dabo uses the same demo shell. Is there any more information available about this shell, because it seems a very nice / good way to show (many) demos, in an organized way to newbies.
0
8458
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8790
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8565
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8650
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7391
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6206
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5677
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
2017
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1779
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.