You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/admin/morges/buildout/eggs/c2cgeoportal-1.2-py2.6.egg/c2cgeoportal/views/entry.py", line 37, in _wms_getcap
wms = WebMapService(url, version='1.1.1')
File "/home/admin/morges/OWSLib/owslib/wms.py", line 86, in init
self._buildMetadata(parse_remote_metadata)
File "/home/admin/morges/OWSLib/owslib/wms.py", line 126, in _buildMetadata
gather_layers(caps, None)
File "/home/admin/morges/OWSLib/owslib/wms.py", line 120, in gather_layers
cm = ContentMetadata(elem, parent=parent_metadata, index=index+1, parse_remote_metadata=parse_remote_metadata)
File "/home/admin/morges/OWSLib/owslib/wms.py", line 489, in init
self.layers.append(ContentMetadata(child, self))
File "/home/admin/morges/OWSLib/owslib/wms.py", line 340, in init
self.abstract = testXMLValue(elem.find('Abstract'))
File "/home/admin/morges/OWSLib/owslib/util.py", line 148, in testXMLValue
return val.text.strip()
[Fri Dec 07 12:18:50 2012] [error] AttributeError: 'NoneType' object has no attribute 'strip'
The text was updated successfully, but these errors were encountered:
for example,
< Abstract />
Traceback (most recent call last):
File "/home/admin/morges/buildout/eggs/c2cgeoportal-1.2-py2.6.egg/c2cgeoportal/views/entry.py", line 37, in _wms_getcap
wms = WebMapService(url, version='1.1.1')
File "/home/admin/morges/OWSLib/owslib/wms.py", line 86, in init
self._buildMetadata(parse_remote_metadata)
File "/home/admin/morges/OWSLib/owslib/wms.py", line 126, in _buildMetadata
gather_layers(caps, None)
File "/home/admin/morges/OWSLib/owslib/wms.py", line 120, in gather_layers
cm = ContentMetadata(elem, parent=parent_metadata, index=index+1, parse_remote_metadata=parse_remote_metadata)
File "/home/admin/morges/OWSLib/owslib/wms.py", line 489, in init
self.layers.append(ContentMetadata(child, self))
File "/home/admin/morges/OWSLib/owslib/wms.py", line 340, in init
self.abstract = testXMLValue(elem.find('Abstract'))
File "/home/admin/morges/OWSLib/owslib/util.py", line 148, in testXMLValue
return val.text.strip()
[Fri Dec 07 12:18:50 2012] [error] AttributeError: 'NoneType' object has no attribute 'strip'
The text was updated successfully, but these errors were encountered: