WMS Extension not functional as from CVS

Jan-Oliver Wagner jan at intevation.de
Tue Apr 13 19:09:00 CEST 2004


Hi,

I noticed that the WMS function is not function as from CVS right now.
I get the following when selecting the predefined frida WMS:

| Traceback (most recent call last):
|   File "/powerhome/jan/project/thuban/Thuban/UI/view.py", line 206, in
| _do_redraw
|     if self.render_iter.next():
| ValueError: generator already executing
| Traceback (most recent call last):
|   File "/powerhome/jan/project/thuban/Thuban/UI/view.py", line 206, in
| _do_redraw
|     if self.render_iter.next():
|   File "/powerhome/jan/project/thuban/Thuban/UI/view.py", line 255, in
| _render_iterator
|     for cont in renderer.RenderMapIncrementally():
|   File "/powerhome/jan/project/thuban/Thuban/UI/baserenderer.py", line
| 213, in render_map_incrementally
|     for i in func(self, layer):
|   File "/powerhome/jan/project/thuban/Extensions/wms/wms.py", line 242,
| in render_wms_layer
|     renderer.draw_raster_data(img, format)
|   File "/powerhome/jan/project/thuban/Thuban/UI/renderer.py", line 99,
| in draw_raster_data
|     image = wxImageFromStream(stream, raster_format_map[format])
| KeyError: 'PNG'

Furthermore, I wonder how to call the info dialog that I saw
in the commit messages.

	Jan
-- 
Jan-Oliver Wagner               http://intevation.de/~jan/

Intevation GmbH	              	     http://intevation.de/
FreeGIS	                               http://freegis.org/




More information about the Thuban-devel mailing list

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