Chaosthebot / Chaos

A social coding experiment that updates its own code democratically.
http://chaosthebot.com
MIT License
2.44k stars 210 forks source link

Problem with generator of encrypted keys #538

Closed eamanu closed 7 years ago

eamanu commented 7 years ago

When I try to make the sample of the wiki I have this error:

File "", line 1, in File "/home/eamanu/dev/Chaos/generate_keys_secret.py", line 1, in from encryption import decrypt File "encryption.py", line 48, in decrypt = create_decryptor("/etc/privkey", "server/pubkey.txt") File "encryption.py", line 14, in create_decryptor except FileNotFoundError: NameError: global name 'FileNotFoundError' is not defined

Where I am wrong?

andrewda commented 7 years ago

Does the server/pubkey.txt file exist?

PlasmaPower commented 7 years ago

@andrewda it should be autogenerated.

@eamanu Are you using Python 3.6?

eamanu commented 7 years ago

@PlasmaPower Maybe that is my problem.. I am using Python2.7

I will test it