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
Currently the plugin cannot not recognize a version above 4, (e.g 5.0.0) and if a version is above 4 it uses the old API client: GeonodeLegacyApiClient
Thus, if we define a connection on GeoNode development demo which is under the version 5.0.0, while the Test Connection functionality works, it raises a 404 error when we try to search and load the available layers:
Error: Error transferring https://development.demo.geonode.org/api/layers/?limit=10&offset=0&type__in=vector&type__in=raster&order_by=title - server replied: Not Found
We need to update the apiclient.init.py file in order to use the same client (at least for now) as for the versions > 4.2 and check if it works.
The text was updated successfully, but these errors were encountered:
hey @Gpetrak, do you know what version stable.demo.geonode.org is? It seems I can connect to it with the qgis plugin, but using 4.4.x doesn't seem to work on my end when I host it.
Hey @Gpetrak, thanks for the reply. Here is what I'm having trouble with:
Uploads:
getting url error:
note that this does upload successfully, but it gives me this error. Not certain why.
WFS/WMS
Under Layer -> Data Source Manager -> Geonode Plugin, I am able to search the layers (awesome). However, when i click load layer via wms/wfs, I get the following stack trace:
Traceback (most recent call last): File "C:\Users/ostrandw7276/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis_geonode\apiclient\geonode_v3.py", line 159, in handle_dataset_detail dataset = self._parse_dataset_detail( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users/ostrandw7276/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis_geonode\apiclient\geonode_v3.py", line 405, in _parse_dataset_detail metadata_author=raw_dataset.get("metadata_author", {}).get("username", ""), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'list' object has no attribute 'get'
Hi @smallvalthoss . Both errors have been fixed and the master branch has been updated. We will release a new version soon, which will be available through the QGIS.
Currently the plugin cannot not recognize a version above 4, (e.g 5.0.0) and if a version is above 4 it uses the old API client: GeonodeLegacyApiClient
Thus, if we define a connection on GeoNode development demo which is under the version 5.0.0, while the
Test Connection
functionality works, it raises a 404 error when we try to search and load the available layers:We need to update the apiclient.init.py file in order to use the same client (at least for now) as for the versions > 4.2 and check if it works.
The text was updated successfully, but these errors were encountered: