Missing extension error when trying to launch PyCharm from ArcGIS Follow
The ESRI ArcGIS software uses Python scripts. You can specify in an options dialog what executable to use for script editing and debugging. In presentations from ESRI, I have seen them use Wing IDE in this way for editing scripts.
I put in the path to PyCharm for my script editor and debugger, but when I try to edit a script, I get the following error from PyCharm:
Error Loading Default Project
Extension is missing for storage file: C:\Program Files\ArcGIS\Desktop10.0\ArcToolbox\Scripts
That path shown in the error is the directory where the script I was trying to edit resides.
What does this error mean and how can I fix it?
Thanks,
Mike
Please sign in to leave a comment.
Hello Mike,
Which version of PyCharm are you using?
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
I am running PyCharm version 1.1.1.
Some additional info:
I tried editing a script from ArcGIS. PyCharm started and gave the error initially reported above. I used Process Explorer to see the command line used to start the PyCharm process. It was:
C:\PROGRA~1\JETBRA~1\PYCHAR~1.1\bin\pycharm.exe C:\PROGRA~1\ArcGIS\DESKTO~1.0\ARCTOO~1\Scripts\SPLINE~1.PY
SPLINE~1.PY is the 8.3 name of the script I was trying to edit.
When I execute this command from a command prompt, PyCharm starts OK with the script loaded and no error is reported. The PyCharm started from ArcGIS has a cmd.exe parent process that was started with that same command, but prefixed with "cmd.exe /c". Executing that command directly also works OK for me.
I found a workaround. I started ArcGIS (the ArcMap app) running as Administrator (I'm on Vista). Then when I tried to edit a script, PyCharm started up fine, with the script loaded. So, the error appears to be related to permissions.
I'd rather not have to run as admin, but I can live with it for now.