Esri / Esri/network-analysis-services

Regarding Arcpy Overwriteoutput property

Open
#9 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
19
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Hi,

I'm facing an issue with the use of **arcpy.overwriteoutput** property.

I have one Python script which performs some Geo-Processing operations and at the end generates one final table named suppose "CITY_NEW". It gets created on the production server after each run of the script daily.
I have kept **arcpy.overwriteoutput** option set to **True** so that it will always replaces the old table with the newly created one.

My issue is, for sometimes script does get ended with the error saying "**Table name 'CITY_NEW' already exists**". But some times it gets completed successfully without any error.
Is it because the output table "CITY_NEW" may be open in some other application or getting accessed by some user while the script is replacing it? I tried doing this by keeping that table open on one system and running the script manually. This also gets ended with the same error.

If so, then why here arcpy.overwriteoutput property is not working as expected?

Please help me out with this. Do i required to provide some more details?

Thanks in advance.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.