Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

python fails to run with remapped drives #4748

Open
m-u-r-p-h-y opened this issue Mar 30, 2023 · 1 comment
Open

python fails to run with remapped drives #4748

m-u-r-p-h-y opened this issue Mar 30, 2023 · 1 comment
Labels
host: Blender type: bug Something isn't working

Comments

@m-u-r-p-h-y
Copy link
Member

m-u-r-p-h-y commented Mar 30, 2023

Running version
3.15.4-nightly.1 (code)

Describe the bug
with disk mapping on general/disk_mapping/windows
I'm remapping my local folder to simulate studio environment to drive P:
image

everything works fine, except for launching blender, where we are probably trying to install missing PySide2

the way we call for python is not working with remapped drive, eventhough running the same command from shell works perfectly fine

image

Desktop:

  • OS: windows
  • Host: Blender 3.5.0

[cuID:OP-5487]

@m-u-r-p-h-y m-u-r-p-h-y added type: bug Something isn't working host: Blender labels Mar 30, 2023
@m-u-r-p-h-y
Copy link
Member Author

The issue here is, that installation is run with elevated permissions, which means it is executed by a different user and the drive mapping (subst) is only working for the original user (not for the admin)

the solution would be to replicate the mapping of the drive under admin as well, before attempting to install missing dependencies.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
host: Blender type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant