Closed cymed closed 4 months ago
@cymed Auf welchem Betriebssystem geschieht dies?
Windows
Probably windows doesn't like the single quoted arguments introduced in #203. Could you try with the plugin from pr #221 please?
https://github.com/teksi/wastewater/actions/runs/8818917485/artifacts/1443754048
When trying to export any model based on the prerealease plugin, I get the following error:
Traceback (most recent call last): File "C:\Users/usr/AppData/Roaming/QGIS/QGIS3\profiles\teksi/python/plugins\teksiwastewater\interlis\utils\various.py", line 59, in exec proc = subprocess.run( File "C:\OSGeo4W\apps\Python39\lib\subprocess.py", line 528, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command ''C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe' -jar 'C:\Users\usr\AppData\Roaming\QGIS\QGIS3\profiles\teksi\python\plugins\teksi_wastewater\libs\modelbaker\iliwrapper\bin\ili2pg-5.0.1\ili2pg-5.0.1.jar' --schemaimport --dbhost '192.168.1.25' --dbport '5432' --dbusr 'usr' --dbpwd 'passwort' --dbdatabase 'tww' --dbschema pg2ili_abwasser --setupPgExt --createGeomIdx --createFk --createFkIdx --createTidCol --importTid --noSmartMapping --defaultSrsCode 2056 --log 'C:/Users/usr/Downloads/tww-export.xtf.240424134439.ili2pg-schemaimport.log' --nameLang de --models 'DSS_2020_1_LV95'' returned non-zero exit status 1.