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'
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 runningsudo yum install python-rsa
or Debian/Ubuntusudo apt-get install python-rsa