Import MapServer Cache (Linux)

12-11-2016 02:45 PM
New Contributor

Dear Experts,

I've tried to run the

ImportMapServerCache_server (...)

function on CentOS Linux, but he WINE crashed with an unhandled error:

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


the cache was successfully imported by ArcCatalog, but now, I have to create Python scripts on the CentOS server.

Here is my Python code:

import arcpy

# Local variables: mapSrvc = "/home/arcgis/server/usr/directories/arcgissystem/arcgisinput/myServices/Szf_00_12_final.MapServer"

lyrs = "/mnt/data/mapproxy_cache/basemap_szekesfehervar_expl/Layers"

Output_Map_Service_URL = ""

# 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")

Any idea....? Is this the correct format of the mapservice argument?

Thx a lot...


0 Kudos
0 Replies