boku-iwa / Floodplain-Evaluation-Matrix-Tool

Floodplain Evaluation Matrix Tool
1 stars 1 forks source link

File Not Found Error while computing floodplain areas #10

Open IvanPalm opened 2 years ago

IvanPalm commented 2 years ago

Once the plugin was successfully installed, I attempted to explore the functionalities with the instructions and data provided to the participants of the Danube Floodplain Winter School.

image

I got another error.

Screenshot from 2021-11-25 13-14-58

I'm not sure whether this is somehow related to gdal issue reported in #9, or to something else. I have not yet attempted to debug the FileNotFoundError. Any feedback would be appreciated.

sncrycsn commented 2 years ago

This is certainly not the issue with the "gdal" but the tool itself. Because: with open(filename, 'w') as output file:

appears at the end of the "test_plugin.py" file.

However, I do not know what could have contributed this issue.

sncrycsn commented 2 years ago

Once the plugin was successfully installed, I attempted to explore the functionalities with the instructions and data provided to the participants of the Danube Floodplain Winter School.

image

I got another error.

Screenshot from 2021-11-25 13-14-58

I'm not sure whether this is somehow related to gdal issue reported in #9, or to something else. I have not yet attempted to debug the FileNotFoundError. Any feedback would be appreciated.

Is it possible that you could send me the files so that I can check ? s.yuecesan@boku.ac.at

IvanPalm commented 2 years ago

You got the data per email

I had a closer look at the error message and at the code in test_plugin.py. The object filename, which I suspect being the output file since the it's opened in w mode, is an empty string. One line above I see that filename = self.dlg.lineEdit.text(), so I guess that the issue lies in that input field.