Loading Project Files doesn't work/crash (Beta 8.994, Linux)

Issue #456 resolved
Paul G. created an issue

Hi

Just noticed opening Project Files results in an error message and sporadically crash of Flatcam:

[DEBUG][MainThread] on_file_openproject()
[DEBUG][MainThread] Opening project: /home/p/store/projekte/lasern/Test.FlatPrj
[ERROR][MainThread] Failed to parse project file, trying to see if it loads as an LZMA archive: /home/p/store/projekte/lasern/Test.FlatPrj because 'utf-8' codec can't decode byte 0xfd in position 0: invalid start byte
[DEBUG][MainThread] on_file_new()
[DEBUG][MainThread] on_file_new--> OC.delete_all()
WARNING: Traceback (most recent call last):
  File "/mnt/store/build/flatcam3/flatcam/appTools/ToolPunchGerber.py", line 105, in on_object_combo_changed
    grb_obj.mark_shapes.enabled = True
AttributeError: 'NoneType' object has no attribute 'mark_shapes'

The project file was created with the same Flatcam version and without any errors.

Comments (4)

  1. Marius Stanciu
    • fixed the Punch Gerber Tool bug that did not allowed the projects to be loaded or to create a new project. Fixed issue #456
    • in Tool Subtract added an option to delete the source objects after a successful operation. Fixed issue #455

    → <<cset a7c03248d6ce>>

  2. Marius Stanciu
    • fixed the Punch Gerber Tool bug that did not allowed the projects to be loaded or to create a new project. Fixed issue #456
    • in Tool Subtract added an option to delete the source objects after a successful operation. Fixed issue #455

    → <<cset 46900d795d1b>>

  3. Log in to comment