success [WAS] Re: (testing and installer) Re: msvc toolkit compiler build
Bernhard Reiter
bernhard at intevation.de
Fri Mar 31 16:59:35 CEST 2006
Am 31. Mar 2006 um 16:57:07 schrieb Didrik Pinte:
> Le vendredi 31 mars 2006 à 16:45 +0200, Bernhard Reiter a écrit :
> > Am 31. Mar 2006 um 16:22:27 schrieb Didrik Pinte:
> > > Any idea on how to debug this ?
> >
> > Run it in a debugger of some kind to find out where it crashes?
> > If this is not possible, why not add debuggin statements?
> > Can you run the example wx demos that also draw lines?
>
> Where can i find the wxdemos that draw lines ? Is it one of the Thuban
> tests ? If yes, I don't see any related erros in the output of the tests
> log.
There were demos coming with wxPython.
See http://www.wxpython.org/download.php
and win32-docs-demos
I do not remember which one draws lines, but I think there was one.
> > > I've tried to open the polygones files using the shapelib in a python
> > > shell, it works fine. The error must probably be in the rendering.
> >
> > Maybe this is a problem with the cast you did for the sqrt?
> > You could try a double in there or a long double something else.
>
> I've tried changing it to double and long double but it still crashes
> when loading lines or polygons
Another approach instead of adding some print statements would be to
try the interface of the python modules on the command line.
A debugger probably is most useful.
Bernhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060331/3ddaaf1b/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)