|
POST
|
Did you see this article? Problem: McAfee logs show that ArcGIS Server pkill.exe attempts to terminate McAfee processes Pkills is used to stop a process using PID. The EXE is here: C:\Program Files\ArcGIS\Server\bin\pkill.exe.
... View more
12-31-2019
09:30 AM
|
0
|
4
|
5235
|
|
POST
|
Just starting to read more about geoprocessing services myself. That's how I found this post....do you have an error/failure message? Could it be permissions? Service can't access database, or database not registered with server? Those things trip me up all the time.
... View more
12-30-2019
10:26 AM
|
0
|
0
|
2380
|
|
POST
|
Okay, i don't typically partake in troubleshooting discussions this deep below the surface (and yet so way above my head). But this thread is producing some "keeper" bits of information. Looks like your code fails at the use of seed() at _hexlify(). Never heard of it but when you compare random.py in 2.7 and 3.6 (my machine), you notice that hexlify shows up in 2.7... from __future__ import division
from warnings import warn as _warn
from types import MethodType as _MethodType, BuiltinMethodType as _BuiltinMethodType
from math import log as _log, exp as _exp, pi as _pi, e as _e, ceil as _ceil
from math import sqrt as _sqrt, acos as _acos, cos as _cos, sin as _sin
from os import urandom as _urandom
# =======================================
from binascii import hexlify as _hexlify
# =======================================
import hashlib as _hashlib but not in 3.6 from warnings import warn as _warn
from types import MethodType as _MethodType, BuiltinMethodType as _BuiltinMethodType
from math import log as _log, exp as _exp, pi as _pi, e as _e, ceil as _ceil
from math import sqrt as _sqrt, acos as _acos, cos as _cos, sin as _sin
from os import urandom as _urandom
from _collections_abc import Set as _Set, Sequence as _Sequence
from hashlib import sha512 as _sha512
import itertools as _itertools
import bisect as _bisect
So maybe you still have 2.x code searching for something in 3.x environment?
... View more
12-30-2019
08:01 AM
|
1
|
5
|
13191
|
|
POST
|
Sorry... I guess I didn't read your post correctly. I think with remote files you may be back to comparing dates if unable to download it. You can use things like urllib for that.
... View more
12-24-2019
08:41 AM
|
0
|
1
|
1214
|
|
POST
|
Sam, are you just trying to see if the files are the same? If so, how about doing something like: >>> import filecmp
>>> file1 = r"c:\temp\foo.txt"
>>> file2 = r"c:\temp\bar.txt"
>>> filecmp.cmp(file1, file2)
True
>>> Of course, you can't compare XLS and CSV, you'd have to be comparing apples to apples.
... View more
12-24-2019
08:14 AM
|
0
|
9
|
3150
|
|
POST
|
My suspicion first was that something didn't get registered correctly with GDB. I ran into that last week. Things that get created and registered, then deleted using non ArcGIS tools. Figured this was maybe some kind of orphaned object. But I can't imagine why it would even look at something that's a view. I'll search some more through forums. Really not a major issue if i can figure out how to skip that "bad" ones.
... View more
12-23-2019
02:10 PM
|
0
|
0
|
2602
|
|
POST
|
Everything in the script and about the other databases is the same, including DBO. The only thing that changes is the SDE connection file the script uses to connect.
... View more
12-23-2019
12:59 PM
|
0
|
5
|
2602
|
|
POST
|
Did you forget to comment out part of this line? out_folder = arcpy.GetParameterAsText(7) (folder or string path) Maybe... out_folder = arcpy.GetParameterAsText(7) # (folder or string path)
... View more
12-23-2019
09:34 AM
|
1
|
2
|
2353
|
|
POST
|
I have an SDE maintenance script that has been working flawlessly on a number databases. I recently added another DB to my maintenance list, and for this one, the script bombs during the "arcpy.RebuildIndexes_management" step. The error is: Could not rebuild indexes for dataset MYDB.dbo.myunsuspectingdatabaseView.[Operation Failed] It fails when encountering a view! Any idea under which circumstances that would happen? I have lots of views in my databases. While names don't always clearly indicate what's view (and I certainly wasn't the one to create them all), they can always be identified in SSMS under "view" or by the lower case "dbo" schema identifier (SQL Server). I have not run into this problem with views in any other database. Any idea what might be going on here? I suppose I could create some sort of exclusion list and skip these objects but I'd like to understand what the problem is.
... View more
12-23-2019
08:16 AM
|
0
|
7
|
2703
|
|
POST
|
I was wrestling with some of these same issues recently - have you made sure that your account has logon as services or batch job permissions on the server? In my case, I had also migrated code to Python 3.x that ships with pro. In that case, you now need to make sure that your service account has a Pro license ( is a named user in Portal). When you say "bombs", is there an error message somewhere?
... View more
12-23-2019
08:04 AM
|
0
|
0
|
3800
|
|
POST
|
A dusty thread but I still found this very helpful. While I recently completed one of the ESRI SDE classes to get more familiar with the data model, this was a good summary. I had one of those orphan table pop up in table_registry. As a check for others, I ran a quick:: select A.table_name, B.name
from SDE_table_registry A
left join
sys.tables B
on A.table_name = B.name
where b.name is NULL There can be any number of tables in your database (SQL Server in my case) but I'm thinking there shouldn't be anything in the registry tables that is not also in the system table.
... View more
12-20-2019
02:17 PM
|
1
|
1
|
5913
|
|
POST
|
Yes, the part about actually starting up Pro under the account that your script will run has tripped me up. Had it running beautifully on one server and then it didn't work on box #2. Well, I had never opened Pro under the login. So good point!
... View more
12-19-2019
03:26 PM
|
0
|
0
|
5805
|
|
POST
|
That was great. I will start sifting through all this tomorrow. Thanks for sharing your insights and making this mystery accessible!
... View more
12-19-2019
01:01 PM
|
0
|
0
|
4230
|
|
POST
|
That's great info, David - thanks for sharing the path to "SharingProcesses" (no pun intended).
... View more
12-19-2019
11:54 AM
|
0
|
5
|
5051
|
|
POST
|
Mark, what exactly do you mean by ... "...he option to overwrite is not there..." ? I'm assuming you're referring to 'OverWrite WebLayer" in the "Share As" pane? The only time I've seen it disabled or greyed out is when I'm not signed into Portal. But I've also run into issues with "OverWrite" not working when I'm trying to update (overwrite) a map services that was previously published through a script where I had specified a folder tor the Sd/Sddraft files, and then Pro has no idea where to find those. I don't know where Pro puts those files when publishing to AGS.
... View more
12-19-2019
10:34 AM
|
0
|
0
|
5051
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-16-2025 07:32 AM | |
| 1 | 02-09-2024 05:18 PM | |
| 1 | 02-04-2025 09:27 AM | |
| 1 | 03-22-2019 10:55 AM | |
| 1 | 03-05-2020 08:46 AM |
| Online Status |
Offline
|
| Date Last Visited |
a month ago
|