one step further ;-)

Didrik Pinte dpinte at itae.be
Tue Apr 4 09:11:59 CEST 2006


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)
> 
> Didrik
> _________

Ok, it was the problem.

My Python 2.4 installation uses the official WxPython  2.6.3
installation BUT the UNICODE version and not the ANSI version. Thuban
seems to compile with the ANSI dll and not the unicode one.

Now thuban does not crash anymore when loading shapefiles with polygons
or lines ! GREAT but they do not appear ;-). Here is the traceback i
receive :

Traceback (most recent call last):
  File "C:\thubanbuild\Thuban-1.1.0\Thuban\UI\view.py", line 209, in
_do_redraw
    if self.render_iter.next():
  File "C:\thubanbuild\Thuban-1.1.0\Thuban\UI\view.py", line 258, in
_render_iterator
    for cont in renderer.RenderMapIncrementally():
  File "C:\thubanbuild\Thuban-1.1.0\Thuban\UI\baserenderer.py", line
191, in render_map_incrementally
    for i in self.draw_shape_layer_incrementally(layer):
  File "C:\thubanbuild\Thuban-1.1.0\Thuban\UI\baserenderer.py", line
242, in draw_shape_layer_incrementally
    useraw, draw_func, draw_func_param = self.low_level_renderer(layer)
  File "C:\thubanbuild\Thuban-1.1.0\Thuban\UI\renderer.py", line 110, in
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 ?

Didrik


-------------- 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/20060404/5ccd19be/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)