Error drillcncjob commit fd0d8a2
Issue #316
resolved
drillcncjob Top_Drills -drilled_dias 1.0 -drillz -2.0 -travelz 5.0 -feedrate 15.0 -spindlespeed 255 -endz 20.0 -pp grbl_11 -diatol 5.0 -outname Top_Drills_1.0
-drilled_dias 1.0 do exist on the Excellon
[ERROR_NOTCL] An internal error has ocurred. See shell.
Object (cncjob) failed because: name 'pywrapcp' is not defined
Traceback (most recent call last):
File "C:\Temp\Winpython32-3.7.4.0\FlatCAM\jpcgt-flatcam-fd0d8a2a7c24\FlatCAMApp.py", line 3657, in new_object
return_value = initialize(obj, self)
File "C:\Temp\Winpython32-3.7.4.0\FlatCAM\jpcgt-flatcam-fd0d8a2a7c24\tclCommands\TclCommandDrillcncjob.py", line 201, in job_init
toolchange=toolchange, excellon_optimization_type=opt_type)
File "C:\Temp\Winpython32-3.7.4.0\FlatCAM\jpcgt-flatcam-fd0d8a2a7c24\camlib.py", line 6054, in generate_from_excellon_by_tool
manager = pywrapcp.RoutingIndexManager(tsp_size, num_routes, depot)
NameError: name 'pywrapcp' is not defined
Thanks
Comments (4)
-
-
reporter no, 64bit win10 running Winpython32-3.7.4.0
-
Interesting because at the top of the camlib.py file you can find this:
if platform.architecture()[0] == '64bit': from ortools.constraint_solver import pywrapcp from ortools.constraint_solver import routing_enums_pb2
You can see that pywrapcp is imported for 64bit architecture but in your error it says it is undefined.
In any case I have made a change to make sure that where pywrapcp is used it will be used only if the platform is ‘64bit’ -
- changed status to resolved
Fixed in commit 49ac19a
- Log in to comment
This is an Google OR-Tools package error. Are you running FlatCAM in an 32bit OS?