|
POST
|
We didnt make any changes to the tool that would produce results like that -- at least that I'm aware of. Can you either log a tech support case or take a sample of your data, zip it and attach it here and I'll look. thanks
... View more
01-26-2017
08:28 AM
|
1
|
0
|
2455
|
|
POST
|
I know there is some public facing bug site, but I dont know where it is. Here is some copy/pasted info from the bug: NIM101431 - New projects created from a project template have an extra folder connection that was the original project's home folder that shouldn't be present. The steps inside (that dont make much sense to me, I work in this area of the software, but I didnt log the issue) are as follows: 1. Create a new project from one of the system project templates, e.g. Global Scene 2. In the new project that is created, there are two folder connections: - the new project's home folder - "Global Scene": in the popup the location evaluates to "..\..\..\ProjectTemplateProjects\Global Scene"
... View more
01-18-2017
01:45 PM
|
1
|
0
|
1793
|
|
POST
|
NIM101431 is marked as fixed -- I think in Pro 1.1 or 1.2. I know for certain that its fixed in 1.3 and 1.4. If you're still seeing the issue, then either its a different issue, or we didn't fix the particular case/workflow you're experiencing. If you give it another try, and it looks to be a problem still, could you either provide your steps here or submit a tech support request?
... View more
01-18-2017
12:52 PM
|
2
|
3
|
1498
|
|
POST
|
I might be jumping in a little late here - and maybe I dont understand - why are you taking the 2 input X/Y values, writing them to a text file and sending that to the GP Service? I dont understand why you're putting the XY into the textfile. Is the goal to return a textfile to the end user, or as I understand it, pass the textfile to the service. If the service ultimately just needs the XY value, I think adding in a text file is just complicating it. You should still be able to achieve your workflow by passing the XY value to the GP Service.
... View more
01-17-2017
10:01 AM
|
1
|
1
|
399
|
|
POST
|
Michael, I've never experienced the software installing to that directory. I wonder if it has something to do with being an administrator (or not) or maybe a installing for a user vs. installing for all users? See the first note here about a reg key for "per user" : Download and install—ArcGIS Pro | ArcGIS Desktop
... View more
01-13-2017
10:04 AM
|
0
|
0
|
3059
|
|
POST
|
There are no actual blocks to prevent this from happening. And, as you've discovered, there are times when it may work. You're welcome to do it, but as you've read and know, the workflow is unsupported. Meaning if you continue in this configuration with GP Services and you experience something unexpected, TechSupport cannot help and you might not be able to do what you really want to do. We have a goal of closing this gap: meaning either the software will actually block the mis-matched versions + gp service publishing, or we allow the mis-matched versions but ensure the service you publish will work. Naturally the 2nd option would be the more desired one, but I cannot speak to when and what direction we'll go.
... View more
01-13-2017
09:53 AM
|
1
|
1
|
504
|
|
POST
|
Anna, I think you'll need to add a little more of your code to the question. My best guess is it cant find one of: 1) input MXD 2) output location for the .SDDRAFT file or 3) the .AGS connection file
... View more
01-13-2017
09:48 AM
|
0
|
0
|
1119
|
|
POST
|
Michael, Please see this help link, hopefully it'll clear up your questions: Python, conda, and ArcGIS Pro—ArcPy Get Started | ArcGIS Desktop In short, at 1.3/1.4 Python is handled for you with Conda.
... View more
01-13-2017
09:41 AM
|
1
|
2
|
3059
|
|
POST
|
I'm late to this, but if the goal is to simply remove the escaped chars, try: re.sub(r"\s", " ", my_dict['key1']) >> 'test is a string with some escaped characters such newlines' From the comment: string - Python - Why does str.strip() automatically removes all the escape characters? - Stack Overflow
... View more
01-05-2017
02:13 PM
|
0
|
1
|
1070
|
|
POST
|
I understand and hear your concerns over 2.x vs 3.x. Absolutely everything I write these days can work in 2.x or 3.x (syntactically speaking -not speaking for particular packages between versions). But thats "easy" for me to do because I have ArcMap and Pro on the same machine and find myself moving back and forth between the versions constantly, so I'm actively working on items that need to work in both versions. I sympathize with the people who are new to python, or write python infrequently, it can be a burden to understand the differences. Hopefully in time we can make this easier.
... View more
12-22-2016
07:33 AM
|
2
|
0
|
1422
|
|
POST
|
Dan, Absolutely zero promises about ArcMap moving to 3.x -- but it is a talked about idea. Don't take this to mean it'll happen, I'm just saying as an idea, it is not dead. This is probably the biggest concern about the 2.x line: Python 2.7 Countdown
... View more
12-22-2016
06:29 AM
|
0
|
1
|
1422
|
|
POST
|
How about you just have an empty featureclass already created and have that hardcoded in your model/script as project data. The append works off this data + the data the user supplies to the service. You cannot supply a workspace parameter to a tool in a GP Service. This will always become hardcoded.
... View more
12-16-2016
08:29 AM
|
0
|
1
|
2542
|
|
POST
|
Sergio, Based on the error - I'm going to guess you're using the tool in that directory, not the result. The only way you could test run this would be from that directory to drag the RLT into the results window -- this should also add data the the map, then you'd be able to run the tool inside the toolbox, or the result inside the Shared node of the result window. (You need to do this when you've used layers). The ServiceName\LayerA that the GP services expects is correct; the service internally changes this and knows where the data is. As I said, if you add the RLT to your session, you should see a GroupLayer\Layer Name in this way get added. If that layer is broken, you're on your way to identifying your issue. However I suspect this layer will connect fine. Without knowing much more about your situation, I'd go back and evaluate if you actually need the CreateFeatureClass tool. This tool can be tricky to use in a GP Service as it takes a workspace input parameter and creates derived output. Could you instead use another tool to achieve your goal, maybe CopyFeatures?
... View more
12-15-2016
01:59 PM
|
1
|
3
|
2542
|
|
POST
|
There is no maximum amount of memory the RuntimeLocalServer process can use. It depends on 2 things: 32bit/64bit and the tool being run. The RuntimeLocalServer process is the same process if you're using regular 32bit Background. In this case its bound by the operating system rules of about 3GBs. If you're using 64bit Background, then it could possible use as much RAM as you have on the system. Of course this is all tool dependent. Some tools no matter how big the dataset may only use a few hundred MBs, or other tools may want to use and load as much into the RAM as possible. Its hard to talk in absolutes, but generally the Intersect tool will make use or available RAM, thus you could see high utilization. If there actually is a memory leak the only thing you can do is bring down the .exe and start it back up again. Understand though, there may not actually be a memory leak here, it could just be the tool is trying to use as much memory as possible to get the job done. A leak would be more indicative if you run the tool start to finish and after it finishes the process still has GBs of memory. Having a few hundred MBs would be normal. But these are generalized statements, each case (computer, OS, version, data, etc) will have a different "correct" answer. I'd actually give this blog a read, I think its very relevant to what you're doing: Dicing Godzillas (features with too many vertices) | ArcGIS Blog Be successful overlaying large, complex datasets in Geoprocessing | ArcGIS Blog Tiled processing of large datasets—Help | ArcGIS for Desktop
... View more
12-12-2016
08:41 AM
|
0
|
0
|
830
|
|
POST
|
There are some tools/functions that make use of .AGS files. There is a big difference between "those tools" and the tools in the Administration toolkit. The built-in, system tools have access to all the internal workings of ArcGIS. The tools I've written in Python dont have the same level of 'arcgis' access. Simply put, the tools I wrote dont rely on ArcGIS/arcpy, and even if they did, they couldn't make use of a .AGS file to accomplish the end goal of 'administrative tasks' on the server. Those 'hooks' are not exposed in the software to 'python developers'. You're right about the stopped|started information being held somewhere. However the interaction with the tools and the server itself is very short lived. The tools only are aware and talk to the server during their execution. As such, any tool or script needs to get all the information from the server and perform the action during that session. So the tools I wrote would need to query the server, get that information, and then perform an appropriate action. The LIST script you reference is essentially the same code I have in the STOP | START | DELETE tool. This action of getting the services and their state needs to happen each time the tool is run. The idea James offers below is a great method of hiding credentials from plain view. It isn't 100% secure (really any solution that requires you to save credentials on the client machine isn't secure). But its better plain text!
... View more
08-05-2016
06:33 AM
|
1
|
0
|
1773
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-20-2023 06:37 AM | |
| 1 | 09-18-2025 07:07 AM | |
| 2 | 09-18-2025 06:52 AM | |
| 1 | 03-23-2023 12:07 PM | |
| 1 | 10-21-2024 12:40 PM |
| Online Status |
Offline
|
| Date Last Visited |
09-30-2025
06:25 AM
|