Python random number generator error. WindowsError: [Error -2146893818] Invalid Signature -
what wrong built-in python rng? line keeps crashing application
file "c:\python27\lib\random.py", line 113, in seed = long(_hexlify(_urandom(2500)), 16) windowserror: [error -2146893818] invalid signature
the error occurs when try run python web application php's proc_open().
okay, turned out php problem, not os level, highly unlikely could've helped without code, i'll leave here if faces same problem.
this environment variable issue. when calling proc_open()
, php uses operating system level environment variables unless specify $env
fifth argument. error in case remembered incorrectly $env
has specified, , used empty array value, overtook os level path definitions. removed $env
, $cwd
, worked charm.
Comments
Post a Comment