jeanmark.wright

arcpy.Describe file not found!

Discussion created by jeanmark.wright on Jun 19, 2013
Latest reply on Jun 20, 2013 by SWalbridge-esristaff
Hi all,
I'm running Python using WSGI under Wamp. The user uploads a shapefile to my server then I try to run arcpy.Describe and even though os.path.exists(...) says the file exists, arcpy it telling me that the file doesn't exist. Is there any particular reason why this would happen?

Also, if I run the same function from the console (instead of via the browser), arcpy is able to magically find the file. I'm using an absolute path to the file and I'm not using arcpy.env.workspace at all.

Outcomes