POST
|
Hi @JoelRogers! It should be showing the last login date. Can you provide the following: When did you start seeing this issue? How was the user created? How did they sign in? What kind of identity provider do they have? Both the interface and Python API show "Never" for these users? Thanks!
... View more
12-19-2022
06:37 AM
|
0
|
2
|
1190
|
POST
|
Hey William Craft! Have you tried running the python 2 portions of the script in ArcMap's python window or in IDLE that comes with the Python2.7 install with Desktop? That could help you determine if it is a problem with python 3 or python 2.7. The other thing you could do is add a simplistic logging system within the script to record where things are failing. This always helps me narrow down if it is my code or the setup I'm running the script in. Below is my favorite logging system to add to scripts which I've added to yours as an example. Note: You could instead of using the script file location in the create_log function hard code a path in the location variable. import subprocess, os, winreg, arcpy
import os.path, sys
from time import localtime, strftime
def create_log(name, headers=None, ftype=".txt", subfolder=None):
location = sys.path[0]
if subfolder is not None:
location = os.path.join(sys.path[0], subfolder)
time_setup = strftime("%m_%d_%Y", localtime())
logfile = os.path.join(location, name + "_" + time_setup + ftype)
if not os.path.exists(logfile):
f = open(logfile, 'wb')
if headers is not None:
f.write(headers)
f.write("\n")
f.close()
return logfile
def Log(logfile, message):
f = open(logfile, 'ab')
f.write(message)
f.write("\n")
f.close()
def main():
logfile = create_log("Monitor", subfolder="Monitor_Logs")
Log(logfile, "{} Created Log.\n".format(strftime("%m_%d_%Y_%H:%M:%S", localtime())))
try:
arcpy.AddMessage("Finding Python 2.7 installation directory...")
Log(logfile, "Finding python 2.7 installation directory")
hKey = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, "SOFTWARE\\WOW6432Node\\Python\\PythonCore\\2.7\\InstallPath")
result = winreg.QueryValueEx(hKey, "")[0]
except:
arcpy.AddWarning("Python 2.7 installation directory was not found.")
Log(logfile, "Python 2.7 installation directory was not found.")
arcpy.AddError("Script failed.")
sys.exit()
if os.path.exists(result + "\\python.exe"):
arcpy.AddMessage("Launching Python 2.7 executable...")
Log(logfile, "Launching Python 2.7 executable...")
CREATE_NO_WINDOW = 0x8000000
process = subprocess.Popen([result + "\\python.exe", "C:\\temp\\python\\ListMXDDataSources.py"], stdout=subprocess.PIPE, stderr=subprocess.PIPE, creationflags = CREATE_NO_WINDOW, shell=True, stdin=None)
stdout, stderr = process.communicate()
arcpy.AddMessage('{}'.format(stdout.decode("utf-8")))
Log(logfile,'{}'.format(stdout.decode("utf-8")))
arcpy.AddWarning('{}'.format(stderr.decode("utf-8"))
if __name__ == '__main__':
main()
... View more
12-27-2019
01:07 PM
|
1
|
11
|
10011
|
BLOG
|
Hi Markus Ruottinen! Thanks for reporting that! We've checked the service and it should be responding correctly now. Please post again or submit a support case if there are any further access problems with the service or questions about the TLS changes.
... View more
02-04-2019
09:12 AM
|
0
|
0
|
1784
|
POST
|
Hey Tom Rippetoe! I saw Kelly Gerrow's message here. We have logged a bug for this: BUG-000113512 Unable to create new features in a Hosted Feature Service that has a field with the unique constraint if a feature was added without a value in the constrained field. It should appear on our support.esri.com in a couple days and/or if you submit a Case to Support Services we can attach you to it for additional tracking. Thanks! Stephanie
... View more
04-26-2018
12:54 PM
|
1
|
0
|
1092
|
POST
|
Hello again, Everyone! The team has identified an issue and will be patching tonight. Feel free to contact support for more details. Thanks!
... View more
12-18-2017
01:35 PM
|
1
|
0
|
756
|
POST
|
Hey Everyone! The team was able to identify an issue and will be patching tonight. Feel free to contact support for more details.
... View more
12-18-2017
01:33 PM
|
1
|
0
|
1936
|
POST
|
Hi Everyone! We've receive reports of this into Tech Support. Our development team is looking into it. Please feel free to also submit a support case. I will try to post back here with more information when we have it. Thanks!
... View more
12-18-2017
10:57 AM
|
1
|
1
|
756
|
POST
|
Thanks again for working with us through a Support Case to narrow down the issue, Mary Ellen Perko! For any others running into the issue, we were able to log a bug which you can follow here: BUG-000107006: When adding map services with domains to the Map Vie.. Thanks again!
... View more
08-07-2017
06:06 AM
|
0
|
0
|
1227
|
POST
|
Thanks for sharing those Mary Ellen Perko! I think this might have something to do with the domains on some of your fields. I can reproduce this with CommercialDamageAssessment (MapServer) on our sample server. I think this is probably a bug. As a workaround, you can add the service at the layer level to see the fields in the arcade expression builder to build what you need to see but that does mean you'd have to add the layers individually instead of at the service level. I'm going to contact via private message about getting you a case with Support so we can investigate fully and get you attached to a bug for this.
... View more
07-26-2017
07:05 AM
|
0
|
2
|
1227
|
POST
|
Hey Mary Ellen Perko! Do you happen to have group layers in your map service? Similar to this setup: Water_Network_Base_Map (MapServer)
... View more
07-26-2017
06:34 AM
|
0
|
4
|
1227
|
POST
|
Hi sumamulpuru! We saw an occurrence of this yesterday morning but the team was able to address it. Are you still having issues publishing and/or running the analysis tool? Thanks!
... View more
04-27-2017
05:46 AM
|
0
|
0
|
369
|
POST
|
Hi petr_home, gaelangu, and inovaaalmeida! Thanks for reporting this! Can you all try publishing again? Our team believes they were able to resolve the issue yesterday. If it's still a problem, please reply back to this post. Thanks! Stephanie
... View more
04-26-2017
05:46 AM
|
0
|
0
|
369
|
POST
|
Hey Alistair Fox! If you're getting a 504 Gateway timeout error, you're dataset is probably too large to process as a sync request (which is the default) before it times out. Instead you'll want to run this as an async request. Try setting the async parameter to true. See more info in the help on the create replica call here: arcgis.features.managers module — arcgis 1.0.1 documentation Thanks! Stephanie
... View more
03-30-2017
06:38 AM
|
0
|
0
|
3515
|
POST
|
Hi mbarney and klizcano-esristaff! This is something we'd like to actively investigate with you. Is this something your still reproducing right now? Would either or both of you be willing to have a support case opened for this? I'd be happy to create one for you or you can feel free to submit one directly through our support.esri.com website. Feel free to reply here or private message me. Thanks! Stephanie
... View more
02-09-2017
12:16 PM
|
0
|
2
|
3604
|
POST
|
Hey Blake! I'm assuming your using the following function: arcgis.features.manage_data module — arcgis 1.0.1 documentation Is that correct? Could you share your code with me? Feel free to send it via private message if you like. If it's crashing the environment, we'd like to reproduce that to log a bug for this. Thanks! Stephanie
... View more
02-07-2017
05:40 AM
|
0
|
0
|
289
|
Title | Kudos | Posted |
---|---|---|
1 | 12-18-2017 01:35 PM | |
1 | 12-18-2017 10:57 AM | |
1 | 11-18-2011 08:46 AM | |
1 | 12-27-2019 01:07 PM | |
1 | 09-14-2015 10:24 AM |
Online Status |
Offline
|
Date Last Visited |
09-17-2024
03:35 PM
|