|
BLOG
|
This release fixed the following bug when using python 3.5.1 BUG-000108063 ArcGIS Python API is unable to connect to Portal for ArcGIS with Integrated Windows Authentication configured. But I am experiencing issues when using python 3.6 to connect to Portal for ArcGIS with Integrated Windows Authentication configured: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> C:\Anaconda3\envs\py36\lib\site-packages\arcgis\_impl\portalpy.py in get_properties(self, force) 1038 -> 1039 if resp: 1040 self._properties = resp UnboundLocalError: local variable 'resp' referenced before assignment
... View more
10-16-2017
06:15 PM
|
0
|
0
|
364
|
|
POST
|
I am very new to Jupyter Notebook, and I wrote less than 10 lines of code in it, so what I am saying is limited to my own knowledge. I have to admit it looks amazing, it works like a magic with some executable code in a nice technical article. but I am not sure it's the best python IDE if it is an IDE at all. For me, Notebook is for presenting not for developing. I have a little more experience with PythonWin, PyScripter and WingIDE, I find these IDEs provide a developer far more powerful debugging tools. I may use notebook to document some of my python tools for ArcGIS Online and Portal. additionally, I see Notebook as an ideal terminal to interact with web services that return tables, charts, images or maps that can be easily rendered in a browser, as the cmd window to many locally installed applications. Thanks for any input to this discussion, I am learning...
... View more
09-14-2017
06:06 PM
|
0
|
2
|
2584
|
|
POST
|
I am just curious why you need to use ArcPy in notebook at the first place, by my understanding, ArcPy is a local API which is best to run inside of ArcGIS desktop products like Pro, ArcMap, ArcCatalog even some stand-alone scripts. While notebook and ArcGIS API for Python is a good technical combination for Portal/ArcGIS Online which basically supports the rest API... Sorry, I know this is rather a comment than a practical solution.
... View more
09-13-2017
08:07 PM
|
0
|
5
|
2584
|
|
POST
|
FYI Python for Windows Extensions / Bugs / #748 pywin32 issue(s) under Python 3.6.1 Try Python 3.5.4, it works for me.
... View more
09-12-2017
01:31 AM
|
1
|
0
|
1556
|
|
BLOG
|
Only version 1.0.1 on py35_1 works for my portal which is using windows integrated authentication. I tried all the 1.2.x version, none of them can connect to the portal, kept on getting errors: HTTPError: HTTP Error 401: Unauthorized https://community.esri.com/thread/201079-cant-connect-to-portal
... View more
09-10-2017
10:58 PM
|
0
|
0
|
1813
|
|
POST
|
After I overwrote the arcgis related packages under anaconda3 using the packages under ArcGIS pro, everything seems working fine. The packages installed by conda is slightly different from those installed by ArcGIS Pro... don't know why, but It's working, I am happy Update: the working version is version 1.0.1 on Python 3.5 .... I am missing out lots of latest features tho.
... View more
09-08-2017
12:24 AM
|
2
|
7
|
7755
|
|
POST
|
Hello Rohit, Thank you so much for your reply. I tested as you suggested, but the problem remains. I double checked with the administrator, we are using IWA, not SAML. I not only tested in Jupyter notebook, I also tried in python IDE (Wing IDE) to make direct connections to the portal, but it was not successful. Surely there is something wrong on our server, just don't know where to look at. I checked it with this document, Use Integrated Windows Authentication with your portal—Portal for ArcGIS (10.5.x) | ArcGIS Enterprise , nothing looks suspicious in the server settings. Update: I just tried the python window in ArcGIS Pro, I can login our portal from there omitting the username and password ---- and I print out the user information, it seems the API picked up my windows login inside of ArcGIS Pro. Python window in Pro is not the ideal environment for me to do my tasks.
... View more
09-07-2017
05:06 PM
|
1
|
0
|
7755
|
|
POST
|
Hi Rohit, I tried everything I can, but I still can't connect to my portal with IWA. I get HTTP 401 error: unauthorized. I posted in another discussion, could you please have a look? Python API can't connect to portal with windows authentication Thanks.
... View more
09-07-2017
06:05 AM
|
0
|
0
|
1556
|
|
POST
|
Hi folks, I am new to this API, I tried it with ArcGIS Online it works fine. But when I try to connect to our local ArcGIS portal, it doesn't work. Can anybody kindly point me to the right direction? I highly suspect that the problem is the API can't pick up my windows credentials which is required to login the portal. More information: Our portal is using IWA authentication, and this document for IWA points to not using a username or password: It looks like there are some additional requirements for using IWA and the ArcGIS Python API: "If your portal is configured to pick up your Windows credeintials using NTLM or Kerberos, you can omit passing in the username and password. The ArcGIS Python API is able to figure out when the GIS is using Windows authentication and picks the login credentials from the currently running process providing a seamless and secure login experience. Windows authentication only works on the Windows OS and requires pywin32 and kerberos-sspi python packages." Please see the screen dump for details: (click to zoom in)
... View more
09-03-2017
06:10 PM
|
1
|
14
|
16593
|
|
POST
|
Hi Derek, Thanks for your reply. I'll contact the Tech Support.
... View more
08-07-2017
09:46 PM
|
0
|
0
|
537
|
|
POST
|
Derek Law Hi Derek, Have you or any of your customers come across this issue? When you use Query widget, Add Data widget and Layer List Widget together, it seems there is a problem. Thanks.
... View more
08-06-2017
10:58 PM
|
0
|
2
|
537
|
|
POST
|
Hi Nathan, The answer is yes. If you want to create a p12 file using openSSL on a windows machine, you need to create the CSR file and the Private key using openSSL (I did this on a windows machine, but I guess you don't have to). then you can create a iOS certificate using the CSR on the Apple Developer website. As Stephen mentioned, once you have the certificate and the corresponding private key, you can create p12 file using openSSL.
... View more
08-03-2017
07:12 PM
|
0
|
0
|
1849
|
|
POST
|
Hi, The visibility of my added layers (one service with multiple layers) will be reset after the query result is added to the layer list. Please let me explain it a little bit: 1) I added the "infrastructure Water" map service using Add Data Widget: 2) I change the visibility of the layers under "Infrastructure Water" 3) I performed a query in the Query Widget, the result will be added to the top of the Layer List, this is fine, but look at the "Infrastructure Water" layers, the visibility of them are reset to the initial status! Have you come across the same issue, or I am the only unlucky one Any advice or suggestions are highly appreciated! Thanks.
... View more
06-19-2017
12:39 AM
|
0
|
3
|
973
|
|
POST
|
You can add the TPK as a layer in ArcMap and save a layer file from it, then you can add the lyr file in ArcGIS Pro so that it can use the local TPK. It surprise me that I can't add TPK directly in ArcGIS Pro.
... View more
05-17-2017
06:52 PM
|
0
|
0
|
5166
|
|
POST
|
Hi Thomas, Have you found the solution yet? I have the same issue not only for gpx data, but also for geojson data. Cheers
... View more
04-10-2017
05:45 PM
|
0
|
0
|
3421
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-28-2019 05:13 PM | |
| 1 | 02-25-2019 04:54 PM | |
| 1 | 03-05-2019 02:08 PM | |
| 1 | 03-12-2019 10:20 PM | |
| 1 | 11-27-2024 04:36 AM |
| Online Status |
Offline
|
| Date Last Visited |
01-17-2025
07:39 AM
|