AnsweredAssumed Answered

Create Street Index Tool (Local Government)

Question asked by subithjustin on Jul 1, 2020

I am getting an error when running the create street index tool in ArcMap.

 

Any help would be appreciated.

 

 

 

Executing: CreateStreetIndexReport RoadCenterline FULLNAME Index PageName LANDSCAPE C:\Users\jsubith\Desktop\StreetIndex712020.pdf # # SiteAddressPoint FULLADDR
Start Time: Wed Jul 01 10:46:31 2020
Running script CreateStreetIndexReport...
--Intersecting dissolved centerlines with fire map index...
--Building Index Pages ...
Failed script CreateStreetIndexReport...

Traceback (most recent call last):
File "P:\GIS\01_03_2019 Databases\Databases\Local Government.tbx#CreateStreetIndexReport_localgov.py", line 558, in <module>
File "P:\GIS\01_03_2019 Databases\Databases\Local Government.tbx#CreateStreetIndexReport_localgov.py", line 547, in main
File "P:\GIS\01_03_2019 Databases\Databases\Local Government.tbx#CreateStreetIndexReport_localgov.py", line 493, in create_index_document
File "C:\Python27\ArcGIS10.5\lib\site-packages\reportlab\platypus\doctemplate.py", line 892, in build
self.handle_flowable(flowables)
File "C:\Python27\ArcGIS10.5\lib\site-packages\reportlab\platypus\doctemplate.py", line 775, in handle_flowable
if frame.add(f, canv, trySplit=self.allowSplitting):
File "C:\Python27\ArcGIS10.5\lib\site-packages\reportlab\platypus\frames.py", line 159, in _add
w, h = flowable.wrap(aW, h)
File "C:\Python27\ArcGIS10.5\lib\site-packages\reportlab\platypus\paragraph.py", line 964, in wrap
blPara = self.breakLines([first_line_width, later_widths])
File "C:\Python27\ArcGIS10.5\lib\site-packages\reportlab\platypus\paragraph.py", line 1158, in breakLines
spaceWidth = stringWidth(' ', fontName, fontSize, self.encoding)
File "C:\Python27\ArcGIS10.5\lib\site-packages\reportlab\pdfbase\pdfmetrics.py", line 723, in stringWidth
return getFont(fontName).stringWidth(text, fontSize, encoding=encoding)
SystemError: ..\Objects\moduleobject.c:50: bad argument to internal function

Failed to execute (CreateStreetIndexReport).
Failed at Wed Jul 01 10:47:02 2020 (Elapsed Time: 30.54 seconds)

Outcomes