-
Notifications
You must be signed in to change notification settings - Fork 41
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
Comments
Evote was written for python 2. Would be nice to convert it to 3. I doubt i
will have the time anytime soon
…On Sun, Feb 21, 2021, 13:43 atdtn ***@***.***> wrote:
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)?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#37>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHLZTZYXFAAQ4AVTCM3VCLTAF5ATANCNFSM4X7MW7FQ>
.
|
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
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)?
The text was updated successfully, but these errors were encountered: