BRGM / gml_application_schema_toolbox

GML Application Schema toolbox is a QGIS plugin allowing to manipulate OGC Complex Features
https://brgm.github.io/gml_application_schema_toolbox/
GNU General Public License v2.0
28 stars 18 forks source link

Python error, cannot resolve DescribeFeatureType url... #80

Open nmtoken opened 5 years ago

nmtoken commented 5 years ago

Trying to use the plugin to look at ERML complex feature WFS, (using the wizard to add the WFS) get the following error:

An error has occurred while executing Python code:

RuntimeError: Cannot resolve http://ogcdev.bgs.ac.uk/minerals/services?SERVICE=WFS&VERSION=2.0.0&REQUEST=DescribeFeatureType&OUTPUTFORMAT=application%2Fgml%2Bxml%3B+version%3D3.2&TYPENAME=ge:MappedFeature&NAMESPACES=xmlns(ge,http%3A%2F%2Finspire.ec.europa.eu%2Fschemas%2Fge-core%2F3.0)

Whilst this isn't strictly a valid request (it should be typenames not typename for a WFS 2 request), the URL does resolve, so this isn't a service issue.

Environment is:

Python version: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] 
QGIS version: 3.4.3-Madeira Madeira, 2f64a3c4e7 

Trace is (redacted):

File "X:/my/path/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gml_application_schema_toolbox\gui\load_wizard.py", line 145, in validatePage
    self._panel.do_load()
File "X:/my/path/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gml_application_schema_toolbox\gui\import_gmlas_panel.py", line 318, in do_load
    params = self.import_params(dest)
File "X:/my/path/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gml_application_schema_toolbox\gui\import_gmlas_panel.py", line 252, in import_params
    'srcDS': self.gmlas_datasource(),
File "X:/my/path/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gml_application_schema_toolbox\gui\import_gmlas_panel.py", line 149, in gmlas_datasource
    open_options=openOptions)
File "X:\my\path\QGIS 3.4\apps\Python37\lib\site-packages\osgeo\gdal.py", line 3120, in OpenEx
    return _gdal.OpenEx(*args, **kwargs)

Python Path (redacted):

X:/my/dirA/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gml_application_schema_toolbox\extlibs
X:/my/dirB/QGIS 3.4/apps/qgis/./python
X:/my/dirA/AppData/Roaming/QGIS/QGIS3\profiles\default/python
X:/my/dirA/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
X:/my/dirB/QGIS 3.4/apps/qgis/./python/plugins
X:\my\dirB\QGIS 3.4\bin\python37.zip
X:\my\dirB\QGIS 3.4\apps\Python37\DLLs
X:\my\dirB\QGIS 3.4\apps\Python37\lib
X:\my\dirB\QGIS 3.4\bin
X:\my\dirA\AppData\Roaming\Python\Python37\site-packages
X:\my\dirB\QGIS 3.4\apps\Python37
X:\my\dirB\QGIS 3.4\apps\Python37\lib\site-packages
X:\my\dirB\QGIS 3.4\apps\Python37\lib\site-packages\win32
X:\my\dirB\QGIS 3.4\apps\Python37\lib\site-packages\win32\lib
X:\my\dirB\QGIS 3.4\apps\Python37\lib\site-packages\Pythonwin
X:/my/dirA/AppData/Roaming/QGIS/QGIS3\profiles\default/python
X:\my\dirA\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins