AnsweredAssumed Answered

ERROR 000820: The parameters need repair

Question asked by sagertdev on Oct 2, 2018

I am getting this message when running a model published to server 10.4.1.  The model runs fine in desktop 10.4.1.  My published model also utilizes a script in which the statement:

 

arcpy.env.workspace = arcpy.GetParameterAsText(0)

 

is changed to

 

arcpy.env.workspace = arcpy.arcpy.env.packageWorkspace(0).

 

when the script is copied to the server directory:

 

C:\arcgisserver\directories\arcgissystem\arcgisinput\MOLOS3.GPServer\extracted\v101\scripts

 

Why the extra arcpy?

 

 

Outcomes