|
POST
|
OK. I'm thinking what should really matter is: Is there a way to manage these .dat files regardless of where they are going - i.e. specify a time length of how long to keep the files? I don't see anything ala logfile age specification...
... View more
01-08-2015
04:10 PM
|
0
|
3
|
2971
|
|
POST
|
Quick update, the folder was just recreated on the C:\ drive location. I guess I'll just have to monitor it, but that answers my question "I can't tell yet if the .dat files in the D:\arcgisserver\directories\arcgissystem\statistics folder are being updated". They obviously aren't....
... View more
01-08-2015
03:36 PM
|
0
|
5
|
2971
|
|
POST
|
I just tested this on my single machine dev environment and found that after copying the newly-created statistics folder from the (also newly-created) C:\arcgisserver\directories\arcgissystem folder to the D:\arcgisserver\directories\arcgissystem folder, and then deleting the C:\arcgisserver\directories\arcgissystem directories, that the C:\arcgisserver\directories\arcgissystem directory was recreated immediately- just as you all found - but not the statistics folder itself. Everything seems fine so far. Nothing else is being written into the C:\arcgisserver\directories\arcgissystem location, but I can't tell yet if the .dat files in the D:\arcgisserver\directories\arcgissystem\statistics folder are being updated. Not sure, but I didn't see a way to specify D:\arcgisserver\directories\arcgissystem\statistics folder at config time. Regardless, I'm not sure that I will want to move this folder when I update our 3 machine, 2 cluster production environment....
... View more
01-08-2015
03:33 PM
|
0
|
6
|
2971
|
|
POST
|
Hi Nick - In talking to customer support yesterday, I was told that ArcGIS for Windows Mobile for 10.3 is due for release in late January. My guess is that I don't think ESRI is trying to force everyone to collector, rather the Windows Mobile team probably didn't know or otherwise couldn't update Mobile until desktop was out - but again I'm just guessing. In the meantime, after upgrading my desktop to 10.3 I discovered that the CreateMobileCache_mobile desktop tool from the 10.2 mobile install does still function and produces a valid cache. However, the latest python 32-bit idle (2.7.8) will not run the command. I have not tested the SyncronizeMobileCache tool. I have not tested anything yet with the Mobile Content Server or Mobile Project Center but my guess is they will be unaffected. Word to the wise- do not re-install or attempt a repair of the mobile 10.2 install after installing desktop 10.3 - you will lose the desktop tool functionality- David Coley Sarasota County GIS
... View more
01-08-2015
08:23 AM
|
1
|
2
|
3234
|
|
POST
|
Hi Alexander- Yeah that's what I thought too, but alas no help. After repair, the script as run in the python 32-bit idle crashes python exe. I then performed a re-install of mobile 10.2. Upon load of the mobile toolbox, both the cache and sync tools are then unavailable. Customer service indicated that mobile at 10.2 just does not work well with desktop 10.3, and that mobile for 10.3 will be available late January. So until then I am going to consider this answered. For other users (and this would be better posted in the mobile place, which I will do) I would suggest that if you have mobile at 10.2 installed and you must move your desktop to 10.3, do not uninstall mobile. The install can be left in place, and that way users at least have access to the desktop tool, which does seem to continue to work. Thanks- David
... View more
01-07-2015
07:03 AM
|
0
|
0
|
836
|
|
POST
|
Hi all- Does anyone have a workaround for creating a mobile cache in the python 32-bit idle at 10.3 (i.e. at 2.7.8)? After updating to 10.3, the idle can no longer find the _mobile module installed with ArcGIS for Windows Mobile at 10.2, although the desktop tool Create Mobile Cache in 10.3 does run, suggesting that a registry key was deleted/modified? at install. Code below (running at info lic level) returns 'module not found for line 12': # Import system modules
import sys, string, os, arcpy, time, smtplib
from arcpy import env
# Local variables...
message = ""
current_time = time.asctime()
try:
mapDoc = r"\\servername\arcgisserver\data-store\MobileMaps\ARM360_QueryMap.mxd"
outFolder = r"\\machinename\MobileCacheTests\Arm360\Query Data Cache"
print mapDoc
print outFolder
arcpy.CreateMobileCache_mobile(mapDoc,outFolder,"","NO_ATTACHMENTS","")
except Exception, e:
# If an error occurred, print line number and error message
import traceback, sys
tb = sys.exc_info()[2]
message = message + "Line %i" % tb.tb_lineno
message = message + e.message
# Below is to send email message.
fromAddr = ""
#fromAddr = ""
toAddr = ["",""]
subject = "SCRIPT: Arm360QueryCache"
finish_time = time.asctime()
msgBody = current_time + "\n\n" + message + "\n" + "Thank you." + "\n\n" + finish_time
msg = string.join(("From: %s" %fromAddr, "To: %s" %toAddr, "Subject: %s" %subject, "", msgBody),"\r\n")
server = smtplib.SMTP("10.140.65.27")
server.set_debuglevel(1)
server.sendmail(fromAddr,toAddr,msg)
server.quit() Any ideas are appreciated... Thanks David David Coley Sarasota County GIS
... View more
01-05-2015
08:55 PM
|
0
|
2
|
4982
|
|
POST
|
Yes, arcgis is adding variables to the python scripts created in the v101 folder of the arcgisinput system directory, as well as copying over sde connection file(s) as is the case with the data extract tool. So to me it makes sense that arcgis would have to add a string variable to handle the change in location of the source connection. To me, if you are still having issues, then look to a share or security issue with your domain account and associated directories.
... View more
01-05-2015
10:42 AM
|
0
|
1
|
536
|
|
POST
|
Does esri add variables? I'm not sure what you mean
... View more
01-05-2015
08:19 AM
|
0
|
2
|
2362
|
|
POST
|
Brian, I'm sure you are already doing something similar, I always use sde connection files that are located in my data-store directory and never have issues publishing any type of services. In our distributed 3-machine 2-cluster architecture, our server directories are located on a file share server, where our domain arcgisserver account has read write access to all directories and all directories are shared. Under the data-store folder, we use a DataConnections folder to house sde connection files and file geodatabases, and a GpServices folder to store toolboxes and python scripts. This way I am always sure everything is in a shared location. I also use UNC paths and although server complains about that at analzye, I never then have any issues with a resource not being read or otherwise not being available to Server.....hope this helps David
... View more
12-31-2014
09:03 AM
|
0
|
4
|
2362
|
|
POST
|
I agree with Sarah on this - these directories are used to store machine-specific information ...
... View more
12-31-2014
06:38 AM
|
0
|
0
|
2971
|
|
POST
|
Hi Kelly, sorry for the delayed response (my workplace has geonet access issues). Yes the sample you provided will work, but not quite in the way I require, but it got me on the right track thanks very much. Here's what I did: At startup, the default state is active where the activateButton is listening for mouse clicks, so I deactivate it: directions.on("load", function(){
directions.deactivate();
}); Then, in order to disable the infoWindow I use a function that is hitched to the directions div on my index page: function disablePopup() {
if(directions.active){
mapMain.setInfoWindowOnClick(false);
}
else{
mapMain.setInfoWindowOnClick(true);
}
} //pass it to the index page
lang.setObject("disablePopup", disablePopup); <div id="dirPane" data-dojo-type="dijit/layout/AccordionPane" data-dojo-props="title: 'Route By Address', selected:false" onclick="disablePopup();"> where we control the popups based on the base widgets' active state when the div becomes active, which is essentially how I am handling the measure and draw tools as well when I need to prevent the infoWindow. For whatever reason I couldn't see same logic pattern here . . thanks again!
... View more
12-31-2014
06:22 AM
|
0
|
0
|
756
|
|
POST
|
Hi, can anyone tell me what the ActivateButton is aliased as? I'm referring to the same tool contained in the measurement dijit, where I disable my info window on click when one of the three measurement tools are active. Please forgive the lack of formatting here, I'm having to post this question from my cell phone. Thanks David
... View more
12-30-2014
09:31 AM
|
0
|
2
|
4666
|
|
POST
|
We copy features as well, and feature class to feature class to handle our spatial views as we found that xml workspace document export had trouble handling them. It's quite possible that has changed since 10.1.
... View more
12-30-2014
08:46 AM
|
0
|
0
|
4684
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-27-2026 01:27 PM | |
| 2 | 03-25-2026 06:29 AM | |
| 2 | 03-04-2026 11:14 AM | |
| 1 | 02-26-2026 09:46 AM | |
| 1 | 10-30-2025 11:25 AM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|