AnsweredAssumed Answered

Pyton Window workspace path character limit?

Question asked by AustinStreetman on Sep 26, 2012
Latest reply on Sep 26, 2012 by mzcoyle
Is there a limit to the number of characters in a workspace path when using the Pyton Window?

This example from a tutorial works fine:
>>> mxd.replaceWorkspaces("D:\Student\PythonDesktop10_0\Data\Austin_test.gdb",
"FILEGDB_WORKSPACE",
"D:\Student\PythonDesktop10_0\Data\Westerville.gdb",
"FILEGDB_WORKSPACE")

But this does not:
>>> mxd.replaceWorkspaces("D:\Student\PythonDesktop10_0\Data\Westerville.gdb",
"FILEGDB_WORKSPACE",
"W:\AEP\127142_Opossum_Creek_Smith_Mtn\PER\Environmental\GIS\Data\temp\Austin_test.gdb",
"FILEGDB_WORKSPACE")

Runtime error <type 'exceptions.ValueError'>: MapDocObject: Unexpected error

Outcomes