Timeline for Geoprocessing Service jobs fails with no errors
Current License: CC BY-SA 3.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 9, 2013 at 16:19 | vote | accept | pgreen2 | ||
Oct 9, 2013 at 16:19 | answer | added | pgreen2 | timeline score: 1 | |
Oct 3, 2013 at 13:31 | comment | added | pgreen2 |
@KHibma, Sorry for not being more clear. I put both AddError and AddMessage as the first part of my script: # Esri start of added imports import sys, os, arcpy # Esri end of added imports arcpy.AddError('starting') arcpy.AddMessage('starting')
|
|
Oct 3, 2013 at 12:43 | comment | added | KHibma | With message level set to INFO, you should follow DEWright's suggestion and put some AddMessages or TRY/EXCEPTs in. If you dont see these messages then make sure you've set messages on the service itself, not messages in the Logs (which are unrelated) | |
Oct 2, 2013 at 23:29 | comment | added | pgreen2 | @KHibma, I set messages to INFO and unfortunately no help there either. Gremlins perhaps? | |
Oct 2, 2013 at 21:17 | comment | added | Inactivated Account | Ah! A perfect failure! | |
Oct 2, 2013 at 20:48 | history | edited | PolyGeo♦ |
edited tags
|
|
Oct 2, 2013 at 20:31 | comment | added | pgreen2 | @KHibma, thank you for the suggestion about INFO on the parameters page. I didn't know it existed. | |
Oct 2, 2013 at 20:30 | comment | added | pgreen2 | @D.E.Wright, I placed error logs at the very start of my script and they aren't happening. I don't think my script is being run. | |
Oct 2, 2013 at 19:45 | comment | added | KHibma | That, but more importantly, he needs to turn messages to INFO on the Parameters page of the GP Service. That will start spitting out more relevant information which you've trapped/expressed in the script. Right now you have it set to None. | |
Oct 2, 2013 at 18:01 | comment | added | D.E.Wright | You need to through some comments/logging into your script at a finer level, so you can see responses as it start to spin up. I setup messages when my Temp/Scratch space is set then as I select my layers etc. This lets me see where/when events are triggering or failing. You can throw a Try/Catch around events to focus the process too. | |
Oct 2, 2013 at 17:53 | history | asked | pgreen2 | CC BY-SA 3.0 |