ferranferrer

Partition Tools error

Discussion created by ferranferrer on Oct 15, 2012
Latest reply on Oct 17, 2012 by Wayne_Whitley
Hi, everybody

I'm using partition tools and need support.
I have added an iterative feature in order to perfom calculations by groups (in this case census tract grouped by county), but the message error seems to apply when calculates the second census tract of the second county.

PYTHON ERRORS:
Traceback Info:
  File "C:\FERRAN\SOFT\0 GIS\SIG EXTENSIONS\DISTRICTING ARCGIS\AS16021\PartitioningTools\Scripts\Collocate.py", line 128, in <module>
    if count % (int(0.05 * tot_features)) == 0:

Error Info:
    <type 'exceptions.ZeroDivisionError'>: integer division or modulo by zero

Is a turnaround to this?

Thanks for your attention,

Ferran

Outcomes