<?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 Import MapServer Cache (Linux) in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/import-mapserver-cache-linux/m-p/439131#M34476</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried to run the&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;ImportMapServerCache_server (...)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;function on CentOS Linux, but he WINE crashed with an unhandled error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;wine: Unhandled page fault on read access to 0x00000000 at address 0x151c5bb3 (thread 018b), starting debugger... Unhandled exception: page fault on read access to 0x00000000 in 64-bit code (0x00000000151c5bb3). fixme:dbghelp:interpret_function_table_entry PUSH_MACHFRAME 8&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;the cache was successfully imported by ArcCatalog, but now, I have to create Python scripts on the CentOS server.&lt;/P&gt;&lt;P&gt;Here is my&amp;nbsp;Python code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;import arcpy&lt;/P&gt;&lt;P&gt;# Local variables: mapSrvc = "/home/arcgis/server/usr/directories/arcgissystem/arcgisinput/myServices/Szf_00_12_final.MapServer"&lt;/P&gt;&lt;P&gt;lyrs = "/mnt/data/mapproxy_cache/basemap_szekesfehervar_expl/Layers"&lt;/P&gt;&lt;P&gt;Output_Map_Service_URL = ""&lt;/P&gt;&lt;P&gt;# Process: Import Map Server Cache arcpy.ImportMapServerCache_server(mapSrvc, "CACHE_DATASET", lyrs, "", "DO_NOT_UPLOAD", "4622324,614;2311162,3;1155581,152;577790,576;288895,288;144447,644;72223,822;36111,911;18055,955;9027,977;4513,988;2256,9944;1128,4972", "3", "", "", "OVERWRITE")&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea....? Is this&amp;nbsp;the correct format of the mapservice argument?&lt;/P&gt;&lt;P&gt;Thx a lot...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gabor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 11 Dec 2016 22:45:48 GMT</pubDate>
    <dc:creator>TimárGábor</dc:creator>
    <dc:date>2016-12-11T22:45:48Z</dc:date>
    <item>
      <title>Import MapServer Cache (Linux)</title>
      <link>https://community.esri.com/t5/python-questions/import-mapserver-cache-linux/m-p/439131#M34476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried to run the&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;ImportMapServerCache_server (...)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;function on CentOS Linux, but he WINE crashed with an unhandled error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;wine: Unhandled page fault on read access to 0x00000000 at address 0x151c5bb3 (thread 018b), starting debugger... Unhandled exception: page fault on read access to 0x00000000 in 64-bit code (0x00000000151c5bb3). fixme:dbghelp:interpret_function_table_entry PUSH_MACHFRAME 8&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;the cache was successfully imported by ArcCatalog, but now, I have to create Python scripts on the CentOS server.&lt;/P&gt;&lt;P&gt;Here is my&amp;nbsp;Python code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;import arcpy&lt;/P&gt;&lt;P&gt;# Local variables: mapSrvc = "/home/arcgis/server/usr/directories/arcgissystem/arcgisinput/myServices/Szf_00_12_final.MapServer"&lt;/P&gt;&lt;P&gt;lyrs = "/mnt/data/mapproxy_cache/basemap_szekesfehervar_expl/Layers"&lt;/P&gt;&lt;P&gt;Output_Map_Service_URL = ""&lt;/P&gt;&lt;P&gt;# Process: Import Map Server Cache arcpy.ImportMapServerCache_server(mapSrvc, "CACHE_DATASET", lyrs, "", "DO_NOT_UPLOAD", "4622324,614;2311162,3;1155581,152;577790,576;288895,288;144447,644;72223,822;36111,911;18055,955;9027,977;4513,988;2256,9944;1128,4972", "3", "", "", "OVERWRITE")&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea....? Is this&amp;nbsp;the correct format of the mapservice argument?&lt;/P&gt;&lt;P&gt;Thx a lot...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gabor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2016 22:45:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/import-mapserver-cache-linux/m-p/439131#M34476</guid>
      <dc:creator>TimárGábor</dc:creator>
      <dc:date>2016-12-11T22:45:48Z</dc:date>
    </item>
  </channel>
</rss>

