<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Unable to complete operation. Error executing tool. Export Web Map : ConvertWebMapToArcGISProject() takes from 1 to 4 positional arguments but 5 w in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/unable-to-complete-operation-error-executing-tool/m-p/1372734#M38306</link>
    <description>&lt;P&gt;Sorry for late reply,&amp;nbsp;&lt;SPAN class=""&gt;ConvertWebMapToArcGISProject&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;function in the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Python&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;ArcGIS pro 3.2 have the custom parameters are 5 . For the 2.9 Custom parameters are 2.&lt;/P&gt;&lt;P&gt;Its worked when i install once again 2.9 arcgis pro in another machine , then Published as a new service. But i do not understand why it not worked on that machine. I hope if i overwrite the layout once again might be not work.&lt;/P&gt;</description>
    <pubDate>Sun, 21 Jan 2024 15:04:37 GMT</pubDate>
    <dc:creator>RamaRaomalisetti</dc:creator>
    <dc:date>2024-01-21T15:04:37Z</dc:date>
    <item>
      <title>Unable to complete operation. Error executing tool. Export Web Map : ConvertWebMapToArcGISProject() takes from 1 to 4 positional arguments but 5 were</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/unable-to-complete-operation-error-executing-tool/m-p/1368272#M38205</link>
      <description>&lt;P&gt;Hi I have published the Custom print service in 10.9.1 using ArcGIS Pro 2.9 (Before i was tried to publish from ArcGIS pro 3.2, But cannot able to publish asking giving some parameter error, Mapservices are published using 3.2 ArcGIS pro)&lt;/P&gt;&lt;P&gt;Now after publishing using&amp;nbsp;ArcGIS Pro 2.9 giving the below error.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Unable to complete operation. Error executing tool. Export Web Map : ConvertWebMapToArcGISProject() takes from 1 to 4 positional arguments but 5 were&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have given the below Json . I hide the url due to confidential. Please help&lt;/P&gt;&lt;DIV&gt;{"operationalLayers":[{"layerType":"ArcGISMapServiceLayer","layers":[{"id":0,"name":"Al batha Part 01","layerDefinition":{"source":{"type":"mapLayer","mapLayerId":0}}},{"id":1,"name":"Al batha Part 02","layerDefinition":{"source":{"type":"mapLayer","mapLayerId":1}}},{"id":2,"name":"Al Hadithah","layerDefinition":{"source":{"type":"mapLayer","mapLayerId":2}}},{"id":3,"name":"Al Khafji","layerDefinition":{"source":{"type":"mapLayer","mapLayerId":3}}},{"id":4,"name":"Al Raqi","layerDefinition":{"source":{"type":"mapLayer","mapLayerId":4}}},{"id":5,"name":"Jadedet Arar","layerDefinition":{"source":{"type":"mapLayer","mapLayerId":5}}},{"id":6,"name":"Salwa Part 01","layerDefinition":{"source":{"type":"mapLayer","mapLayerId":6}}},{"id":7,"name":"Salwa Part 02","layerDefinition":{"source":{"type":"mapLayer","mapLayerId":7}}}],"url":"URL","id":"Droneimageslayer","title":"Drone Images Data","opacity":1,"minScale":0,"maxScale":0},{"layerType":"ArcGISMapServiceLayer","layers":[{"id":5,"name":"Post Offices","layerDefinition":{"source":{"type":"mapLayer","mapLayerId":5}}},{"id":4,"name":"Ports","layerDefinition":{"source":{"type":"mapLayer","mapLayerId":4}}},{"id":8,"name":"Branches","layerDefinition":{"source":{"type":"mapLayer","mapLayerId":8}}},{"id":10,"name":"Ports Survey Boundary","layerDefinition":{"source":{"type":"mapLayer","mapLayerId":10}}},{"id":6,"name":"Port Divisions","layerDefinition":{"source":{"type":"mapLayer","mapLayerId":6}}},{"id":3,"name":"Supervisory Boundaries","layerDefinition":{"source":{"type":"mapLayer","mapLayerId":3}}},{"id":1,"name":"KSA Boundary","layerDefinition":{"source":{"type":"mapLayer","mapLayerId":1}}},{"id":2,"name":"Secured Area","layerDefinition":{"source":{"type":"mapLayer","mapLayerId":2}}}],"url":"URL","id":"Boundarieslayer","title":"Boundaries Data","opacity":1,"minScale":0,"maxScale":0}],"mapOptions":{"extent":{"spatialReference":{"latestWkid":3857,"wkid":102100},"xmin":3207062.2095940383,"ymin":2094098.2837775515,"xmax":6964095.023866023,"ymax":3498093.6193192955},"spatialReference":{"latestWkid":3857,"wkid":102100},"showAttribution":true},"exportOptions":{"dpi":96},"layoutOptions":{"titleText":"test","authorText":"admohamed-c","copyrightText":"","customTextElements":[{"date":"1/10/2024"}],"scaleBarOptions":{"metricUnit":null,"nonMetricUnit":null},"legendOptions":{"operationalLayers":[{"id":"Droneimageslayer","subLayerIds":[7,6,5,4,3,2,1,0]},{"id":"Boundarieslayer","subLayerIds":[2,1,3,6,10,8,4,5]}]}}}&lt;/DIV&gt;</description>
      <pubDate>Wed, 10 Jan 2024 10:44:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/unable-to-complete-operation-error-executing-tool/m-p/1368272#M38205</guid>
      <dc:creator>RamaRaomalisetti</dc:creator>
      <dc:date>2024-01-10T10:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to complete operation. Error executing tool. Export Web Map : ConvertWebMapToArcGISProject() takes from 1 to 4 positional arguments but 5 w</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/unable-to-complete-operation-error-executing-tool/m-p/1368724#M38215</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/686813"&gt;@RamaRaomalisetti&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you pls elaborate on 'custom print service' part? Did you write you own arcpy based print service? Or you simply run Export Web Map gp tool in ArcGIS Pro 2.9 and publish the result out as a print service?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 00:28:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/unable-to-complete-operation-error-executing-tool/m-p/1368724#M38215</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2024-01-11T00:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to complete operation. Error executing tool. Export Web Map : ConvertWebMapToArcGISProject() takes from 1 to 4 positional arguments but 5 w</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/unable-to-complete-operation-error-executing-tool/m-p/1368782#M38216</link>
      <description>&lt;P&gt;Hi TanuHoque&lt;/P&gt;&lt;P&gt;I have created the one Layout template kept in one folder, using the&amp;nbsp; Server-Print Tools (Get Layout Template info and Export WebMap, Published the Export Web map) I have published the custom print service with Copy all function.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did not write the ArcPy . I hope i have detailed about the issue.&lt;/P&gt;&lt;P&gt;Note : If i run the Webmap as Json data in ArcGIS pro its working fine, But in web app builder not working.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 08:44:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/unable-to-complete-operation-error-executing-tool/m-p/1368782#M38216</guid>
      <dc:creator>RamaRaomalisetti</dc:creator>
      <dc:date>2024-01-11T08:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to complete operation. Error executing tool. Export Web Map : ConvertWebMapToArcGISProject() takes from 1 to 4 positional arguments but 5 w</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/unable-to-complete-operation-error-executing-tool/m-p/1369356#M38228</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/686813"&gt;@RamaRaomalisetti&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a few questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;do you have both Pro and Server installed on the same machine?&lt;/LI&gt;&lt;LI&gt;did I understand correctly that you published your print service from Pro 2.9 to Server 10.9.1?&lt;/LI&gt;&lt;LI&gt;can you pls right-click on Export Web Map gp tool in Pro (as seen in the screenshot below), and select Edit command? It will open the script behind the tool in an editor. Pls find the line that executes "ConvertWebMapToArcGISProject" function. And see how many parameters are passed to this function?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TanuHoque_1-1705024724008.png" style="width: 239px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/91352iFE150633D3F97E97/image-dimensions/239x253?v=v2" width="239" height="253" role="button" title="TanuHoque_1-1705024724008.png" alt="TanuHoque_1-1705024724008.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;TanuHoque_1-1705024724008.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 01:59:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/unable-to-complete-operation-error-executing-tool/m-p/1369356#M38228</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2024-01-12T01:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to complete operation. Error executing tool. Export Web Map : ConvertWebMapToArcGISProject() takes from 1 to 4 positional arguments but 5 w</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/unable-to-complete-operation-error-executing-tool/m-p/1372734#M38306</link>
      <description>&lt;P&gt;Sorry for late reply,&amp;nbsp;&lt;SPAN class=""&gt;ConvertWebMapToArcGISProject&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;function in the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Python&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;ArcGIS pro 3.2 have the custom parameters are 5 . For the 2.9 Custom parameters are 2.&lt;/P&gt;&lt;P&gt;Its worked when i install once again 2.9 arcgis pro in another machine , then Published as a new service. But i do not understand why it not worked on that machine. I hope if i overwrite the layout once again might be not work.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jan 2024 15:04:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/unable-to-complete-operation-error-executing-tool/m-p/1372734#M38306</guid>
      <dc:creator>RamaRaomalisetti</dc:creator>
      <dc:date>2024-01-21T15:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to complete operation. Error executing tool. Export Web Map : ConvertWebMapToArcGISProject() takes from 1 to 4 positional arguments but 5 w</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/unable-to-complete-operation-error-executing-tool/m-p/1475237#M39531</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I forgot to update you on the issue.&lt;/P&gt;&lt;P&gt;I have resolved it by creating another export web map tool by duplicating the existing one. I copied the same Python script to another location and created a new toolbox with the same parameters. After publishing the print tool, it worked.&lt;/P&gt;&lt;P&gt;It seems there might be some compatibility or overwrite issues between ArcGIS Server and ArcGIS Pro.&lt;/P&gt;&lt;P&gt;Finally, it worked. Sorry for the late reply&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 06:36:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/unable-to-complete-operation-error-executing-tool/m-p/1475237#M39531</guid>
      <dc:creator>RamaRaomalisetti</dc:creator>
      <dc:date>2024-05-20T06:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to complete operation. Error executing tool. Export Web Map : ConvertWebMapToArcGISProject() takes from 1 to 4 positional arguments but 5 w</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/unable-to-complete-operation-error-executing-tool/m-p/1475899#M39550</link>
      <description>&lt;P&gt;hello all,&lt;/P&gt;&lt;P&gt;like to share a good news. If everything goes as planned, a fix for this should be included in the upcoming Enterprise release 11.3.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 21:48:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/unable-to-complete-operation-error-executing-tool/m-p/1475899#M39550</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2024-05-20T21:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to complete operation. Error executing tool. Export Web Map : ConvertWebMapToArcGISProject() takes from 1 to 4 positional arguments but 5 w</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/unable-to-complete-operation-error-executing-tool/m-p/1479309#M39604</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/686813"&gt;@RamaRaomalisetti&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When using ArcGIS Pro 3.2 or 3.3 on an ArcGIS Server 11.1 machine, or ArcGIS Pro 3.1 and later versions on an ArcGIS Server 10.9.1 machine, you may encounter failures with the default ArcGIS Print tool located in the utilities folder. This issue also affects custom print tools published.&lt;/P&gt;&lt;P&gt;To resolve this, you need to remove ArcGIS Pro from the ArcGIS Server machine, which will fix the default Print Tool error. If you need to publish a Custom Print GP tool, use ArcGIS Pro 3.0.3 or 2.9 with ArcGIS Server 11.1 or 10.9.1, as these versions work without issues.&lt;/P&gt;&lt;P&gt;It appears that upgrading ArcGIS Pro to 3.1 or 3.2 alters or upgrades the server print tool parameters, causing these compatibility issues.&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2024 06:55:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/unable-to-complete-operation-error-executing-tool/m-p/1479309#M39604</guid>
      <dc:creator>AnandChinnathambi</dc:creator>
      <dc:date>2024-05-28T06:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to complete operation. Error executing tool. Export Web Map : ConvertWebMapToArcGISProject() takes from 1 to 4 positional arguments but 5 w</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/unable-to-complete-operation-error-executing-tool/m-p/1479370#M39607</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/747054"&gt;@AnandChinnathambi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the Suggestion.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2024 08:48:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/unable-to-complete-operation-error-executing-tool/m-p/1479370#M39607</guid>
      <dc:creator>RamaRaomalisetti</dc:creator>
      <dc:date>2024-05-28T08:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to complete operation. Error executing tool. Export Web Map : ConvertWebMapToArcGISProject() takes from 1 to 4 positional arguments but 5 w</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/unable-to-complete-operation-error-executing-tool/m-p/1622480#M42389</link>
      <description>&lt;P&gt;Hi there, how did you get around the additional parameters that are not compatible with 11.1? Could you share your python script and/or some pictures? I tried making a copy of the tool as well but it is still not publishing correctly, not sure what I'm doing wrong.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2025 21:54:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/unable-to-complete-operation-error-executing-tool/m-p/1622480#M42389</guid>
      <dc:creator>DOTPGIS</dc:creator>
      <dc:date>2025-06-10T21:54:45Z</dc:date>
    </item>
  </channel>
</rss>

