mdipierro / evote

A system for secure, trusted, and verifiable voting on the web
Other
117 stars 41 forks source link

Documentation doesn't mention need for python-rsa package #19

Open gene1wood opened 9 years ago

gene1wood commented 9 years ago

Out of the box evote depends on the python module rsa. Without it you get the traceback below. Probably a good idea to add this to the quick start instructions. Under RHEL or RHEL derivatives this involves running sudo yum install python-rsa or Debian/Ubuntu sudo apt-get install python-rsa

Traceback (most recent call last):
  File "/home/gene/web2py/gluon/restricted.py", line 224, in restricted
    exec ccode in environment
  File "/home/gene/web2py/applications/evote/controllers/default.py", line 1, in <module>
    from ballot import ballot2form, form2ballot, blank_ballot, \
  File "/home/gene/web2py/gluon/custom_import.py", line 92, in custom_importer
    return base_importer(pname, globals, locals, fromlist, level)
  File "applications/evote/modules/ballot.py", line 3, in <module>
    import rsa
  File "/home/gene/web2py/gluon/custom_import.py", line 86, in custom_importer
    raise ImportError, 'Cannot import module %s' % str(e)
ImportError: Cannot import module 'applications.evote.modules.rsa'
erwanlr commented 7 years ago

Other modules are also needed, such as git and asn1 ;)