BASEMENTBasic Simulation Environment for computation of environmental flow and natural hazard simulationLaboratory of Hydraulics, Hydrology and Glaciology (VAW)ETH Zurich |
You are not logged in.
Pages: 1
Hi
I found what it seems to be a bug in BASEmesh on QGIS with the "Assign MATID" tool:
1. the temporary layer does not appear in the layers browser
2. "save file" does not work properly (one needs to write the name and the extension to have the file saved)
3. when one tries to interpolate the mesh, one gets an error relative to the path (self._findpath) where it appears to have the proper path set, but before that there is a prefix like '2DM"path_to_the_mesh"
Here the error:
Traceback (most recent call last):
File "C:\Users/username/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\basemesh\plugin\gui\worker.py", line 88, in run
value = self.target(self.feedback, *self.args, **self.kwargs)
File "C:\Users/username/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\basemesh\plugin\gui\interpol.py", line 206, in worker
interpol_mesh = Mesh.open(target_layer.source())
File "C:\Users/username/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\basemesh\core\mesh.py", line 314, in open
with py2dm.Reader(filename) as file_:
File "C:\Users\username\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\basemesh\packages\py2dm-0.1.0-py3-none-any.whl\py2dm\read.py", line 47, in __enter__
self.open()
File "C:\Users\username\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\basemesh\packages\py2dm-0.1.0-py3-none-any.whl\py2dm\read.py", line 360, in open
self._file = open(self._filepath)
OSError: [Errno 22] Invalid argument: '2DM:"C:/Users/username/Desktop/prova.2dm"'
Last edited by Matteo Facchini (2022-04-26 10:01:08)
Offline
Same occurs to me!
Exact the same error report. Basemesh 2.0.9 / QGIS 3.22.0
OSError: 22, Invalid argument
Offline
I confirm this happening to me again with QGIS 3.24.2.
This affects also the elevation meshing.
It is, however, a QGIS problem. Anyway, I believe the bug will be fixed asap, see here
EDIT
To the moderators: I'd call this thread "OSError: [Errno 22] Invalid argument"
Last edited by Matteo Facchini (2022-04-26 10:14:32)
Offline
Pages: 1