- changed status to closed
Unknown error form a tcl script.
I have no idea what is causing this just by locking to the output.
I am attaching my script here if you can see if it is a bug, mistakes or misunderstanding.
[WARNING][Dummy-4] Line ignored: M30
[INFO][Dummy-4] Zeros: None, Units MM.
[DEBUG][Dummy-4] flatcamParsers.ParseExcellon.Excellon.create_geometry()
[DEBUG][Dummy-4] 0.015338 seconds executing initialize().
[DEBUG][Dummy-4] flatcamParsers.ParseExcellon.Excellon.bounds()
[DEBUG][Dummy-4] Moving new object back to main thread.
[DEBUG][MainThread] on_object_created()
[DEBUG][MainThread] on_object_created --> OC.append()
[DEBUG][MainThread] FlatCAMExcellon.set_ui()
[DEBUG][MainThread] set_ui --> FlatCAMObj.to_form()
[DEBUG][MainThread] register_recent()
[DEBUG][MainThread] excellon
[DEBUG][MainThread] /home/lheck/Dropbox/ELETRIC_FENCE/board/gerbers/board-PTH.drl
[DEBUG][MainThread] TCL command '<class 'tclCommands.TclCommandDrillcncjob.TclCommandDrillcncjob'>' executed.
[DEBUG][Dummy-4] new_object()
[DEBUG][Dummy-4] Calling object constructor...
[DEBUG][Dummy-4] Creating CNCJob object...
[DEBUG][Dummy-4] FlatCAMObj.visible()
[DEBUG][Dummy-4] 0.005197 seconds before initialize().
[DEBUG] Creating CNC Job from Excellon...
[DEBUG] Tools 'all' and sorted are: ['1', '2', '3']
[DEBUG] Using OR-Tools Basic drill path optimization.
[INFO] Total distance: 61
[ERROR][Dummy-4] Exception occurred within a preprocessor: Traceback (most recent call last):
File "/home/lheck/Apps/flatcam/8.991-beta/camlib.py", line 2361, in doformat2
returnvalue = fun(attributes)
File "preprocessors/grbl_11.py", line 104, in toolchange_code
for i in p['options']['Tools_in_use']:
KeyError: 'Tools_in_use'
[WARNING] Number of drills for which to generate GCode: 7
[INFO] Total distance: 73
[ERROR][Dummy-4] Exception occurred within a preprocessor: Traceback (most recent call last):
File "/home/lheck/Apps/flatcam/8.991-beta/camlib.py", line 2361, in doformat2
returnvalue = fun(attributes)
File "preprocessors/grbl_11.py", line 104, in toolchange_code
for i in p['options']['Tools_in_use']:
KeyError: 'Tools_in_use'
[WARNING] Number of drills for which to generate GCode: 6
[INFO] Total distance: 96
[ERROR][Dummy-4] Exception occurred within a preprocessor: Traceback (most recent call last):
File "/home/lheck/Apps/flatcam/8.991-beta/camlib.py", line 2361, in doformat2
returnvalue = fun(attributes)
File "preprocessors/grbl_11.py", line 104, in toolchange_code
for i in p['options']['Tools_in_use']:
KeyError: 'Tools_in_use'
[WARNING] Number of drills for which to generate GCode: 4
[DEBUG] The total travel distance with OR-TOOLS Basic Algorithm is: 271.9737920292121
[DEBUG] The total travel distance including travel to end position is: 300.02557450377157
[DEBUG][Dummy-4] 0.050180 seconds executing initialize().
[DEBUG] camlib.CNCJob.bounds()
Comments (5)
-
-
reporter Do you have an schedule for when you will release it?
-
No schedule, sorry … There are all kind of requests that keep coming in or bugs that need to be solved and the release date kept being pushed away.
-
reporter Alright, fair enough.
Do you have a branch that you usually merge new features so I can test them before the release?
-
For the time being I have nothing to share in this way. But after this version gets released I will try to work more transparently.
- Log in to comment
This issue is already fixed in my working copy since 1.01.2020. It will be available in the next version, 8.992.