{"action":"created","issue":{"url":"https://api.github.com/repos/Esri/product-on-demand/issues/9","repository_url":"https://api.github.com/repos/Esri/product-on-demand","labels_url":"https://api.github.com/repos/Esri/product-on-demand/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/Esri/product-on-demand/issues/9/comments","events_url":"https://api.github.com/repos/Esri/product-on-demand/issues/9/events","html_url":"https://github.com/Esri/product-on-demand/issues/9","id":115074468,"number":9,"title":"Gateway fails when 2 products have a Map Generation script with the same file name.","user":{"login":"jsheffieldESRI","id":7462159,"avatar_url":"https://avatars.githubusercontent.com/u/7462159?v=3","gravatar_id":"","url":"https://api.github.com/users/jsheffieldESRI","html_url":"https://github.com/jsheffieldESRI","followers_url":"https://api.github.com/users/jsheffieldESRI/followers","following_url":"https://api.github.com/users/jsheffieldESRI/following{/other_user}","gists_url":"https://api.github.com/users/jsheffieldESRI/gists{/gist_id}","starred_url":"https://api.github.com/users/jsheffieldESRI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsheffieldESRI/subscriptions","organizations_url":"https://api.github.com/users/jsheffieldESRI/orgs","repos_url":"https://api.github.com/users/jsheffieldESRI/repos","events_url":"https://api.github.com/users/jsheffieldESRI/events{/privacy}","received_events_url":"https://api.github.com/users/jsheffieldESRI/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-04T15:11:55Z","updated_at":"2016-04-07T07:31:27Z","closed_at":null,"body":"When 2 products have a Map Generation script with the same name we will occasionally get this error:\r\n\r\nError executing tool. Gateway Job ID: jc4b1914052a141f09dd7ffcfda548155 : The toolbox file D:\\arcgisserver\\MCS_POD\\Products\\US Topo No Imagery\\USGS_POD_MapGenerator.pyt was not found. Traceback info: File \"\", line 136, in execute Failed to execute (Gateway). Failed to execute (Gateway).\r\n\r\nRestarting the Gateway GP service works in the short term, the error will then come back eventually.\r\n\r\nI don't know if this is ArcGIS Server issue or a Gateway bug.  We need to investigate further to determine the cause."},"comment":{"url":"https://api.github.com/repos/Esri/product-on-demand/issues/comments/206738027","html_url":"https://github.com/Esri/product-on-demand/issues/9#issuecomment-206738027","issue_url":"https://api.github.com/repos/Esri/product-on-demand/issues/9","id":206738027,"user":{"login":"jsheffieldESRI","id":7462159,"avatar_url":"https://avatars.githubusercontent.com/u/7462159?v=3","gravatar_id":"","url":"https://api.github.com/users/jsheffieldESRI","html_url":"https://github.com/jsheffieldESRI","followers_url":"https://api.github.com/users/jsheffieldESRI/followers","following_url":"https://api.github.com/users/jsheffieldESRI/following{/other_user}","gists_url":"https://api.github.com/users/jsheffieldESRI/gists{/gist_id}","starred_url":"https://api.github.com/users/jsheffieldESRI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsheffieldESRI/subscriptions","organizations_url":"https://api.github.com/users/jsheffieldESRI/orgs","repos_url":"https://api.github.com/users/jsheffieldESRI/repos","events_url":"https://api.github.com/users/jsheffieldESRI/events{/privacy}","received_events_url":"https://api.github.com/users/jsheffieldESRI/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T07:31:27Z","updated_at":"2016-04-07T07:31:27Z","body":"Amy\r\n\r\nDo you have the Esri Production Mapping for Server extension installed on your ArcGIS Server?  This is most likely the cause.  This is a separate extension and needs to be installed separately from ArcGIS Server.\r\n\r\nAs far as the Calculators  Service is concerned we did make a change and all of the tools are within 1 service now.\r\n\r\nOn the Fixed 25K Product, you are correct.\r\n\r\nPlease check you install and let me know if you have the Esri Production Mapping for Server extension installed.\r\n\r\nThanks\r\nJoe Sheffield\r\n\r\nFrom: hsjuc [mailto:notifications@github.com]\r\nSent: Thursday, April 7, 2016 4:49 AM\r\nTo: Esri/product-on-demand <product-on-demand@noreply.github.com>\r\nCc: Joseph Sheffield <JSheffield@esri.com>\r\nSubject: Re: [Esri/product-on-demand] Gateway fails when 2 products have a Map Generation script with the same file name. (#9)\r\n\r\n\r\nHi,\r\nI'm trying to set up the POD sample app. I get this error too.\r\n\r\nError executing tool. Gateway Job ID: j5997ea1deca7451f82641cef9fdb4274 : The toolbox file \\WINSVR2012STD\\arcgisserver\\MCS_POD\\Products\\Fixed 25K\\Fixed_MapGenerator.pyt was not found. Traceback info: File \"\", line 136, in execute Failed to execute (Gateway). Failed to execute (Gateway).\r\n\r\nThis error only occurs to Fixed 25K product. Restarting the Gateway GP service doesn't work.\r\n\r\nThe actual files I downloaded are a little bit different from the POD Deployment Guide document.\r\n1. Calculators service\r\nIn the document (page 9),four REST endpoints are listed(CalculateExtent, CalculateScale, CalculatePageSize, and CalculateStripMap). However, I publish the Calculator.sd file and I only have three tasks in Calculators service. CalculateStripMap is missing. Is this the latest Calculator.sd file?\r\n\r\n  1.  Fixed 25K product I follow the CTM POD setup document to setup Fixed 25K product sample. There are no Map Generator Python toolbox files under ~\\CTM-master\\Fixed 25K \\Cartography\\MapGeneration folder. The actual files are under ~\\CTM-master\\MapGeneration folder, named Fixed_MapGenerator.pyt, Fixed_MapGenerator.pyt.xml, and Fixed_MapGenerator.MapGenerator.pyt.xml. So I copy them to ~\\arcgisserver\\MCS_POD\\Products\\Fixed 25K folder and modify makeMapScript attribute to \"Fixed_MapGenerator.pyt\" for Fixed25KTable in the podconfig.js file. Am I using the correct Python toolbox files for Fixed 25K product?\r\n\r\nDoes the Map Generator Python toolbox setup related to the error? I restart the Gateway GP service after modifying podconfig.js, but still doesn't work.\r\n\r\nBest Regards,\r\nAmy\r\n\r\n—\r\nYou are receiving this because you authored the thread.\r\nReply to this email directly or view it on GitHub<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Esri_product-2Don-2Ddemand_issues_9-23issuecomment-2D206668066&d=CwMCaQ&c=n6-cguzQvX_tUIrZOS_4Og&r=jEBowKiPZTOWIX_7JhM-_68M3NT0ggOswponMY4aGt4&m=XA4TKkT6mgfPg3L9BzrGnuifRaZ4zMAj7b5-a99Xb6o&s=hcRrjbux7KHKuHOGvFT6Ekh7VKYfJKYZWfBOvPMIE5o&e=>\r\n"}}