Flatcam 8.994 - crash on edit excellon object

Issue #474 resolved
Bogusz Jagoda created an issue

Flatcam 8.994 @ MacOS Mojave, python 3.8

[DEBUG][MainThread] app_obj.new_object(): Object name (Alignment Drills) exists, changing.
[DEBUG][MainThread] ExcellonObject.set_ui()
[DEBUG][MainThread] set_ui --> FlatCAMObj.to_form()
[DEBUG][MainThread] build_ui--> FlatCAMObj.build_ui()
[DEBUG][Dummy-5] plot --> FlatCAMObj.plot()
[DEBUG][Dummy-5] 0.216195 seconds adding object and plotting.
[DEBUG][Dummy-4] save_project()
[DEBUG][MainThread] build_ui--> FlatCAMObj.build_ui()
WARNING: Traceback (most recent call last):
  File "/Users/gobo/fc8994/app_Main.py", line 2411, in object2editor
    self.exc_editor.toolbar_old_state = True if self.ui.exc_edit_toolbar.isVisible() else False
AttributeError: 'NoneType' object has no attribute 'toolbar_old_state'
Abort trap: 6
iGobol:fc8994 gobo$ /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '

Comments (3)

  1. Marius Stanciu

    Hi,

    Can you post the log when you start the application? It looks like something crashed the Excellon Editor initialization at the app start.

  2. Marius Stanciu

    Ok, since you are not willing to provide more information’s than you already posted I have to take a general action.
    I have added protections against editors that could not start from various reasons, warning user about this with an error message in the status bar.

    It will not solve the issue with not been able to use that Editor but the app will not crash.

    With the information’s provided I have solved the crash and this issue is closed.

  3. Log in to comment