AnsweredAssumed Answered

replaceDataSource gives unexpected error on coverage data source

Question asked by curtvprice Champion on Apr 11, 2012
Latest reply on Apr 13, 2012 by jbarrette-esristaff
This is an arcpy.mapping question.

I'm having getting replaceDataSource to fix paths to coverages.

print ds print "%s, %s, %s" % tuple([ENV.workspace, covName, covNameNew]) lyr.replaceDataSource(ENV.workspace, "ARCINFO_WORKSPACE", covNameNew)


The coverage abbot_pop does not exist, but cou_pop does.

This prints:

E:\tools\arcgis\atool\arc\sample\samptest\abbot_pop\point
e:\tools\arcgis\atool\arc\sample\samptest, abbot_pop, cou_pop
Layer: Unexpected error


I tried cou_pop/point (it's a point coverage) and that didn't work either. Any ideas?

Outcomes