Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am using ArcGIS 10.1 for Desktop to upgrade File Geodatabases using a Python script that runs fine until the step where it runs the Upgrade Geodatabase tool. The error is:

ERROR 999999: Error executing function.\nFailed to execute

The error can also be seen when the Upgrade Geodatabase tool is run manually so I have not re-included the code which can be found in an earlier question which led to this one.

Does anyone know what would cause this error?

share|improve this question
2  
What happens when you use the Upgrade Geodatabase tool to perform the upgrade on this file geodatabase (i.e. the first one in your listed workspaces) outside of ArcPy? If that works use the Geoprocessing | Results window to Copy As Python Snippet and run just that from a Python test script to convince yourself that there is nothing special about it being run from there. Also, try adding in print statements to make sure that every variable is set to what you think it is. Another quick thought is "Does this work if you change folder names to something NOT starting with a number? –  PolyGeo Nov 12 '13 at 22:27
    
I Tried everything including naming folders to just words, I am running it as a stand alone script, I wonder if that's the reason for the error. –  GBh Nov 12 '13 at 22:32
    
What happens when you use the Upgrade Geodatabase tool to perform the upgrade on this file geodatabase (i.e. the first one in your listed workspaces) outside of ArcPy? –  PolyGeo Nov 12 '13 at 22:36
    
If I do the upgrade manually in Arc-catalog(by right clicking and going to properties), it throws up no error. –  GBh Nov 12 '13 at 22:41
4  
Typically any time I get the ERROR 999999 it seems to be from lock issues. I close out of everything and run the python stand alone and it works. Is there anything opening the databases first? –  eseglem Nov 13 '13 at 1:14

1 Answer 1

In a case like this one, where you have isolated your problem to a particular tool running against your specific geodatabase, my recommendation would be to consider contacting Esri Support and offering to send them your geodatabase.

This is because they should be able to:

  • test the same geodatabase on a range of configurations to see whether it works on some or none; and/or
  • submit it to the developers responsible for File Geodatabases to undertake detailed analysis, perhaps by inserting additional troubleshooting code.
share|improve this answer
1  
You could pretty much write this for any ESRI post and I do not think it advances the user in finding a solution to their problem. –  user two seven two three nine Sep 22 at 1:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.