[ZMapServer-Developers] PCL/ZCO CVS head
Status: Alpha
Brought to you by:
sgillies
|
From: Kai <kai...@mb...> - 2005-03-07 11:07:59
|
Hi I was trying the current CVS head for both PCL/ZCO and bumped into a following problem with both the ZCO demo and my own project. While trying to render the map, the exception at the bottom of this message occurs. In my case the problem occurs when I render layers with MemoryFeatureStore as datastore. Without them the map renders as it should. The demo suffers from this too, simply viewing the index_html fails rendering all the images. Have you bumped into this, Sean? I'll try this again with a clean install tomorrow if it still occurs then, but let me know if it's something else. cheers, Kai ---begin-stack-trace--- 2005-03-07T12:54:32 ERROR(200) SiteError http://some.site/demo/layers/cpoints/dot/viewLayer Traceback (most recent call last): File "/usr/local/zope/lib/python/ZPublisher/Publish.py", line 101, in publish request, bind=3D1) File "/usr/local/zope/lib/python/ZPublisher/mapply.py", line 88, in mapply if debug is not None: return debug(object,args,context) File "/usr/local/zope/lib/python/ZPublisher/Publish.py", line 39, in call_object result=3Dapply(object,args) # Type s<cr> to step into published object. File "/usr/local/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__ return self._bindAndExec(args, kw, None) File "/usr/local/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec return self._exec(bound_data, args, kw) File "/usr/local/zope/lib/python/Products/PythonScripts/PythonScript.py", line 323, in _exec result =3D f(*args, **kw) File "Script (Python)", line 37, in viewLayer File "/usr/local/zope/inst-main/Products/ZCO/MapRenderer.py", line 172, in render def draw(self, symbolizer, format=3D'image/png', size=3D[16, 16], File "/usr/lib/python2.3/site-packages/cartography/engine/mapserver/mapserver.= py", line 149, in render fkeys, c_filters) File "/usr/lib/python2.3/site-packages/cartography/engine/mapserver/mapserver.= py", line 980, in _render_layer_memory_intrinsic lo.addFeature(shape) File "/usr/lib/python2.3/site-packages/mapscript.py", line 764, in addFeature def addFeature(*args): return _mapscript.layerObj_addFeature(*args) TypeError: Expected a pointer --=20 Kai H=E4nninen mobile:+358-44-541 9567 Software engineer www.mbconcert.fi MB Concert Ky kai...@mb... |