Select to view content in your preferred language

ArcPro close itself after loading a project

41
3
Jump to solution
13 hours ago
JeanDesormeaux
Occasional Contributor

Hi everyone,

For an unknown reason, now when I open up a project connected to many layers using SDE connection (SQL Server on my own computer), it close itself. I see for a fraction of seconds the map loaded with the data, but the gui diseaper. And the process Arcpro.exe still in Windows process, but the gui is done.

Is there anyone has already meet this kind of situation?

I desinstalled my ArcPro, rebooted, reinstalled and still have the same behavior.

5-6 weeks ago, I didn't have this issue. I don't know if it caused by a Windows update or other thing but it's annoying.

Thank you,

Jean

0 Kudos
1 Solution

Accepted Solutions
JeanDesormeaux
Occasional Contributor

I finally found the issue!!!!

I did some test to import QGIS Python librairies, so I have setuped the PYTHON_PATH environment variable.

On some layers, I use the Labels calculated with Python code and ArcPro was used the QGIS Librairie and make it crashes.

Since I removed this variable, ArcPro is working fine.

View solution in original post

3 Replies
CodyPatterson
Frequent Contributor

Hey @JeanDesormeaux 

Are you able to open up any other projects or a blank one? If possible, you may try opening a blank project, and attempting to add all the SDE connections back to the map to see if there is any certain one that is causing the disconnection.

Cody

0 Kudos
JeanDesormeaux
Occasional Contributor

Hi Cody,

I didn't try it.

I will try this, perhaps one of the table/view caused the issue.

Thank you!

 

JeanDesormeaux
Occasional Contributor

I finally found the issue!!!!

I did some test to import QGIS Python librairies, so I have setuped the PYTHON_PATH environment variable.

On some layers, I use the Labels calculated with Python code and ArcPro was used the QGIS Librairie and make it crashes.

Since I removed this variable, ArcPro is working fine.