I'm trying to upload a GP tool to our server and the staging was reported as a success, but the GP service does not have any tasks. From the REST services directory:
Test/lfpv1r (GPServer)
Service Description: LFP v1 Tasks: NoneExecution Type: esriExecutionTypeAsynchronous Result Map Server: Test/lfpv1r |
If you click on the map server link:
Error: Service Test/lfpv1r/MapServer not found Code: 500 |
Is there a maximum size for the python script? I've managed to upload simple test tools ok, but the script I'm trying to upload is 6.5k lines long, with 90 input parameters (don't ask!). Even a cut-down version at 2.5k lines fails.
I can split the tool into stages and upload each one as a separate service, which is probably what I'll end up doing, but I just wondered if there was some kind of size limit that was preventing me from uploading the full tool.