You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can see the line in run.py and tests.py which reads: enviro={"BLENDER_USER_SCRIPTS": os.path.dirname(os.path.realpath(__file__))}
creates a new environment with a single variable in it.
in my case blender then fails to load with:
blender --addons io_xplane2blender --factory-startup --
found bundled python: D:\tools\blender-2.83.20-windows-x64\2.83\python
Fatal Python error: _Py_HashRandomization_Init: failed to get random numbers to initialize Python
I can see what I can come up with, currently on my feat_importer branch:
run.py and tests.py re-use existing evironment vars and can now successfully run blender on my Windows setup: be25a64
As far as I can see the line in run.py and tests.py which reads:
enviro={"BLENDER_USER_SCRIPTS": os.path.dirname(os.path.realpath(__file__))}
creates a new environment with a single variable in it.
in my case blender then fails to load with:
replacing this line in both file with:
Copies the existing environment and appends the variable to it.
In my case this then allows blender to run and the unit tests to begin executing
The text was updated successfully, but these errors were encountered: