|
POST
|
Thanks for your idea! I'm not sure what you mean by the Pro-created Python stand-alone window. The Python window within Pro? Sorry for my ignorance; I'm still a beginner.
... View more
01-14-2021
10:00 AM
|
0
|
0
|
12090
|
|
POST
|
Dan, thank you for your reply! What do you mean by local installs? Do you have any ideas as to what specs of the server I should check to see if it is compatible with numpy? Pro is installed on the C drive of the server, and it has all the folders that you listed. In PyCharm, I am attempting to use as my interpreter (this is part of Pro, on the server's C drive): C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\python.exe My PyCharm project (the .py script I'm trying to run) is saved on the D drive of the same server (so Pro is on the C drive and my python file/project is on the D drive). PyCharm requires that a virtual environment be set up for running .py files, so this virtual environment is on the D drive.
... View more
01-14-2021
09:00 AM
|
0
|
2
|
12096
|
|
POST
|
I am running into an error when running a script that tries to import arcpy, in PyCharm, using Pro rather than ArcMap, on a virtual server machine that my organization wants to use to store and run scripts in our enterprise environment. I am trying to get the server set up for this. I have used arcpy in Pycharm on my own PC just fine; I do not know what the problem is with it on the server. I have tried all kinds of possible fixes. Can anyone help? I already uninstalled and reinstalled both Pro and PyCharm, and I have deleted tons of PyCharm projects and created new ones with different settings. I get the same error no matter what I try. Pro version: 2.7 Python: 3.7 Here is the error: C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\numpy\__init__.py:138: UserWarning: mkl-service package failed to import, therefore Intel(R) MKL initialization ensuring its correct out-of-the box operation under condition when Gnu OpenMP had already been loaded by Python process is not assured. Please install mkl-service package, see http://github.com/IntelPython/mkl-service
from . import _distributor_init
Traceback (most recent call last):
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\numpy\core\__init__.py", line 22, in <module>
from . import multiarray
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\numpy\core\multiarray.py", line 12, in <module>
from . import overrides
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\numpy\core\overrides.py", line 7, in <module>
from numpy.core._multiarray_umath import (
ImportError: DLL load failed: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:/Scripts/pythonProject/test2.py", line 3, in <module>
import arcpy
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\__init__.py", line 21, in <module>
import numpy
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\numpy\__init__.py", line 140, in <module>
from . import core
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\numpy\core\__init__.py", line 48, in <module>
raise ImportError(msg)
ImportError:
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.
We have compiled some common reasons and troubleshooting tips at:
https://numpy.org/devdocs/user/troubleshooting-importerror.html
Please note and check the following:
* The Python version is: Python3.7 from "D:\Scripts\pythonProject\Scripts\python.exe"
* The NumPy version is: "1.19.1"
and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.
Original error was: DLL load failed: The specified module could not be found. I've already clicked and Googled everything I have found or thought of, and I've read lots of stuff about Pro and PyCharm from Esri and on Geonet and Stack Exchange, etc. But none of the solutions work for me. Here is my project interpreter setting (I have tried various other settings): I did try making it a conda environment a couple times and pointing to a file within ArcGIS Pro that had conda in the name. Note that I do not know what conda is or how it may be relevant or not in this situation. Here is my sys.path: D:\Scripts\pythonProject\Scripts\python.exe D:/Scripts/pythonProject/test2.py
D:\Scripts\pythonProject
C:\Program Files\ArcGIS\Pro\Resources\ArcPy
D:\Scripts\pythonProject
C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\python37.zip
C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\DLLs
C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib
C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3
D:\Scripts\pythonProject\lib\site-packages
C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages
C:\Program Files\ArcGIS\Pro\bin
C:\Program Files\ArcGIS\Pro\Resources\ArcToolbox\Scripts
C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\future-0.18.2-py3.7.egg
C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\pytz-2020.1-py3.7.egg
C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\pywin32_ctypes-0.2.0-py3.7.egg
C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\pywin32security
C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\sympy-1.5.1-py3.7.egg The error has something to do with numpy, and with mkl-service, but I have both of those: Any help would be much appreciated, because I am 100% stuck now, after banging my head against the wall with this for several days. Thank you!!
... View more
01-13-2021
05:24 PM
|
0
|
8
|
12130
|
|
IDEA
|
Thank you, Phil! Oh, that is very good to know. I am so used to getting downloads from clicking on something on a website, and I have not used the Microsoft Store before. So it's good to now have some sense of the benefit of using it. Thanks! Allen
... View more
01-13-2021
04:37 PM
|
0
|
0
|
1467
|
|
POST
|
I have solved my problem. For anyone who may be curious, here is the solution. It's very simple - I had to update Survey123 Connect to the newest version and then republish the survey. Then, survey users had to DELETE and download the survey again; simply refreshing the survey without deleting it was not effective. What happened was that we found out at the 2020 UC that in version 3.10 of S123, the "extensions" folder had to be named "scripts." We have a custom javascript function in this folder for this survey. So a few months ago, we changed the folder name and republished the survey. We had users refresh the survey (rather than fully deleting it and redownloading it). But we did not notice that we were using version 3.5 of Survey123 Connect. (On that note, I have posted and commented in a couple of "Ideas" in the Esri Community to have the app actually give you some indication that a new version is available!!! That would have prevented this whole big ordeal that took several staff members multiple weeks to figure out.) So, version 3.5 of Survey123 Connect did not publish our scripts folder. Anyone who newly downloaded the survey after that date did not get the scripts folder, or actually any of the other changes we made to the survey. That is why this one user had the problem - she was the only one to download the survey (rather than refresh an existing survey) during this time. Actually, there was also another user who also newly downloaded the survey, and he had the same problem, but he never told us about it, so we didn't know about that until after a ton of digging. The other users, who previously had the survey and merely refreshed it after we did our survey edits, actually retained the extensions folder with the javascript file, so that file continued to work for them, weirdly. So our solution was to update Survey123 Connect, republish the survey, and ask survey users to DELETE and redownload the survey.
... View more
01-12-2021
11:00 AM
|
1
|
0
|
2500
|
|
IDEA
|
My idea is for the Survey123 field app ON A COMPUTER to automatically notify the user that a software update is available. Currently, the update situation is confusing, because the app auto-updates on a phone, but not on a computer. So you get used to the notion that the app auto-updates, due to how it is on the phone. It is easy to forget that it does not auto-update on the computer. Plus, I find it outdated, inconvenient, and trouble-inviting that you have to remember, on your own initiative, that you might need to go hunt around to see if a new version is available or not. Having an old version can cause major functionality problems with some surveys. Thanks for considering this idea!
... View more
01-12-2021
10:44 AM
|
4
|
2
|
1492
|
|
IDEA
|
Has anything been done on this issue? This post is pretty old. It would be so important for me to be able to (1) be notified that there is a new version of Survey123 Connect and (2) not have to install a new instance of the app, and instead just update the existing one. It is so inconvenient and cumbersome to have to uninstall and reinstall. And the fact that Survey123 Connect does not notify me that a new version is available has actually caused me and others in my organization about a full week of work or maybe more, due to a problem with a custom JS function we have attached to a survey - it was not working, and we all had the new version of Survey123 on our phones. it took forever to figure out that the problem was because the survey was published via an outdated version of Survey123 Connect. So, the lack of notification of a new version cost us many hundreds of dollars in work time. Seemingly all other software tells the user when an update is available (or it just auto-updates), so it seems very outdated, inconvenient, and incredibly non-intuitive that the user has to take initiative to remember to check for updates.
... View more
01-12-2021
10:17 AM
|
0
|
0
|
3993
|
|
POST
|
Thank you! Turns out we were able to find a folder of his backup files, even though we can't access his "real" files, and there was a copy of the script files. It included a .py file that seems to be the basis for most of the rest of it, so I have been working on editing it. You were right, he used QT Designer, I discovered, and there were a couple of .ui files in the folder we found; your hints were helpful! Thanks! Allen
... View more
12-21-2020
08:59 AM
|
0
|
0
|
8068
|
|
POST
|
Thanks, Dan. That's good to know about the files being compiled for a reason - makes sense. Allen
... View more
12-21-2020
08:57 AM
|
0
|
0
|
8068
|
|
POST
|
I know this is only tangentially related to ArcGIS, but I thought I'd give this a try and see if anyone could help. I need to edit a script/tool created by someone who no longer works at my organization. The tool has a simple GUI that staff use to "promote" a Geocortex site (which contains ArcGIS map services) from our dev server to our prod server. This basically just involves copying a folder. We need the tool because staff aren't given direct access to the prod server. My goal is to simply add the names of our new servers so users can select those. The folder that contains all the tool's files does not have a .py file. It only has lots of .pyd and .pyc and .dll files, plus an .exe which is the GUI. I have no idea how the previous employee built it. Those files are not human readable or editable. Is there any way to edit any of it? I noticed that the copysites.exe.log file contains text that refers to a file called copysites.py, but that does not exist in the folder or any of the subfolders.
... View more
12-15-2020
05:09 PM
|
0
|
4
|
8124
|
|
POST
|
Thanks, @JamesTedrick ! Unfortunately I don't know yet. I know that would probably be a key detail. I haven't heard back from the staff member about that yet.
... View more
12-01-2020
01:54 PM
|
0
|
0
|
2658
|
|
POST
|
Thanks, @JamesTedrick ! Unfortunately I don't know yet. I know that would probably be a key detail. I haven't heard back from the staff member about that yet.
... View more
12-01-2020
01:53 PM
|
0
|
0
|
2658
|
|
POST
|
I am trying to help a staff member in my organization who is using a Survey123 survey I built. She is using version 3.11.164 of the field app on an iPhone XR that was set up and is managed by the organization. Everything in the survey works fine on people's personal phones, including mine, which has the same app version as hers. Her coworker is able to use the survey just fine on his personal phone, in the exact same locations where she has had a problem. It used to work fine for her before she got this phone from the organization. The problem involves two survey questions that both pull data from a service via its REST URL. I used a custom JS function and included the REST URL in the Excel that the survey is derived from (created with Survey123 Connect). The JS function pulls data from fields in the REST service and populates the survey questions with that data. The staff member's problem is that the survey is failing to pull data from this service. Those questions just remain blank. Her phone is using location just fine; the survey captures her correct location. And this is not just about one location; the problem happens all the time for her. I suspect that the problem is with her phone, maybe the security settings the organization configured on her phone, since things work fine on people's personal phones. I asked her to go to the REST endpoint on her phone's browser, and she was able to view that page, but she said she had to hit "sync" first. I am waiting on more details about this from her, but I wanted to post here and see if anyone happened to have some answers or guidance! thank you!!
... View more
12-01-2020
12:09 PM
|
0
|
4
|
2674
|
|
POST
|
Hi there, I'm working on a project in Pro. The feature classes and their fields have aliases, but some of the feature classes do not have their aliases showing in the table of contents. How do I get the aliases to be used in the table of contents? Also, some of the fields that the symbology is based on do not have their aliases showing either, as shown in this example: This image shows the field alias: This shows the feature class alias: How can I get the aliases to be used in the table of contents? (I did Google this various times in different ways and never found any answers.) Thank you! Allen
... View more
10-21-2020
12:07 PM
|
0
|
0
|
955
|
|
POST
|
I have a similar situation; I used Model Builder to export a python file. I am wondering what do the "true true false" etc. in the field map syntax mean or represent? Did you ever find out? Thanks! Allen
... View more
09-17-2020
12:57 PM
|
0
|
0
|
4275
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-30-2025 05:49 PM | |
| 1 | 09-30-2025 03:01 PM | |
| 1 | 09-30-2025 05:42 PM | |
| 1 | 11-01-2023 11:39 AM | |
| 1 | 11-21-2024 04:21 PM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|