geosolutions-it / nexus-geonode

Nexus Platform
BSD 2-Clause "Simplified" License
0 stars 4 forks source link

NotImplementedError when searching only maps #505

Closed giohappy closed 2 years ago

giohappy commented 2 years ago

I received a NotImplementedError when searching for maps on GeoNode master demo. After the error any further search is disabled.

image

NotImplementedError 
Traceback (most recent call last):
  File ".../python/plugins\qgis_geonode\gui\geonode_source_select_provider.py", line 440, in search_geonode
    spatial_extent=spatial_extent_epsg4326,
  File ".../python/plugins\qgis_geonode\apiclient\base.py", line 156, in get_layers
    QtNetwork.QNetworkRequest(self.get_layers_url_endpoint(params)),
  File ".../python/plugins\qgis_geonode\apiclient\apiv2.py", line 57, in get_layers_url_endpoint
    query = self._build_search_query(search_params)
  File ".../python/plugins\qgis_geonode\apiclient\apiv2.py", line 124, in _build_search_query
    raise NotImplementedError
NotImplementedError
ricardogsilva commented 2 years ago

Support for maps is not implemented in the plugin yet - I have removed references to maps in the code, as indicated in kartoza/qgis_geonode#179. We can close this issue