Skip to content

Daemon not launched on Windows, throwing "Fatal Python error: Failed to initialize Windows random API (CryptoGen)" #25

@PyrApple

Description

@PyrApple

Run of blenderVR with powershell in a windows environment (by Vaclav Mares, beta tester) throws:


BlenderVR Log Window:
2015-02-20 22:44:22,317 blenderVR version: 1.0
2015-02-20 22:44:22,465 Creation of screen "console"
2015-02-20 22:44:22,479 Loading "Processor" class from
"D:/My/BlenderVRBuild/samples/basic\basic.processor.py" as main processor
2015-02-20 22:44:22,481 Get loader script name: C:\Python34\python.exe
D:\My\BlenderVRBuild\blender-vr\utils\update_loader.py --

D:/My/BlenderVRBuild/samples/basic/basic.blend

BlenderVR console:
2015-02-20 22:44:47,831 Command to run daemon: C:\Python34\python.exe
D:\My\BlenderVRBuild\blender-vr\utils\daemon.py Washek-PC:31415 console
debug
2015-02-20 22:44:47,831 Its environment variables: {}

2015-02-20 22:44:48,336 Cannot start daemon for screen 'console

PowerShell:

Fatal Python error: Failed to initialize Windows random API (CryptoGen)

It seems related to python issue:
"""
On Windows, if Python is started with an empty environment (no
environment variable at all), Python fails with: "Fatal Python error:
Failed to initialize Windows random API (CryptoGen)"
"""
http://bugs.python.org/issue20614

Next step: reproduce bug in windows env (may need to copy Valclav's PowerShell / Python config)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions