qgisred / QGISRed

GNU General Public License v2.0
23 stars 8 forks source link

Issues in the tool "delete element" #15

Closed neslerel closed 4 years ago

neslerel commented 4 years ago

@Balsam-mzh: Also, when I import an INP file, I cannot delete any element. Thank you for reading and helping me.

Cordially.

neslerel commented 4 years ago

As I commented in the other issue. Can you explain better the problem? QGISRed plugin has a specific tool to delete elements. This tool has two modes:

Note: You can not delete a node element if it is an endnode of a link.

Balsam-mzh commented 4 years ago

I can not delete any element by the two modes. Everytime, I want to delete an element, an error message appears image

neslerel commented 4 years ago

Ok, It's possible that you send me the model (folder with the shape files in a zip) to test it and to know where is the problem?

Balsam-mzh commented 4 years ago

Hello, Sorry I tried to send you the layers but I couldn't due to the zip folder size. image

neslerel commented 4 years ago

Hi,

You can use https://wetransfer.com to send me the zip file.

neslerel commented 4 years ago

With your layers I detected and fixed a problem importing valves/pumps without id. However, it is not the problem for deleting elements. I can't reproduce this error.

I notice that if you import these layers, a lot of warnings messages appears and I recommend to review them. I notice some pipes overlaped... issolated nodes... And then, there are anothers one that I have to review...

To reproduce the error deleting elements, I need the layers of the project, not the original layers... I will continue reviewing this problem.

Balsam-mzh commented 4 years ago

Currently, I have no access to the database from home. I have only these layers, with which I have to manipulate the QGISRed plugin, that I try to correct it to have a successful run. Unfortunately, I can neither delete an element nor add a tank or a reservoir even with another INP file.

neslerel commented 4 years ago

Hi @Balsam-mzh, You can try, at home, to import an INP file and delete some element. Or also, create a new QGISRed project, then create a pipe and finally, delete this element. If it works at home, maybe there is a problem/restriction in the computer of your work.

At work, you can try to send me the final layers after the importation to try to find some problem in these files. Moreover, you can try to record a video with the proccess you follow to import and delete some element.

Balsam-mzh commented 4 years ago

Hi, Thank you so much for your answers and support. When I change the computer, I can apply the add and remove commands. I think these errors are due to the previous version which remains recorded in the history of windows.

neslerel commented 4 years ago

Ok, maybe was a problem updating to the new version. I recomend you: 1.- Delete QGISRed plugin from the Plugin Manager of QGis 2.- Close all QGis Windows 3.- Unistall QGISRed software (dependencies of QGISRed plugin) from Windows (in Program and Features) 4.- Open QGis and install again the QGISRed plugin. It ask you for download and install dependencies (click on Yes).

It should be work. In the next version we try to avoid this problem. Please, confirm me if this process worked.

Balsam-mzh commented 4 years ago

I follow these steps, but the same error is displayed even I uninstall QGIS and I reinstall it and it does not work.

neslerel commented 4 years ago

Sorry, if you followed these steps and it does not work, I don't know why the plugin fails... If some day, with a new version or whatever, it works, please inform us to know it.

Balsam-mzh commented 4 years ago

Understood. With pleasure.

Balsam-mzh commented 4 years ago

Hello, I finally managed to install the latest version without any problems as well as use all the remove and add commands. It looks like some files from the previous version have been hidden and saved in the computer history. I just deleted them and it works.

neslerel commented 4 years ago

I'm glad. We hope to release a new version in some days trying to avoid this type of problem in next upgrades.