Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gene1wood opened this issue Feb 2, 2015 · 1 comment
Open

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

gene1wood opened this issue Feb 2, 2015 · 1 comment

Comments

@gene1wood
Copy link
Contributor

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
Copy link

erwanlr commented Nov 3, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants