[GIS] How to fix the ArcToolbox error TypeError: cannot concatenate ‘str’ and ‘NoneType’ objects

arcpytypeerror

I am trying to run the ExportHTMLImageMaps tool in ArcGIS 10.3.1 to create HTML image maps to be used as static web geographic navigation maps, but I keep getting the Error TypeError: cannot concatenate 'str' and 'NoneType' objects

I checked each field being used in the tool and each is type String, so I'm not sure where to go from here. Below is a screen cap of my error log. I am a novice at Python and troubleshooting code.

enter image description here

Best Answer

Looking at your screen shot and reading the error message it is saying it cannot join None to a string. This is strongly suggesting that the command

arcpy.env.geographicTransformations

is returning None. So you need to look back at your code to identify where, if at all, you are setting this environment setting?