Skip to content

Instantly share code, notes, and snippets.

@bitprophet
Created September 27, 2011 23:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bitprophet/eb00fa8535b91ee11fe7 to your computer and use it in GitHub Desktop.
Save bitprophet/eb00fa8535b91ee11fe7 to your computer and use it in GitHub Desktop.
Unknown exception: PID check failed. RNG must be re-initialized after fork(). Hint: Try Random.atfork()
Traceback (most recent call last):
File "/Users/jforcier/.virtualenvs/fabric/lib/python2.5/site-packages/paramiko/transport.py", line 1522, in run
self._send_kex_init()
File "/Users/jforcier/.virtualenvs/fabric/lib/python2.5/site-packages/paramiko/transport.py", line 1686, in _send_kex_init
m.add_bytes(rng.read(16))
File "/Users/jforcier/.virtualenvs/fabric/lib/python2.5/site-packages/Crypto/Random/_UserFriendlyRNG.py", line 185, in read
return self._singleton.read(bytes)
File "/Users/jforcier/.virtualenvs/fabric/lib/python2.5/site-packages/Crypto/Random/_UserFriendlyRNG.py", line 161, in read
return _UserFriendlyRNG.read(self, bytes)
File "/Users/jforcier/.virtualenvs/fabric/lib/python2.5/site-packages/Crypto/Random/_UserFriendlyRNG.py", line 120, in read
self._check_pid()
File "/Users/jforcier/.virtualenvs/fabric/lib/python2.5/site-packages/Crypto/Random/_UserFriendlyRNG.py", line 136, in _check_pid
raise AssertionError("PID check failed. RNG must be re-initialized after fork(). Hint: Try Random.atfork()")
AssertionError: PID check failed. RNG must be re-initialized after fork(). Hint: Try Random.atfork()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment