Select to view content in your preferred language

Enterprise Python Toolbox memory error

184
0
10-01-2024 10:49 AM
solar_man
Emerging Contributor

Hello,

I created a python toolbox for geoprocessing. The code is working great when I run it in arcgis pro but when I publish it to my enterprise portal I am getting the error: Invalid return value: memory\output_layer 

 

I tried using: env.overwriteOutput = True which didn't work.

 

I found this post online: https://support.esri.com/en-us/knowledge-base/how-to-delete-arcgis-enterprise-temporary-files-000028... on delete temporary files but it seems like a one off solution.

Has anyone else dealt with this error? How did you solve it and are there best practices for handling tempoary outputs from geoprocessing tools? Any help would be great!

 

Thanks!geoprocessing toolbox error.PNG

0 Kudos
0 Replies