Using this article as a guide, I've been trying to connect points to the nearest location on a line road feature class. This works until the last step, the Points To Line tool. It consistently gives a runtime error 999999: Error executing function.
999999 errors don't really tell me what's going wrong. This has occurred on different machines. On opening the script for the tool, it imports arcpy, os and types. Not familiar with the types module. It also has the lines
if name == 'main': convertPoints()
although I don't see the main function anywhere. Any ideas?