[Community] Problems with Demo-WMS
Uwe Seher
uwe.seher at arteng.de
Tue Apr 18 12:58:31 EEST 2006
Hello group!
Now i have problems implementing a wms into my primagis-project. I try to
use the jpl-wms from the demo (which also doesnt appeear on the screen :(
with the same errors as below)
1. creating a datastore in rawdata as a wms-raster works fine, after that it
shows the datatypes of the wms. the attribute 'incoming is set to '/tmp' or
left blank
2. when creating the layer it first shows an error because of lacking a
boundingbox
3. creating a bounding box works fine
4. no pic shows up in preview, the error-message is:
Error Type
AttributeError
Error Value
WMSRasterStore instance has no attribute 'incoming'
Request made at
2006/04/18 10:16:04.039 GMT+2
this happens in both cases, 'incoming' set or left blank
5. triing to create the 'incoming'-attribute in the datastore
Error when triing to create an attribute 'incoming' as a string in the
datastore:
Error Type
BadRequest
Error Value
Invalid or duplicate property id
Request made at
2006/04/18 10:02:41.497 GMT+2
Questions:
-is this way correct?
-what is going wrong? ;)
-if the attribute is needed, which type should it have?
- has it to be a path in the ZMI or is it a path in the filesystem? I trieed
this too, but there was no effect using a folder in the ZMI.
the eventlog list this:
2006-04-18T10:16:03 ERROR Zope.SiteErrorLog
http://**********/zco/layers/test-wms/overview
Traceback (most recent call last):
File "/usr/local/zope/lib/python/ZPublisher/Publish.py", line 115, in
publish
request, bind=1)
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 41, in
call_object
result=apply(object,args) # Type s<cr> to step into published object.
File "/srv/zope/Products/ZCO/overview.py", line 70, in overview
format=format, bgcolor=bgcolor)
File "/srv/zope/Products/ZCO/MapRenderer.py", line 197, in render
image = r.render(layering, view, format, size, bgcolor, transparent)
File
"/usr/local/lib/python2.4/site-packages/cartography/engine/mapserver/renderi
ng.py", line 127, in render
lo, lo_data, lo_anno = _init_layer(mo, layer, style, format)
File
"/usr/local/lib/python2.4/site-packages/cartography/engine/mapserver/renderi
ng.py", line 881, in _init_layer
mapob.web.imagepath = mapob.web.imagepath or datastore.incoming
AttributeError: WMSRasterStore instance has no attribute 'incoming'
Thank you in advance
Uwe Seher
------------------------------------------
Zope 2.9.2 * Plone 2.1.1 * PrimaGIS 0.5.1 * PCL 0.10.0 * ZCO 0.7.2 * Python
2.4.2
____________
Virus checked by G DATA AntiVirusKit
Version: AVK 16.6858 from 17.04.2006
Virus news: www.antiviruslab.com
More information about the Community
mailing list