|
POST
|
I am running this command in a python script arcpy.ExportTileCache_management(unzipedTPK, pathTPK, justfilenameTPK, "TILE_PACKAGE", "#", "#", boundryFile) It works fine if I run it in PyScripter. It also runs fine if I run it from a batch file. But if I schedule that batch file with Task Scheduler it dies with this error. ExecuteError: ERROR 001132: Failed to export cache ERROR 001485: Failed to create tile package : \\hnrgad\vancouver\GISFiles\Projects\MobileMap Data\CurrentBuilds\BC\TPK\BCSettings.tpk Failed to execute (ExportTileCache). I found old bugs that it does not pick of the user correctly but nothing that is recent. It seems to die on trying to create a subdir. It will create the main names dir and conf.cdi, conf.properties, and conf.xml but not anything else. The task seems fine and has rights in every other part of the script (runs Create Tile Package to same location fine). The user is in the Admin group. Any ideas? 10.3, Windows 7 Enterprise Thanks
... View more
03-23-2015
11:37 AM
|
0
|
2
|
5425
|
|
POST
|
I am trying to figure out how to set the default style of a python addin (add-in) button so that it shows both the text and image icon. It will only show the icon until I manually change it to Image and Text in customize. I found this in the forum but it does nothing. showCaption="true" Thanks
... View more
02-18-2015
01:27 PM
|
0
|
0
|
4246
|
|
POST
|
I found deep inside the map that 2 layers were accessing the same FC but with different definition queries. It works now. Thanks a lot.
... View more
01-16-2015
03:13 PM
|
0
|
1
|
4760
|
|
POST
|
I have a map with about 15 layers on it that are all part of a single feature service. All point to a single sql db. I can see and edit all of them in a webmap no problem. When I try to download the map in Collector I get this error "The map failed to download with the message: Failed to create replica. Multiple layers are referencing a dataset, which is not supported" Also note the download stays in the android notification bar forever Tried using ArcGIS Online and Portal 10.3 (and server 10.3). I made a new map with just one of these layers and it works fine. I am pointing to the exact same Feature Service just using a /10. I can find nothing in the help or here on this. I think it means I can only have one editable layer in a map when going offline. But that seems strange. Not a very useful app if I can only edit one thing. Is there any documentation on this? I would like to know how to work around it or what all my limits are. Do I need to publish one layer per feature service (and if I do can I add multiple feature services to a map then download) or have one feature service and the rest map service? Thanks
... View more
01-16-2015
02:33 PM
|
1
|
11
|
11049
|
|
POST
|
We had a checkout replica go corrupt on us and just seeing if anyone had any info. The replica disappeared off the list on both the check out and the db it was checked out from - even though no one was trying to check it in. A table showed up in the checkout GeoDB called ORG_NameofFC where NameofFC was the name of the only FC in the GeoDB. This table had 108 records in it that seemed to be random - main FC has 6,650 records. They did not line up at all with the changes that had been made in the checkout nor were they recent data at all. The only thing I have found searching is that ORG_ tables should be system tables. This user has been using checkouts and checkins 6+ times in the last few weeks with no issues. But again they were not even trying to check in. The replica log shows nothing on that day. Any info on any logs, properties, or anything else I can look at to track it down would be great. Thanks
... View more
08-22-2014
10:12 AM
|
0
|
0
|
3640
|
|
POST
|
Is there a way to find the relative replica of a replica in a script? Synchronize Changes tool needs the name of the relative to sync to. Instead of having the user pick I want to find it myself. When running the Synchronize Changes tool through a right click it seems to know where the relative is - even though you can change it, it does default to the correct location. I can not find any properties that tell me this. Where is it getting this value and how can i get it? ListReplicas gives me the name of the replica but not where the check out replica came from. Any ideas? --------------------- code replica_gdb2 = ??? arcpy.SynchronizeChanges_management(replica_gdb1, replica_name, replica_gdb2, sync_direction, conflict_policy, conflict_detection, reconcile) Thanks
... View more
07-02-2014
09:32 AM
|
0
|
0
|
945
|
|
POST
|
Just make sure if you are going to use it offline that the tablet has a GPS in it. Some of the cheap ones do not. We picked up Samsung Tab 2s on closeout for 129 bucks. Work great.
... View more
06-17-2014
11:29 AM
|
0
|
0
|
1223
|
|
POST
|
They are not separate basemaps -both the Topo and imagery wrapped up into one tpk file. Does this not work? Thanks
... View more
04-29-2014
01:32 PM
|
0
|
0
|
1068
|
|
POST
|
But it is not a different basemap it is all one big TPK. It just switches from topo to imagery but is all packaged into one file. Does it just ignore the scale stuff? Thanks
... View more
04-29-2014
12:20 PM
|
0
|
0
|
1068
|
|
POST
|
We have a large 9 gb TPK that we have been using with another mobile app. It has scale dependencies where when zoomed out it gives a topo and then when zoomed in it gives our own imagery. Works great in other app. In collector I can side load it and select it as a basemap fine. But when I zoom in it never changes to the imagery. Stays with a now rather blurry topo. My web map is set to a basemap of imagery so I know it is using it, it will just not change when zooming. Should this work or is it not supported? Thanks
... View more
04-29-2014
11:25 AM
|
0
|
4
|
2799
|
|
POST
|
The simple map with just 2 rasters worked. Looks like it does not like Raster Catalogs yet again. Initial tests look like Mosaic Datasets does work. I still am creating a full copy of all 100+ rasters in a Mosaic Dataset to check. Also i just upgraded to 10.2.1 (desktop and server) and some things changed. The Raster Catalog colors no longer go weird but instead in the middle of the slider it changes to a poly box. The first raster in the Mosaic Dataset seems to now display the first raster (but more testing is needed). Will report back. Thanks a lot.
... View more
01-22-2014
10:13 AM
|
0
|
0
|
5909
|
|
POST
|
No it does not work within arcmap through a connection. Just says Submitting, Executing, Failed in the results window. It is a Model in a toolbox. The Model just has one tool - the SA Minus. i should add that it does list a Map Service with the same name as geoprocessing but it is blank (can not click on it, no content). Thanks
... View more
01-16-2014
12:46 PM
|
0
|
0
|
5909
|
|
POST
|
Thanks. Where is the setting for allowing a service to be created? I dug through every setting in the server and do not see it. No I have not tried any other tool. Its just a test server. My model is just one tool (minus) so i could not really make it any simpler. I turned on debug log but still the only error listed at all is the one i posted. All else seems to work fine. Log from just 1 run of the tool is below. Thanks a lot. Level Time Message Source DEBUG Jan 16, 2014, 4:13:55 PM Time (ms): 14 (/arcgis/rest/services/Baseline7/GPServer/Baseline/jobs/j4c23f12ed46f49828a15a5f0f1a342ff) Rest DEBUG Jan 16, 2014, 4:13:55 PM Got Response: (Baseline7, GPServer) Rest DEBUG Jan 16, 2014, 4:13:55 PM Posting response from worker thread. Server FINE Jan 16, 2014, 4:13:55 PM REST request successfully processed. Response size is 282 characters. Baseline7.GPServer FINE Jan 16, 2014, 4:13:55 PM REST request received. Request size is 21 characters. Baseline7.GPServer DEBUG Jan 16, 2014, 4:13:55 PM Request received in worker thread. Server DEBUG Jan 16, 2014, 4:13:55 PM Waiting for response from worker thread - Baseline7.GPServer. Server DEBUG Jan 16, 2014, 4:13:55 PM Sending request to worker thread - Baseline7.GPServer. Server DEBUG Jan 16, 2014, 4:13:55 PM Delegating request to GPServer - Baseline7.GPServer. Server DEBUG Jan 16, 2014, 4:13:55 PM Request type = - Baseline7.GPServer. Server DEBUG Jan 16, 2014, 4:13:55 PM Got Service: (Baseline7, GPServer) Rest DEBUG Jan 16, 2014, 4:13:55 PM Handling request: (Baseline7, GPServer) Rest DEBUG Jan 16, 2014, 4:13:55 PM Cache HIT: gpserver:Baseline7 Rest DEBUG Jan 16, 2014, 4:13:55 PM In gpjob Rest DEBUG Jan 16, 2014, 4:13:55 PM Cache HIT: gpserver:Baseline7 Rest DEBUG Jan 16, 2014, 4:13:55 PM Handler: GPJobHandler Rest DEBUG Jan 16, 2014, 4:13:55 PM In AdminSecurityPreHandler Rest INFO Jan 16, 2014, 4:13:55 PM Request user: Anonymous user, Service: Baseline7/GPServer Rest DEBUG Jan 16, 2014, 4:13:55 PM Cache HIT: com.esri.discovery.app.security.DiscoverySecurity Rest DEBUG Jan 16, 2014, 4:13:55 PM ARCGIS_TOKEN Authentication, Token is not available in the request, request is treated as anonymous Server DEBUG Jan 16, 2014, 4:13:55 PM Cache HIT: folder:/ Rest DEBUG Jan 16, 2014, 4:13:55 PM Cache HIT: WebContextURL Rest DEBUG Jan 16, 2014, 4:13:55 PM Cache HIT: Discovery.CustomServerObjectTokens Rest DEBUG Jan 16, 2014, 4:13:55 PM In RServlet Rest VERBOSE Jan 16, 2014, 4:13:52 PM Load job j4c23f12ed46f49828a15a5f0f1a342ff message type REST message size 122 Baseline7.GPServer VERBOSE Jan 16, 2014, 4:13:52 PM Load job j4c23f12ed46f49828a15a5f0f1a342ff message type REST message size 122 Baseline7.GPServer VERBOSE Jan 16, 2014, 4:13:52 PM GPServerSync.Deactivate Baseline7.GPServer FINE Jan 16, 2014, 4:13:52 PM String request successfully processed. Response size is 378 characters. Baseline7.GPServer VERBOSE Jan 16, 2014, 4:13:52 PM Save job j4c23f12ed46f49828a15a5f0f1a342ff message type REST message size 378 Baseline7.GPServer DEBUG Jan 16, 2014, 4:13:52 PM Posting response from worker thread. Server SEVERE Jan 16, 2014, 4:13:52 PM Error executing tool. Baseline7.GPServer SEVERE Jan 16, 2014, 4:13:52 PM ERROR 010414: Error in creating a Raster from a geodataset. Failed to execute (Minus). Failed to execute (Baseline). Failed to execute (Baseline). Baseline7.GPServer VERBOSE Jan 16, 2014, 4:13:52 PM Execute job j4c23f12ed46f49828a15a5f0f1a342ff Baseline7.GPServer DEBUG Jan 16, 2014, 4:13:52 PM Time (ms): 20 (/arcgis/rest/info) Rest DEBUG Jan 16, 2014, 4:13:52 PM Cache HIT: com.esri.discovery.app.security.DiscoverySecurity Rest DEBUG Jan 16, 2014, 4:13:52 PM Handler: InfoHandler Rest DEBUG Jan 16, 2014, 4:13:52 PM In AdminSecurityPreHandler Rest DEBUG Jan 16, 2014, 4:13:52 PM Cache HIT: WebContextURL Rest DEBUG Jan 16, 2014, 4:13:52 PM Cache HIT: Discovery.CustomServerObjectTokens Rest DEBUG Jan 16, 2014, 4:13:52 PM In RServlet Rest DEBUG Jan 16, 2014, 4:13:51 PM e:\arcgisserver\directories\arcgisjobs\baseline7_gpserver\j4c23f12ed46f49828a15a5f0f1a342ff\scratch Baseline7.GPServer DEBUG Jan 16, 2014, 4:13:51 PM Create directory succeeded: e:\arcgisserver\directories\arcgisjobs\baseline7_gpserver\j4c23f12ed46f49828a15a5f0f1a342ff\scratch Baseline7.GPServer VERBOSE Jan 16, 2014, 4:13:51 PM Load job message type REST message size 122 Baseline7.GPServer DEBUG Jan 16, 2014, 4:13:51 PM Job Directory: e:\arcgisserver\directories\arcgisjobs\baseline7_gpserver\j4c23f12ed46f49828a15a5f0f1a342ff Baseline7.GPServer FINE Jan 16, 2014, 4:13:51 PM String request received. Request size is 433 characters. Baseline7.GPServer VERBOSE Jan 16, 2014, 4:13:51 PM GPServerSync.Activate Baseline7.GPServer DEBUG Jan 16, 2014, 4:13:51 PM Setting job information in server environment. Server DEBUG Jan 16, 2014, 4:13:51 PM Updating log level from VERBOSE to DEBUG Server DEBUG Jan 16, 2014, 4:13:51 PM Request received in worker thread. Server DEBUG Jan 16, 2014, 4:13:51 PM Waiting for response from worker thread - Baseline7.GPServer. Server DEBUG Jan 16, 2014, 4:13:51 PM Sending request to worker thread - Baseline7.GPServer. Server DEBUG Jan 16, 2014, 4:13:51 PM Looking up GPServerSync object by name 'esri/services/GPServerSync/Baseline7'. Server DEBUG Jan 16, 2014, 4:13:51 PM Time (ms): 25 (/arcgis/rest/services/Baseline7/GPServer/Baseline/submitJob) Rest DEBUG Jan 16, 2014, 4:13:51 PM Got Response: (Baseline7, GPServer) Rest DEBUG Jan 16, 2014, 4:13:51 PM Submitting job with ID 'j4c23f12ed46f49828a15a5f0f1a342ff' - Baseline7.GPServer. Server DEBUG Jan 16, 2014, 4:13:51 PM Created new job ID 'j4c23f12ed46f49828a15a5f0f1a342ff' for request - Baseline7.GPServer. Server DEBUG Jan 16, 2014, 4:13:51 PM Posting response from worker thread. Server FINE Jan 16, 2014, 4:13:51 PM REST request successfully processed. Response size is 75 characters. Baseline7.GPServer VERBOSE Jan 16, 2014, 4:13:51 PM Job j4c23f12ed46f49828a15a5f0f1a342ff is successfully submitted. Baseline7.GPServer FINE Jan 16, 2014, 4:13:51 PM REST request received. Request size is 122 characters. Baseline7.GPServer DEBUG Jan 16, 2014, 4:13:51 PM Updating log level from VERBOSE to DEBUG Server DEBUG Jan 16, 2014, 4:13:51 PM Request received in worker thread. Server DEBUG Jan 16, 2014, 4:13:51 PM Waiting for response from worker thread - Baseline7.GPServer. Server DEBUG Jan 16, 2014, 4:13:51 PM Sending request to worker thread - Baseline7.GPServer. Server DEBUG Jan 16, 2014, 4:13:51 PM This is a SUBMIT_JOB request. Request is pre-processed by GPServer - Baseline7.GPServer. Server DEBUG Jan 16, 2014, 4:13:51 PM Request type = submitJob - Baseline7.GPServer. Server DEBUG Jan 16, 2014, 4:13:51 PM Got Service: (Baseline7, GPServer) Rest DEBUG Jan 16, 2014, 4:13:51 PM Handling request: (Baseline7, GPServer) Rest DEBUG Jan 16, 2014, 4:13:51 PM Cache HIT: gpserver:Baseline7 Rest DEBUG Jan 16, 2014, 4:13:51 PM In submitJob Rest DEBUG Jan 16, 2014, 4:13:51 PM Cache HIT: gpserver:Baseline7 Rest DEBUG Jan 16, 2014, 4:13:51 PM Handler: GPTaskHandler Rest DEBUG Jan 16, 2014, 4:13:51 PM In AdminSecurityPreHandler Rest INFO Jan 16, 2014, 4:13:51 PM Request user: Anonymous user, Service: Baseline7/GPServer Rest DEBUG Jan 16, 2014, 4:13:51 PM Cache HIT: com.esri.discovery.app.security.DiscoverySecurity Rest DEBUG Jan 16, 2014, 4:13:51 PM ARCGIS_TOKEN Authentication, Token is not available in the request, request is treated as anonymous Server DEBUG Jan 16, 2014, 4:13:51 PM Cache HIT: folder:/ Rest DEBUG Jan 16, 2014, 4:13:51 PM Cache HIT: WebContextURL Rest DEBUG Jan 16, 2014, 4:13:51 PM Cache HIT: Discovery.CustomServerObjectTokens Rest DEBUG Jan 16, 2014, 4:13:51 PM In RServlet Rest
... View more
01-16-2014
11:20 AM
|
0
|
0
|
5909
|
|
POST
|
I have a simple geoprcessing tool running the Minus tool with a .tif output. In the output parameters of the service if I leave the View result as a Map Service unchecked it runs fine and gives me back a link to the result .tif as show here. [ATTACH=CONFIG]30526[/ATTACH] But I want the output to the map. But when I check the View result as a Map Service box I get a error in Flex and in the server logs as show here. The server is yelling about the inputs but it works fine not as a map service. [ATTACH=CONFIG]30527[/ATTACH] [ATTACH=CONFIG]30528[/ATTACH] I have tried every kind of option check and uncheck I can think of. I think my settings are correct on the Desktop side and the model side since it does work as a link. But still i tried all types of parameter and output vars and settings with no luck. It does not have to be a tif out but even when i give a grid as output it still gives me a tif anyways. I have also tried the View as Output checkbox in the Flex Geoprocessing widget on and off. These layers are part of a raster catalog connected to the time slider if that makes any diff (but again the link works fine). Any input would be great, i am out of ideas. No the map is not public, I can not do that. I am using 10.2 Desktop and Server and Flex 3.6. Using the app builder for this simple test. Thanks a lot
... View more
01-15-2014
07:45 AM
|
0
|
8
|
9754
|
|
POST
|
You can get the parent and then check the visibility of the parent i think.
... View more
09-30-2013
07:32 AM
|
0
|
0
|
660
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 2 | 3 weeks ago | |
| 1 | 4 weeks ago | |
| 1 | a month ago | |
| 2 | 03-23-2026 03:44 PM |
| Online Status |
Offline
|
| Date Last Visited |
14 hours ago
|