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

Internal Server Error after fresh install. #37

Open
atdtn opened this issue Feb 21, 2021 · 2 comments
Open

Internal Server Error after fresh install. #37

atdtn opened this issue Feb 21, 2021 · 2 comments

Comments

@atdtn
Copy link

atdtn commented Feb 21, 2021

Hello.

After quick start instructions,
visiting localhost:3000/evote/default/index causes an internal server error.

Here are more details:

Version
web2py™ Version 2.21.1-stable+timestamp.2020.11.28.04.10.44
Python Python 3.8.7: /Users/username/tmp/web2py/venv/bin/python (prefix: /Users/username/tmp/web2py/venv/bin/..)

Traceback (most recent call last):
File "/Users/username/tmp/web2py/gluon/main.py", line 439, in wsgibase
serve_controller(request, response, session)
File "/Users/username/tmp/web2py/gluon/main.py", line 175, in serve_controller
page = run_controller_in(request.controller, request.function, environment)
File "/Users/username/tmp/web2py/gluon/compileapp.py", line 655, in run_controller_in
ccode = getcfs(layer, filename, lambda: compile2(code, filename))
File "/Users/username/tmp/web2py/gluon/cfs.py", line 50, in getcfs
data = filter()
File "/Users/username/tmp/web2py/gluon/compileapp.py", line 655, in
ccode = getcfs(layer, filename, lambda: compile2(code, filename))
File "/Users/username/tmp/web2py/gluon/restricted.py", line 205, in compile2
return compile(code, layer, 'exec')
File "/Users/username/tmp/web2py/applications/evote/controllers/default.py", line 231
print "ballot id:",ballot.id, "key:",key, "results[key]:",results[key], "vote:",vote
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("ballot id:",ballot.id, "key:",key, "results[key]:",results[key], "vote:",vote)?

@mdipierro
Copy link
Owner

mdipierro commented Feb 21, 2021 via email

@mcnamara-charles
Copy link

Hi there, I have coded a 3.9 version of mdipierro's evote system @ https://github.com/mcnamara-charles/evote-3.9

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

3 participants