Skip to content

Python: No installations message [STUD-77361]#549

Open
viogroza wants to merge 2 commits into
developfrom
fix/python_no_install
Open

Python: No installations message [STUD-77361]#549
viogroza wants to merge 2 commits into
developfrom
fix/python_no_install

Conversation

@viogroza
Copy link
Copy Markdown
Collaborator

@viogroza viogroza commented May 11, 2026

Show -No Python installations were detected- when no installations are found

https://uipath.atlassian.net/browse/STUD-77361

image

Show -No Python installations were detected- when no installations are found
@alexandru-petre
Copy link
Copy Markdown
Collaborator

@adrianignat13 has been assigned to this PR.

@alexandru-petre
Copy link
Copy Markdown
Collaborator

@sorinconstantin has been assigned to this PR.

Copy link
Copy Markdown
Collaborator

@sorinconstantin sorinconstantin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

High: Activities/Python/UiPath.Python.Activities.ViewModels/ViewModels/PythonScopeViewModel.cs:94 has the
condition reversed. if (GetInstalledPythonVersions().Any()) enters the “No Python installations were detected” path
when installations do exist, making the dropdown read-only and hiding valid choices. The check should be ! GetInstalledPythonVersions().Any() or use a local installedVersions list and branch on Count == 0.

@viogroza
Copy link
Copy Markdown
Collaborator Author

installedVersions

That is correct.. I initially let this condition as it is for testing purposes (since I had python installations on the machine)
I will correct it

@viogroza viogroza requested a review from sorinconstantin May 13, 2026 09:13
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants