Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QGIS error on deleting a link #2164

Open
visr opened this issue Mar 20, 2025 · 0 comments
Open

QGIS error on deleting a link #2164

visr opened this issue Mar 20, 2025 · 0 comments
Labels
QGIS Ribasim QGIS plugin

Comments

@visr
Copy link
Member

visr commented Mar 20, 2025

As far as I can tell it is working as intended, but I do get a message that there was an error, and this is the stacktrace.

2025-03-20T20:43:11     WARNING    Traceback (most recent call last):
              File "C:\Users/visser_mn/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ribasim_qgis\widgets\dataset_widget.py", line 174, in connect_nodes
              set_link_properties(node, link)
              File "C:\Users/visser_mn/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ribasim_qgis\core\topology.py", line 111, in set_link_properties
              link_xy = collect_link_coordinates(link)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "C:\Users/visser_mn/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ribasim_qgis\core\topology.py", line 80, in collect_link_coordinates
              geometry = feature.geometry().asPolyline()
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
             ValueError: Null geometry cannot be converted to a polyline.
@visr visr added the QGIS Ribasim QGIS plugin label Mar 20, 2025
@github-project-automation github-project-automation bot moved this to To do in Ribasim Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
QGIS Ribasim QGIS plugin
Projects
Status: To do
Development

No branches or pull requests

1 participant