Closed barrc closed 4 years ago
@barrc Good catch. will check all system output access in the new output api.
@michaeltryby I think this is in your wheelhouse. The SMOutputSWIG.py is trying to pass an empty python string to a C 2-d array of strings, char**, I've tried various combination of POINTER, c_char, and c_char_p to no avail, could you take a look what to pass as the correct argument for that SWMM output api function argument.
src\Externals\swmm\outputapi\SMOutputSWIG.py, line 113
I see there is a commit that addresses this and I tested successfully in a development environment with the dev-ui-py3qt5 branch so I will close the issue.
I successfully ran a SWMM model, then tried to create a table of system runoff. The UI crashed (SWMM-UI.exe has stopped working. A problem caused the program to stop working correctly. Please close the program.)
The console showed an error:
I tried with a different file and a different system variable and the same error occurred. But creating a table for subcatchment, node, or link variables worked fine, so this may be specific to system variables.
Version: MTP6r1