[root: Re: wxpython2.5 problem]

Yao Heling yaoheling at yahoo.com
Tue Dec 7 07:21:28 CET 2004


Sorry, I forgot to cc the list. Here it goes.

Date: Mon, 6 Dec 2004 23:09:37 +0000
To: Martin Schulze <joey at infodrom.org>
Subject: Re: wxpython2.5 problem
User-Agent: Mutt/1.5.6+20040907i

On Mon, Dec 06, 2004 at 09:20:33AM +0100, Martin
Schulze wrote:
> Yao Heling wrote:
> > I guest I've found where the problem is. I'm using
> > python2.3.4, and
> > which version of python do you use with thuban?
The
> > readme says python
> > 2.2.1 is required, and I missed that part and
assumed
> > python 2.3 should
> > be fine, but I was wrong.
> 
> Since I was using a Debian sid chroot:
> 
> pergolesi!joey(pts/0):/tmp/joey/thuban> dpkg -l
python*|grep ^ii
> ii  python         2.3.4-5        An interactive
high-level object-oriented la
> ii  python-dev     2.3.4-5        Header files and a
static library for Python
> ii  python-sqlite  1.0-2          Python interface
to SQLite
> ii  python2.3      2.3.4-18       An interactive
high-level object-oriented la
> ii  python2.3-dev  2.3.4-18       Header files and a
static library for Python
> ii  python2.3-sqli 1.0-2          Python interface
to SQLite
> pergolesi!joey(pts/0):/tmp/joey/thuban>
> 
> On that host it works as a charm.
> 

I'm glad that python 2.3 is supported. 

> > By the way, I don't think inheriting from a base
class
> > (wxWindow) and a
> > subclass of the base class (wxControl) is a good
thing
> > (especially not
> > in python 2.3 and above, see
> 
> To which part of the code are you referring?
see my original post in this thread:
http://intevation.de/pipermail/thuban-devel/2004-December/000652.html
i.e. class
ClassGroupPropertiesCtrl(wxWindow,wxControl) 
in Thuban/UI/classifier.py (line 1505)

That's the code causing problems.

> > http://www.python.org/2.3/mro.html). Couldn't 
> > it be possible to inherit wxControl alone and
achieve
> > the same
> > functionality? and are there any plans to use
python
> > 2.3 at all? It's
> > been out so long. 
> 
> Like I said, it worked for me, which makes me wonder
why it doesn't
> for you.
> 
> Also, at home I already use Python 2.3 from sid (but
together with
> wxWidgets 2.4) to run Thuban, so it does already
work with 2.3.
> 


More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)