Hi Shashish,

I think this was fixed a while ago.
If you check out the trunk from subversion it should work.

svn co http://svn.gispython.org/svn/gispy/OWSLib/trunk OWSLib

then
cd OWSLib
python setup.py install.


Let us know if you still have problems.

Cheers,
Dom



On 17/12/10 15:33, Shashish Maharjan wrote:
Hi

I am new to OWSLib and testing WCS available via threeds servers. I have
following error.

Traceback (most recent call last):

File "<pyshell#7>", line 1, in <module>

wcs=WebCoverageService('http://motherlode.ucar.edu:8080/thredds/wcs/galeon/testdata/sst.nc',version='1.0.0')

File
"C:\Python25\lib\site-packages\owslib-0.3.1-py2.5.egg\owslib\wcs.py",
line 20, in WebCoverageService

return
wcs100.WebCoverageService_1_0_0.__new__(wcs100.WebCoverageService_1_0_0,
url, xml)

File
"C:\Python25\lib\site-packages\owslib-0.3.1-py2.5.egg\owslib\coverage\wcsBase.py",
line 34, in __new__

obj.__init__(url, xml)

File
"C:\Python25\lib\site-packages\owslib-0.3.1-py2.5.egg\owslib\coverage\wcs100.py",
line 49, in __init__

self.identification=ServiceIdenfication(subelem)

File
"C:\Python25\lib\site-packages\owslib-0.3.1-py2.5.egg\owslib\coverage\wcs100.py",
line 187, in __init__

self.service = elem.find(ns('name')).text

AttributeError: 'NoneType' object has no attribute 'text'

Please suggest me the solution for this.

Regards

Shashish



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

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

Reply via email to