[8.994, Win x64] drillcncjob - An internal error has occured. - TypeError: unsupported operand type(s) for +: 'int' and 'NoneType' - fixed for next version

Issue #512 new
Krzysztof Kluczek created an issue

The command crashes on drill file generated by Altium Designer 13.
1. Load the attached drill file.
2. Execute in shell: drillcncjob PowerOut.TXT -drillz -1.900000 -travelz 0.500000 -feedrate_z 200

The above steps produce following error message:

[ERROR] An internal error has occurred. See shell.
Object (cncjob) failed because: unsupported operand type(s) for +: 'int' and 'NoneType'



Traceback (most recent call last):
File "D:\1.DEV\FlatCAM_beta\appObjects\AppObject.py", line 162, in new_object
File "D:\1.DEV\FlatCAM_beta\tclCommands\TclCommandDrillcncjob.py", line 335, in job_init
  File "D:\1.DEV\FlatCAM_beta\camlib.py", line 4455, in generate_from_excellon_by_tool
TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'