I have the following code:
When I run it:
conType = arcpy.mapping.ListLayers(imxd, "Construction_pt", df)[0]
print conType.dataSource
prints... "Database Connections\Edit - Editor.sde\Edit.SDE.Construction_pt"
and rest of program runs correctly
When another user runs it:
print conType.dataSource
prints... "\Edit.SDE.Construction_pt"
program crashes because cannot find path
My question is why is it only displaying the full path for me and not other users?
ArcGIS 10, Windows 7
arcgis.workspaceproblem. I ran into various problems not setting theArcInfoWorkspace(). Even though this is under ArcGis 9x using thegp-object. – LarsVegas Oct 25 '12 at 15:37