[8.994 WIN10] Cuando se elimina herramienta se cierra el programa

Issue #581 new
juan pedro created an issue

Cuando intento eliminar una herramienta de la base de herramientas el programa se queda parado y al clicar en cualquier parte de la ventana el programa se cierra. Al volver a arrancar el programa y entrar en la base de herramientas la herramienta sigue apareciendo (no se ha eliminado). Esto sucede tanto si he cargado algun fichero gerber o sin ningun fichero cargado.

Si elimino la herramienta y doy al boton de “Salvar DB” la herramienta se elimina pero a partir de ese momento el programa se cierra cada vez que entro en la base de herramientas y me situo en el numero de herramineta que anteriormente habia eliminado.

Ejemplo: si tenia 6 herramientas y elimino la herramienta 2 , cuando vuelvo a entrar en la base de herramientas la antigua herramienta 2 no aparece y se han vuelto a renumerar las herramientas 3, 4, 5 y 6 como herramientas 2, 3 , 4 y 5. Si seleciona ahora la herramienta 2 el programa se cierra

Comments (5)

  1. juan pedro reporter

    When I try to delete a tool from the tool base the program stops and clicking anywhere in the window closes the program. When restarting the program and entering the tool base, the tool still appears (it has not been removed). This happens whether I have loaded any gerber files or no files loaded.

    If I delete the tool and press the "Save DB" button, the tool is deleted but from that moment on the program closes every time I enter the tool base and go to the tool number that I had previously deleted.

    Example: if I had 6 tools and I delete tool 2 , when I re-enter the tool base the old tool 2 does not appear and tools 3, 4, 5 and 6 have been renumbered as tools 2, 3 , 4 and 5. If you now select tool 2 the program closes

  2. Marius Stanciu

    Hello Juan,

    This is not the first time that someone reported an issue with the Tools Database deletion of a tool. I am aware about the issues in the Tools Database and actually fixing the Tools Database is now one of the last tasks before the release of the new version of FlatCAM (which will be called FlatCAM Evo and versioning will be reset to 1.0).

  3. juan pedro reporter

    Hello
    It seems that the problem comes because in the file where the definition of the "tools_db.FlatDB" tools is saved, when deleting a tool the rest of the tools are not renumbered. Editing the file and renumbering the tools by hand I have managed to correct the problem.

  4. Marius Stanciu

    Hi,
    True, but right now there are many more issues in the Tools Database introduced due of breaking changes that I have done in the software. 🙂 I am talking about my working copy of the software.

  5. Log in to comment