I'm using the SummarizeWithin tool with arcpy, running in a Jupyter Notebook.
sum_fields <SPAN class="operator token">=</SPAN> <SPAN class="string token">"TOTAL Sum;M_TOTAL Sum;F_TOTAL Sum"</SPAN>
arcpy<SPAN class="punctuation token">.</SPAN>analysis<SPAN class="punctuation token">.</SPAN>SummarizeWithin<SPAN class="punctuation token">(</SPAN><SPAN class="string token">"counties"</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="string token">"demographics"</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="string token">"counties_demo"</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="string token">''</SPAN><SPAN class="punctuation token">,</SPAN> sum_fields<SPAN class="punctuation token">)</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN></SPAN>
On execution I receive a lot of these two errors in the console.
TypeError: setGroupParams() missing 2 required positional arguments: 'groupFieldName' and 'fcPath'
AttributeError: 'ToolValidator' object has no attribute 'isLicensed'<SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN></SPAN>
The tool runs through and gives a correct output FeatureClass. I still would like to get rid of these errors.
When executed as a regular Geoprocessing Tool in ArcGIS 2.5 no errors are reported, same when the code snippet is run in the Python Console.
Is this a bug, or am I doing something wrong?