Uwe Seher wrote:
> Hi all!
> 
> After al long time i have a new problem.
> I updated to UMN Mapserver 5.0.2 some time ago an after that all the  
> PrimaGIS maps are aiout of order.
> They show a errorimage and in the error log is the following:
> 
> Traceback (innermost last):
>    Module ZPublisher.Publish, line 115, in publish
>    Module ZPublisher.mapply, line 88, in mapply
>    Module ZPublisher.Publish, line 41, in call_object
>    Module Products.ZCO.Symbolizer, line 387, in overview
>    Module Products.ZCO.MapRenderer, line 206, in draw
>    Module cartography.engine.mapserver.rendering, line 245, in draw
>    Module cartography.engine.mapserver.rendering, line 422, in _buildInMarks
>    Module mapscript, line 1689, in add
> TypeError: argument number 1: a 'lineObj *' is expected,  
> 'lineObj(<cartography.engine.mapserver.msbridge.lineObj; proxy of C  
> lineObj instance at _7067f90a00000000_p_lineObj>)' is received
> 
> 
> I 've read here about some other issues, but just dont get any hints how  
> to solve the Problem.
> 
> System is Plone 2.1.4 and 2.5.5, Zope 2.9.7, PCL 0.10, ZCO 0.7.3, PrimaGIS  
> 0.5.1
> 
> Thanks in advance
> 
> Uwe Seher

Hi Uwe,

I think you may need to delete the existing
cartography/engine/mapserver/msbridge_wrap.c file, which is probably
from an older build, and rebuild PCL-MapServer.

See PCL-MapServer/setup.py line 39 or so: there's a system call to swig
to generate a msbridge wrapper based on msbridge.i.

Another problem is that msbridge.i and mapserverbridge.h both try to
include "map.h". That file was renamed to "mapserver.h" in MapServer 5.0
and you'll need to update those files accordingly.

I'm not sure that I want to make a new PCL 0.10 release to support
MapServer 5.0. How many users of 0.10 are out there?

Cheers,
Sean

_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community

Reply via email to