Select to view content in your preferred language

Windows Task Scheduler Error

1315
13
12-06-2023 11:14 AM
AshleyHayes2
Regular Contributor

When I run Data Interoperability via Windows Task Scheduler, I receive an "ERROR : Python Exception <ExecuteError>: ERROR 160236: The operation is not supported by this implementation. Failed to execute (DeleteRows)." from my shutdown script.  

When I run it manually in ArcPro, I do not receive any errors and everything works as expected.

Any suggestions?  

Also, @BruceHarold -- is there a way to subscribe to your "What's New in ArcGIS Data Interoperability" blog posts?

Thank you!!

13 Replies
BruceHarold
Esri Frequent Contributor

Hello Ashley

It seems you have struck an issue we haven't found a cause for:

https://pro.arcgis.com/en/pro-app/latest/tool-reference/tool-errors-and-warnings/160001-170000/tool-...

If you open a support call the analyst can look at your workflow.

Re. subscribing, if you subscribe to the whole Data Interoperability board you'll get everything, and thank you for asking.

BruceHarold_0-1701890913949.png

 

0 Kudos
A_Baker_
New Contributor

Hi Ashley, 

Were you able to resolve this issue? I have been intermittently encountering the same error while running scripts through Task Scheduler and have been unable to determine the cause or a fix. 

Thank you!

xanderm
Regular Contributor

Any luck?

0 Kudos
GB_-_JonathanJew__GISS_
Occasional Contributor

This is still a problem. I had a bat script running for a little over a month with no issues. Now it consistently fails when run from scheduler, no issues at all from manually running the bat. The only thing that coincided with the crash was logging back into my AGOL portal. the script seems to still be able to read and recognize it is in the correct portal. 

I get the same error using deleteFeatures() and/or DeleteRows()

0 Kudos
BruceHarold
Esri Frequent Contributor

I think you should open a support call, it will be hard to troubleshoot here.

0 Kudos
D_Atkins
Regular Contributor

Just chiming in that we have had the same experience as Jonathan.  Python script randomly fails at .DeleteRows with error 160236 (which is why I subscribed to this discussion).

The 'schedule' is monthly, so running the script manually is acceptable (for this case, for now).  We've tried different user accounts, administrative user accounts, 'run with highest privileges', and more.

0 Kudos
BruceHarold
Esri Frequent Contributor

OK, sorry to hear that but the good news is the team at Esri will act on reproducible issues so sharing your code will help with that.

0 Kudos
GB_-_JonathanJew__GISS_
Occasional Contributor

my account does not have support ticket enabled. I've included the directory and aprx with a readme of how it is being used if that is helpful. Generally, it is a very simple and just republishes a subset of features from one feature service to another. 

0 Kudos
D_Atkins
Regular Contributor

Like Jonathan, my account is not an "authorized caller", so I won't be able to escalate this beyond the Community.

0 Kudos