one step further ;-)

Didrik Pinte dpinte at itae.be
Wed Apr 5 09:03:16 CEST 2006


Le mardi 04 avril 2006 à 18:34 +0200, Bernhard Herzog a écrit :
> Bernhard Reiter <bernhard at intevation.de> writes:
> 
> > Am  4. Apr 2006 um 09:11:59 schrieb Didrik Pinte:
> >> Le lundi 03 avril 2006 à 20:18 +0200, Didrik Pinte a écrit :
> >> > 
> >> > That must be the problem. I'll recompile all the project with only the
> >> > wxWindows source installed (not the binary package installed in my
> >> > python 2.4 installation)
> 
> Note that wxPython for Windows comes with its own wxWidgets DLL.
> There's no need to install it separately.  The wxPython developers also
> provide a package with the development files including all the wxWidgets
> headers.  To compile Thuban you need the development package that
> matches your wxPython version exactly.  Sorry for not mentioning this
> earlier, it's been a while since I did any Thuban development.

No problem, it was clear to me.

> >> low_level_renderer
> >>     self.scale, -self.scale, offx, offy))
> >> TypeError: third argument must be a wxDC instance
> >> 
> >> This seems to be related to wxproj.draw_polygon_init.
> >> 
> >> Bernhard, you probably know wxWindows better than me. Do you have an
> >> idea on the problem ?
> >
> > Maybe Bernhard H. has an idea.
> 
> It's most likely still an incompatibility between the headerfiles and
> the wxWidgets and/or wxpython dlls.  In this case Thubans C++-code
> probably ends up using the wrong function pointer to convert python
> objects to their wxWidgets counterparts of an incompatible difference
> between the struct used by wxpython to export it's C-level interface.

Ok, so I have to check the correspondance between the dll version used
by Python and the one used for the compilation. I'll have a look at
that.

Didrik

PS: i've update the installer if someone one to test some things :
http://www.itae.be/downloads/Thuban-1.1.0-0.exe 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060405/a6e8cb71/attachment.bin


More information about the Thuban-devel mailing list

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