ListLayoutElements not working with referencing MXD from disk

Discussion created by bbinckes on Oct 22, 2010
Latest reply on Oct 27, 2010 by bbinckes
Basic issue is I cannot list layout elements when using the mxd that is on the disk with python.  When I am running in arcmap the script runs fine, if I have 'CURRENT' tag for opening up the MXD.  When running this from a geoprocess service I cannot use the 'CURRENT' tag when opening up the mxd so I need to reference the mxd on disk.  If I reference the mxd on disk from either ARCmap or a publish geoprocess service, the app hangs for a bit and evetually returns with an error.

I do notice that the memory usage on my PC ramps while process is running.

I am using ArcGIS 10, python 2.6.

Attached is a small testcase.  If anyone has had this problem or sees an implementation problem, please respond.

Fort Collins