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

when exception occurs and async mode enabled, pywps does not save exception into resulting xml file #356

Closed
jachym opened this Issue Jul 11, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@jachym
Member

jachym commented Jul 11, 2018

Description

When status=true and exception occurs in the handler, pywps returns processaccepted xml, logs the error correctly, but does not save resulting exception to final xml file - there is just processstarted xml output

Environment

  • operating system:
  • Python version:
  • PyWPS version: master (4.1)
  • source/distribution
  • git clone
  • Debian
  • PyPI
  • zip/tar.gz
  • other (please specify):
  • web server
  • Apache/mod_wsgi
  • CGI
  • other (please specify): flask

Steps to Reproduce

take pywps-flask edit say_hello process and add raise Exception("something") to the code,

run

and download stausLocation file - it will not contain Exception report, but only ProcessStarted message

Additional Information

@jachym jachym added the bug label Jul 11, 2018

@jachym jachym added this to the 4.2.0 milestone Jul 11, 2018

@jachym jachym self-assigned this Jul 11, 2018

jachym added a commit to jachym/PyWPS that referenced this issue Jul 11, 2018

@jachym jachym referenced this issue Jul 11, 2018

Merged

fixes #356 #357

1 of 2 tasks complete

@jachym jachym closed this in c9d46d6 Jul 12, 2018

@cehbrecht cehbrecht referenced this issue Sep 10, 2018

Closed

UTF-8 problems with output in Python 3 #233

2 of 8 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment