Skip to content

Instantly share code, notes, and snippets.

@dwins
Created June 21, 2010 22:01
Show Gist options
  • Save dwins/447578 to your computer and use it in GitHub Desktop.
Save dwins/447578 to your computer and use it in GitHub Desktop.
........................................................E.............
======================================================================
ERROR: /data/search/detail -> Test accessing the data search detail for a layer
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dwins/geonode-git/src/GeoNodePy/geonode/maps/tests.py", line 68, in test_search_detail
response = c.get('/data/search/detail', {'uuid':layer.uuid})
File "/home/dwins/geonode-git/lib/python2.6/site-packages/django/test/client.py", line 290, in get
response = self.request(**r)
File "/home/dwins/geonode-git/lib/python2.6/site-packages/django/core/handlers/base.py", line 100, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/dwins/geonode-git/src/GeoNodePy/geonode/maps/views.py", line 949, in search_result_detail
rec = _build_search_result(doc)
File "/home/dwins/geonode-git/src/GeoNodePy/geonode/maps/views.py", line 962, in _build_search_result
rec = CswRecord(doc)
File "/home/dwins/geonode-git/src/owslib/owslib/csw.py", line 469, in __init__
val = record.find(util.nspath('identifier', namespaces['dc']))
AttributeError: 'NoneType' object has no attribute 'find'
----------------------------------------------------------------------
Ran 70 tests in 4.840s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment