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

V 1.3.0 - GMLAS Mode - Creating SQL file - argument 1 has unexpected type 'WindowsPath' #128

Closed sgrellet closed 3 years ago

sgrellet commented 3 years ago

Environment

Description

To Reproduce

Follow https://brgm.github.io/gml_application_schema_toolbox/testing/scenario_mode_gmlas_local.html Do step 1 as described

Expected behavior

Additional context

Logs

TypeError: setText(self, str): argument 1 has unexpected type 'WindowsPath' 
Traceback (most recent call last):
  File "C:/Users/grellets/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gml_application_schema_toolbox\gui\database_widget.py", line 104, in on_sqlitePathButton_clicked
    self.sqlitePathLineEdit.setText(filepath)
TypeError: setText(self, str): argument 1 has unexpected type 'WindowsPath'
sgrellet commented 3 years ago

Works fine now with plugin version: 1.3.1

Guts commented 3 years ago

related to #130