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

raise exc_info[0], exc_info[1], exc_info[2] - Syntax Error #721

Closed
rajwit opened this issue Apr 21, 2016 · 2 comments
Closed

raise exc_info[0], exc_info[1], exc_info[2] - Syntax Error #721

rajwit opened this issue Apr 21, 2016 · 2 comments

Comments

@rajwit
Copy link

rajwit commented Apr 21, 2016

Hi,

I do see the below error message, please help me to address this.

I'm trying to deploy the HelloWorld Python 3.4.1. program to GoogleAppEngine and below is the error message I do see

File "C:\Program Files (x86)\Google\google_appengine\lib\webob-1.1.1\webob\request.py", line 1052
raise exc_info[0], exc_info[1], exc_info[2]
^
SyntaxError: invalid syntax

below is the snap chat of the code
if self.is_body_seekable:
self.body_file_raw.seek(0)
captured = []
output = []
def start_response(status, headers, exc_info=None):
if exc_info is not None and not catch_exc_info:
raise exc_info[0], exc_info[1], exc_info[2]
captured[:] = [status, headers, exc_info]
return output.append
app_iter = application(self.environ, start_response)
if output or not captured:
try:
output.extend(app_iter)
finally:
if hasattr(app_iter, 'close'):
app_iter.close()
app_iter = output
if catch_exc_info:
return (captured[0], captured[1], app_iter, captured[2])
else:
return (captured[0], captured[1], app_iter)

@kived
Copy link
Contributor

kived commented Apr 21, 2016

What does this have to do with python-for-android? It looks like an issue with GAE.

@kived
Copy link
Contributor

kived commented Apr 25, 2016

As this doesn't seem to have anything to do with p4a I'm going to close this. Please reopen or create a new issue if you have something p4a-related.

@kived kived closed this as completed Apr 25, 2016
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