QGEP / qgepqwat2ili

3 stars 3 forks source link

2024-08-30-fix2-alchemy #158

Closed sjib closed 2 months ago

sjib commented 2 months ago

@ponceta I just donwloaded the lastest plugin version and got this error

2024-08-30T16:38:58     WARNING    Traceback (most recent call last):
              File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\testing163neu/python/plugins\qgepplugin\qgepplugin.py", line 526, in actionImportClicked
              from .qgepqwat2ili.qgepqwat2ili.gui import action_import
              File "C:\PROGRA~1/QGIS 3.34.8/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\testing163neu/python/plugins\qgepplugin\qgepqwat2ili\qgepqwat2ili\gui\__init__.py", line 43, in 
              from .gui_import import GuiImport
              File "C:\PROGRA~1/QGIS 3.34.8/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\testing163neu/python/plugins\qgepplugin\qgepqwat2ili\qgepqwat2ili\gui\gui_import.py", line 23, in 
              from ..postimport import qgep_postimport
              File "C:\PROGRA~1/QGIS 3.34.8/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\testing163neu/python/plugins\qgepplugin\qgepqwat2ili\qgepqwat2ili\postimport.py", line 42
              post_session.execute(text("SELECT qgep_od.wastewater_structure_update_fk_main_wastewater_node('', True));"
              ^
             SyntaxError: '(' was never closed
sjib commented 2 months ago

Seems to be wrong adaption of brackets

sjib commented 2 months ago

With this adaption I am now successful: grafik