planetfederal / qgis-suite-plugin

GNU General Public License v2.0
25 stars 17 forks source link

Exception when trying to connect GeoServer from http://beta.dev.geonode.org/ #96

Open vdeparday opened 10 years ago

vdeparday commented 10 years ago

With the latest version from the repository I get the following exception when trying to connect to http://beta.dev.geonode.org/:

Could not connect to catalog: Traceback (most recent call last): File "/Users/viv/.qgis2/python/plugins/opengeo/gui/gsexploreritems.py", line 256, in addGeoServerCatalog geoserverItem.populate() File "/Users/viv/.qgis2/python/plugins/opengeo/gui/gsexploreritems.py", line 496, in populate self.layersItem.populate() File "/Users/viv/.qgis2/python/plugins/opengeo/gui/gsexploreritems.py", line 283, in populate layerItem = GsLayerItem(layer) File "/Users/viv/.qgis2/python/plugins/opengeo/gui/gsexploreritems.py", line 595, in init GsTreeItem.init(self, layer, icon, layer.resource.title) AttributeError: 'NoneType' object has no attribute 'title'

One of the layer has an empty title? I suppose this exception should be caught.

The layers are still listed (only the layers and workspaces, none of the other items) but none of them can be added, it always returns:

DescribeFeatureType failed for url http://beta.dev.geonode.org:8080/geoserver/wfs?srsname=EPSG:4326&typename=geonode:boxes_with_date&version=1.0.0&request=GetFeature&service=WFS

Layer at http://beta.dev.geonode.org:8080/geoserver/wfs?srsname=EPSG:4326&typename=geonode:boxes_with_date&version=1.0.0&request=GetFeature&service=WFS is not a valid layer