POST
|
Solved. The thing that was causing all of my wacky multiprocessing issues is ---> Cisco Secure Endpoint (formerly AMP for Endpoints)
... View more
05-12-2025
10:47 AM
|
1
|
1
|
387
|
POST
|
I have a number of Python/arcpy applications that use multiprocessing. Not all arcpy commands like to be multiprocessed but some do work. For example, I can create multiple processes that all "append" into the same SQLServer table from different sources simultaneously. With ArcGIS Pro v3.3.2 I am finding Python /arcpy applications that multiprocess that used work no longer do. The applications worked with v3.2.3. Is anybody else running into such issues? Test code below to demonstrate issue. I have installed ArcGIS Pro v3.3.2. The results can vary. - Run as is. The results should produce "<-- did something ..." statement 5 times. This should work. - Uncomment line #2 (from arcpy import Exists). Run app. I start to see issues here in that I no longer get 5 statements. Other errors can appear. - Uncomment line #3 (time.sleep(15)). Run app. Maybe this line helps sometimes\? - Uncomment line #9 (print(Exists("c:\dev\test-upgrade")). Run app. Errors. - Uncomment line #24 (# time.sleep(10)). Run app. In the past, I have used delays to get the new processes to spawn properly. ---------- ---------- ---------- ---------- import time # from arcpy import Exists # time.sleep(15) from multiprocessing import Process import random def do_something(title): print(" ---> do something", title) # print(Exists("c:\work\a-file-name")) time.sleep(random.randint(5, 15)) print(" <--- did something", title) def main(): to_process = [ "Albany", "Boston", "Chicago", "Detroit", "Emporia" ] procs = [] for item in to_process: print(" ===> process spawn: ", item) proc = Process(target = do_something, args = (item, )) proc.start() procs.append(proc) # time.sleep(10) for proc in procs: proc.join() if __name__ == '__main__': main() ---------- ---------- ---------- ----------
... View more
05-09-2025
08:39 AM
|
0
|
2
|
495
|
POST
|
I can confirm today that ReplaceWebLayer for vector tile packages does not work in AGOL. This looks like the bug: https://support.esri.com/en-us/bug/the-error-messages-error-000952-failed-to-execute-unabl-bug-000153049 I don't remember the version of AGOL but the command used to work a couple of years back.
... View more
07-24-2024
11:16 AM
|
0
|
0
|
1472
|
POST
|
@Tom_Laue For executing from Python on the desktop, it looks like the issue is that one needs to use arcgis (ArcGIS API for Python) v 2.3.0 which comes with ArcGIS Pro v3.3.0. I tried using Pro v3.1 and v3.2 which comes with arcgis v2.2.0.1. I am not familiar with cloning Python environments but I did try that with Pro v3.1 and v3.2 and then attempted to update the arcgis package but that did not help. It never upgraded out of v2.2.0.x
... View more
07-24-2024
06:17 AM
|
2
|
0
|
2970
|
POST
|
I too am seeing: TypeError: delete() got an unexpected keyword argument 'permanent' I had Python that was deleting items on AGOL and then copying up to AGOL updated like named items. After we turned on the recycle bin the copying up wasn't working anymore since the like named items were in the Recycle Bin. Found this thread but now seeing issues with the 'permanent' option. I am retrieving the item by name but have also retrieved it by item ID with the same results. Python 3.9.18 ArcGIS Pro 3.2.0
... View more
07-19-2024
05:29 AM
|
0
|
0
|
3055
|
POST
|
Say I am monitoring an ArcGIS Server's arcsoc.exe instance for CPU utilization and the CPU has 2 cores. Is the CPU utilization based on a single core or all cores?
... View more
05-25-2023
06:37 AM
|
0
|
1
|
1059
|
POST
|
Data metrics are being collected so I believe I am good.
... View more
05-22-2023
06:55 AM
|
1
|
0
|
1801
|
POST
|
No restarts on the servers. I actually noticed this yesterday afternoon sometime after I created the stacked bar chart. However, I am going to check with security to make sure something is not doing the blocking.
... View more
05-18-2023
10:07 AM
|
0
|
0
|
1498
|
POST
|
See attached bitmap of a stacked bar chart. I have made yellow marking in some of the areas where the "bar" seems to be missing pieces.
... View more
05-18-2023
06:56 AM
|
0
|
4
|
1545
|
POST
|
Can somebody tell me what their ArcGIS Monitor License page looks like? I don't' know how to tell if Monitor is properly licensed. Mine looks like see attachment.
... View more
05-16-2023
11:16 AM
|
0
|
2
|
1825
|
POST
|
I have installed Monitor onto our server and went through the Software Autorization for ArcGIS Monitor. I chose to enter an authorization number. I don't specifically recall the message at the end but it was not an error. Success. Succeeded. Something like that. Subsequently when I look on the MyEsri site it is showing that a license is being used. However, in Monitor when I look at the "License" page it is showing the Expiration Date in red as December 31, 1969. Also if I look at the Monitor logs it shows "Software authorization failed. Features will be disabled." I have one guess as to why I am having this issue and it is our security staff locks down ports and blocks connections between servers. Does ArcGIS Moitor need an open port to authotize the license? Call home so to speak. I already have 30443 open and it is communitcating with other servers I have installed the Monitor Agent onto. Thanks, Greg
... View more
05-15-2023
09:28 AM
|
1
|
3
|
1857
|
POST
|
Currently we are at v2.8.8. My recollection is we tried 2.6, 2.7 and 2.8 and they all exhibited the same issue.
... View more
12-19-2022
05:26 AM
|
0
|
0
|
1962
|
POST
|
I spent 6~8 weeks trying to figure out what was going on. I never imagined it was AntiVirus in that sometimes it worked, sometimes it didn't. I'm not a security person but if an AntiVirus says this exe is bad, why wouldn't it always be bad? From Task Scheduler we are executing batch files (.bat) that contain something like this: "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\python.exe" "c:\my_source_code\main.py" Thus, if one clones environments then the cloned python.exe will be located elsewhere and I presume will need to be whitelisted too. Carmen, I hope it turns out well.
... View more
12-15-2022
02:32 PM
|
0
|
2
|
1990
|
POST
|
We have determined that Cisco Amp was interfering with our Python / arcpy applications that were scheduled through Task Scheduler on our Windows Server 2019. Whitelisting C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\python.exe in Cisco Amp corrected the issue.
... View more
12-15-2022
12:43 PM
|
0
|
0
|
1996
|
Title | Kudos | Posted |
---|---|---|
1 | 05-12-2025 10:47 AM | |
2 | 07-24-2024 06:17 AM | |
1 | 05-22-2023 06:55 AM | |
1 | 05-15-2023 09:28 AM | |
1 | 10-07-2020 06:24 AM |
Online Status |
Offline
|
Date Last Visited |
05-12-2025
09:49 AM
|