- edited description
This MIGHT be related to #460
Problem
In the panel tool, there is no possibility to:
- select the Object type, it is stuck on Gerber files, so implicitly it is not possible to panelize excellon drills.
- change anything in the section “Panel data” or the constrain settings, resulting in using the preference settings.
Comparable problems exist in the following tools:
- Solder Paste
- (Check) Rules (bottom part only)
- Calculators
Configuration
MacOS 10.15.7
Latest FlatCam version from Git:
commit 90b96f7be4530a6e2cce3c3ad2d3ca42cc5e6f05 (HEAD -> Beta, origin/Beta)
Merge: 8f88fb27 911f2d3b
Author: Andre Spahlinger <andre.spahlinger@gmx.de>
Date: Tue Dec 29 09:36:03 2020 +0000
Merged in FixTclCommandNew (pull request #331)
FixTclCommandNew (Issue #478)
Fresh brew update/upgrade
Fresh pip3 packages re-install/update
Potential cause
The use of QFormLayout instead of QGridLayout, or some issue with form_layout.addRow
The labels are all shown as it should, but the fields are absent if they are in the second column.
[old] 2 potentially related issues:
Crash on closing
By the way, when I close FlatCam, I almost always end up with an exception. I get this:
[DEBUG][Dummy-10] 0.374408 seconds adding object and plotting.
[DEBUG] App.PreferencesUIManager.save_defaults()
[DEBUG][MainThread] propagate_defaults()
[DEBUG][MainThread] App.save_project_auto_update() --> updated the interval timeout.
WARNING: Traceback (most recent call last):
File "/Users/(--redacted--)/flatcam/app_Main.py", line 3538, in final_save
self.on_file_saveprojectas(use_thread=True, quit_action=True)
AttributeError: 'App' object has no attribute 'on_file_saveprojectas'
zsh: abort python3 FlatCAM.py
flatcam % /usr/local/Cellar/python@3.9/3.9.1_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 12 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '
or this:
[DEBUG][MainThread] App.save_project_auto_update() --> updated the interval timeout.
[DEBUG] App.PreferencesUIManager.save_defaults()
[DEBUG][MainThread] propagate_defaults()
[DEBUG][MainThread] App.save_project_auto_update() --> updated the interval timeout.
[DEBUG][MainThread] App.quit_application() --> App Defaults saved.
[DEBUG][MainThread] App.quit_application() --> App UI state saved.
[DEBUG][MainThread] App.quit_application() --> 'App' object has no attribute 'new_launch'
[DEBUG][MainThread] App.quit_application() --> 'App' object has no attribute 'listen_th'
zsh: segmentation fault python3 FlatCAM.py
Error message on opening
[DEBUG][MainThread] Opening project: /Users/(--redacted--)/lidarboardsv2.FlatPrj
[ERROR][MainThread] Failed to parse project file, trying to see if it loads as an LZMA archive: /Users/(--redacted--)/lidarboardsv2.FlatPrj because 'utf-8' codec can't decode byte 0xfd in position 0: invalid start byte
[DEBUG][MainThread] on_file_new()
It does however load the project correctly and this message does not change, even when I save the project again.