Skip to main content
Question

What could be going wrong? File Geodatabase Error


Forum|alt.badge.img

I keep getting this when trying to write to an ESRI FGDB: "Unable to remove existing dataset at location `.......' for writer `GEODATABASE_FILE_1'.

Any suggestions?

4 replies

Forum|alt.badge.img

There was a lock on the FGDB which was moved but then I get this when run:

"Translation FAILED.

Traceback (most recent call last):

File "<string>", line 1, in <module>

File "c:\\program files (x86)\\arcgis\\desktop10.5\\arcpy\\arcpy\\__init__.py", line 22, in <module>

from arcpy.geoprocessing import gp

File "c:\\program files (x86)\\arcgis\\desktop10.5\\arcpy\\arcpy\\geoprocessing\\__init__.py", line 14, in <module>

from _base import *

File "c:\\program files (x86)\\arcgis\\desktop10.5\\arcpy\\arcpy\\geoprocessing\\_base.py", line 14, in <module>

import arcgisscripting

ImportError: No module named arcgisscripting"


debbiatsafe
Safer
Forum|alt.badge.img+20
Hi @charlesbanks

 

Can you change the Python Compatibility parameter of your workspace to the ESRI ArcGIS Desktop (2.7) and rerun your workspace? Does the error still appear?

 


debbiatsafe
Safer
Forum|alt.badge.img+20
charlesbanks wrote:

There was a lock on the FGDB which was moved but then I get this when run:

"Translation FAILED.

Traceback (most recent call last):

File "<string>", line 1, in <module>

File "c:\\program files (x86)\\arcgis\\desktop10.5\\arcpy\\arcpy\\__init__.py", line 22, in <module>

from arcpy.geoprocessing import gp

File "c:\\program files (x86)\\arcgis\\desktop10.5\\arcpy\\arcpy\\geoprocessing\\__init__.py", line 14, in <module>

from _base import *

File "c:\\program files (x86)\\arcgis\\desktop10.5\\arcpy\\arcpy\\geoprocessing\\_base.py", line 14, in <module>

import arcgisscripting

ImportError: No module named arcgisscripting"

Hi @charlesbanks

 

Can you change the Python Compatibility parameter of your workspace to the ESRI ArcGIS Desktop (2.7) and rerun your workspace? Does the error still appear?

 


Forum|alt.badge.img

DebbiAtSafe, Thanks. That worked.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings