I have created a simple python script to do the following:
- Scrape web page for data listed in table/json
- Write data into local FGDB table
- Map data in local FGDB using coordinates
- Replace SDE data with mapped data in local FGDB
Everything works up until step 4 which includes a DeleteRows function call and then an Append function call. I am using DeleteRows instead of truncate due to database locks. Currently this script works perfectly fine from my local machine, but on our server machine where this script will reside for scheduling purposes I run into the error 000732: dataset does not exist or is not supported. I have run through all of the suggested workarounds/solutions and none worked. I even ran the tool in catalog on the server machine and it worked, just not in the script.
- Make sure file path provided is correct.
- Make sure file path provided is not a relative file path.
- No spaces in file path name
- No misspellings
- Backslashes instead of forward slashes
- No subtypes
- Process runs on windows machine not UNIX or Linux so hopefully no issue with Copy Rows or Make XY Event Layer tools
- Disabled background geoprocessing
Are there any additional suggestions or could this possibly be a bug?