Skip to main content
Question

What could be going wrong? File Geodatabase Error

  • May 4, 2018
  • 4 replies
  • 35 views

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?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

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+21
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+21

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.