[ZOO-Discuss] GIS GRASS ZOO integration

Luca Delucchi lucadeluge at gmail.com
Mon Oct 4 02:58:36 PDT 2010


2010/9/29 Soeren Gebbert <soerengebbert at googlemail.com>:
> Hello Eugenio,

hi soeren and eugenio

>>
>> Still not working also with PyXB 1.1.1
>
> Well this is strange ... .

with PyXB 1.1.1 I also have an error but is different from the eugenio one...

>>> import WPS_1_0_0.OGC_WPS_1_0_0 as wps
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/cgi-bin/WPS_1_0_0/OGC_WPS_1_0_0.py", line 132, in <module>
    Namespace.addCategoryObject('typeBinding', u'DataType', DataType)
  File "/usr/local/lib/python2.6/dist-packages/pyxb/namespace/__init__.py",
line 330, in addCategoryObject
    raise pyxb.NamespaceUniquenessError(self, '%s: name %s used for
multiple values in %s' % (self, local_name, category))
pyxb.exceptions_.NamespaceUniquenessError:
http://www.opengis.net/wps/1.0.0: name DataType used for multiple
values in typeBinding


>
>>
>> Since the error is in _ows.py, that I've seen it was generated by
>> PyXB, could I try to generate it again from scratch?
>
> Yes you can try to generate the WPS.1.0.0 python modules with PyXB
> 1.1.2 by yourself:
>
> mkdir WPS_1_0_0
> cd WPS_1_0_0/
> pyxbgen -u http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd -m OGC_WPS_1_0_0
> touch __init__.py
>
> Then replace the WPS_1_0_0 dir with the new one.

I tried also this but I have the same problem...


> I hope you are able to run it. Please use the latest svn version of
> the wps-grass-bridge, i fixed some bugs.
>

i update my svn to today

> Best regards
> Soeren
>

thanks and regard
Luca



More information about the Zoo-discuss mailing list