473,385 Members | 1,588 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

wxpython demo error on debian etch

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
`info->icon_pixmap == NULL' failed
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/
_misc.py", line 1286, in Notify
self.notify()
File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/
_core.py", line 13637, in Notify
self.result = self.callable(*self.args, **self.kwargs)
File "/home/rick/bin/wxPython/Main.py", line 1713, in ShowMain
if self.fc.IsRunning():
File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/
_core.py", line 13481, in __getattr__
raise PyDeadObjectError(self.attrStr % self._name)
wx._core.PyDeadObjectError: The C++ part of the MySplashScreen object
has been deleted, attribute access no longer allowed.

Thanks,

Rick

May 29 '07 #1
6 1801
On May 29, 8:38 am, BartlebyScrivener <bscrivene...@gmail.comwrote:
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
`info->icon_pixmap == NULL' failed
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/
_misc.py", line 1286, in Notify
self.notify()
File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/
_core.py", line 13637, in Notify
self.result = self.callable(*self.args, **self.kwargs)
File "/home/rick/bin/wxPython/Main.py", line 1713, in ShowMain
if self.fc.IsRunning():
File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/
_core.py", line 13481, in __getattr__
raise PyDeadObjectError(self.attrStr % self._name)
wx._core.PyDeadObjectError: The C++ part of the MySplashScreen object
has been deleted, attribute access no longer allowed.

Thanks,

Rick
The problem is probably that it's older. I'm guessing it's either a
bug that's been fixed or something that's deprecated. The wxPython
website details how to get the latest version of wxPython (2.8.4)
here: http://wxpython.org/download.php

I'm not an expert with the wxPython errors. I would recommend that you
also ask at the wxPython user's group: http://wxpython.org/maillist.php

Hope that helps a little!

Mike

May 29 '07 #2
On May 29, 8:51 am, kyoso...@gmail.com wrote:
The wxPython
website details how to get the latest version of wxPython (2.8.4)
I'm fairly new to Linux, so I probably shouldn't mess with my stable
Etch.

I'll make do with this version of wxPython or go back to puzzling over
Tkinter.

Thanks,

rick

May 29 '07 #3
On May 29, 12:33 pm, BartlebyScrivener <bscrivene...@gmail.comwrote:
On May 29, 8:51 am, kyoso...@gmail.com wrote:
The wxPython
website details how to get the latest version of wxPython (2.8.4)

I'm fairly new to Linux, so I probably shouldn't mess with my stable
Etch.

I'll make do with this version of wxPython or go back to puzzling over
Tkinter.

Thanks,

rick
The newer versions of wxPython won't make your Debian crash or
anything. We run Debian at work and I've upgraded the Python to 2.4
and the wxPython to its newest version. This has not affected the
server's stability in any way.

This link explains the process the Debian team takes to implement new
versions of packages (like wxPython): http://en.wikipedia.org/wiki/Debian

Basically, they test it for months before finally putting it in to the
"stable" category. However, since they have to do this for lots of
packages, one by one the packages get marked stable. So you could have
something like wxPython marked stable in March and 6 months later, the
rest of the packages are done so they're marked stable. And then after
additional testing, they release the new version.

Hopefully that wasn't too confusing.

Mike

May 29 '07 #4
On May 29, 1:09 pm, kyoso...@gmail.com wrote:
The newer versions of wxPython won't make your Debian crash or
anything.
Thanks, mike, i'll try it.

rick

May 29 '07 #5
On May 29, 1:09 pm, kyoso...@gmail.com wrote:
The newer versions of wxPython won't make your Debian crash or
anything. We run Debian at work and I've upgraded the Python to 2.4
and the wxPython to its newest version. This has not affected the
server's stability in any way.
Install like this?

Debian stable is way behind the times, so you may find something
appropriate in testing. Alternatively, the instructions below should
work.

apt-get install alien
apt-get install libgtk2.0-dev freeglut3-dev python2.3-dev
wget http://easynews.dl.sourceforge.net/w....3.0-1.src.rpm
rpmbuild --rebuild --define 'pyver 2.3'
wxPython2.8-2.8.3.0-1.src.rpm
cd rpmdir
alien packagenames.rpm
dpkg -i whatever alien called them

>
This link explains the process the Debian team takes to implement new
versions of packages (like wxPython):http://en.wikipedia.org/wiki/Debian

Basically, they test it for months before finally putting it in to the
"stable" category. However, since they have to do this for lots of
packages, one by one the packages get marked stable. So you could have
something like wxPython marked stable in March and 6 months later, the
rest of the packages are done so they're marked stable. And then after
additional testing, they release the new version.

Hopefully that wasn't too confusing.

Mike

May 31 '07 #6
On May 31, 12:21 am, BartlebyScrivener <bscrivene...@gmail.comwrote:
On May 29, 1:09 pm, kyoso...@gmail.com wrote:
The newer versions of wxPython won't make your Debian crash or
anything. We run Debian at work and I've upgraded the Python to 2.4
and the wxPython to its newest version. This has not affected the
server's stability in any way.

Install like this?

Debian stable is way behind the times, so you may find something
appropriate in testing. Alternatively, the instructions below should
work.

apt-get install alien
apt-get install libgtk2.0-dev freeglut3-dev python2.3-dev
wgethttp://easynews.dl.sourceforge.net/wxpython/wxPython2.8-2.8.3.0-1.src...
rpmbuild --rebuild --define 'pyver 2.3'
wxPython2.8-2.8.3.0-1.src.rpm
cd rpmdir
alien packagenames.rpm
dpkg -i whatever alien called them
This link explains the process the Debian team takes to implement new
versions of packages (like wxPython):http://en.wikipedia.org/wiki/Debian
Basically, they test it for months before finally putting it in to the
"stable" category. However, since they have to do this for lots of
packages, one by one the packages get marked stable. So you could have
something like wxPython marked stable in March and 6 months later, the
rest of the packages are done so they're marked stable. And then after
additional testing, they release the new version.
Hopefully that wasn't too confusing.
Mike
I would assume that would work. If you run into any problems, it would
be a good idea to post them to the wxPython user's group. They know a
LOT more about that sort of stuff if things go wrong.

Mike

May 31 '07 #7

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

Similar topics

2
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...
1
by: John Kinson | last post by:
Hi, I'm trying to get the wxPython demo to run on a Debian sarge testing installation, but encounter the following error when I run the demo script: # ./demo.py Traceback (most recent call...
9
by: amhoov | last post by:
Hi all, I'm trying to install wxPython on Debian using 'apt-get install python-wxgtk2.4.' I've got both Python 2.3 and 2.4 installed with 2.4 set as my default. For whatever reason, wxPython...
2
by: Rustom Mody | last post by:
Ive been trying to compile python 3000 on debian etch And on running test I get: 4 skips unexpected on linux2: test_tcl test_dbm test_ssl test_bsddb Can someone tell me what packages I am...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.