Help with Python Runtime error

325
1
02-12-2013 09:32 AM
DezHoza
New Contributor
After running the CreateTopology tool within the ArcMap python window, it gives a runtime error with a mysterious space, and some characters cut off. Its hard to explain so here is the example.

I Type:

arcpy.CreateTopology_management("r'T:\GIS105vector\topology\PrinceAlbert.mdb\NewDevelopment'","Topology","#")


Error:

Runtime error <class 'arcgisscripting.ExecuteError'>: ERROR 000732: Input Feature Dataset: Dataset r'T:\GIS105vector opology\PrinceAlbert.mdb\NewDevelopment' does not exist or is not supported



Notice the space after GIS105vector, and two missing characters immidietly afterwards. Hope you can help, thanks a lot.
Tags (2)
0 Kudos
1 Reply
JakeSkinner
Esri Esteemed Contributor
Hi Dez,

You have your quotation before the 'r'.  Try the following instead:

arcpy.CreateTopology_management(r"T:\GIS105vector\topology\PrinceAlbert.mdb\NewDevelopment","Topology","#")
0 Kudos