Open MikeDowner opened 3 weeks ago
Hi Mike, I renamed this issue, because the error message seems be misleading and I'll improve that.
plugins\generate_swmm_inp\g_s_read_write_data.py", line 113, in load_layer_to_df vlayer.name()+': '+', '.join(name_missing_geom) TypeError: sequence item 0: expected str instance, QVariant found
...indicates that two things are incorrect, here:
Hi, I am getting errors when I try and generate the inp and can’t find why. Error message below. Could you take a look as point me in the right direction? Much appreciated.
Reading geodata: layer: TOSTM_WW_Trunk_Pipes layer: TOSTM_WW_Trunk_Features1 Traceback (most recent call last): File "C:\Users/Mike.Roberts/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\generate_swmm_inp\generate_swmm_inp_file.py", line 322, in processAlgorithm raw_data_dict = read_layers_direct(raw_layers_dict, feedback = feedback) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users/Mike.Roberts/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\generate_swmm_inp\g_s_read_write_data.py", line 139, in read_layers_direct data_dict = {n: load_layer_to_df(d, select_cols, with_id, feedback) for n, d in raw_layers_dict.items() if d is not None} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users/Mike.Roberts/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\generate_swmm_inp\g_s_read_write_data.py", line 113, in load_layer_to_df
Execution failed after 0.06 seconds