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

celery execute task needs to handle wps failure message #137

Open
cehbrecht opened this issue Mar 16, 2017 · 0 comments
Open

celery execute task needs to handle wps failure message #137

cehbrecht opened this issue Mar 16, 2017 · 0 comments
Assignees
Labels

Comments

@cehbrecht
Copy link
Member

got a failure message from a pywps process but it is not handled:

[2017-03-16 13:43:51,668: DEBUG/Worker-4] https://localhost:8443 "POST /ows/proxy/determined_lovebird HTTP/1.1" 200 479
[2017-03-16 13:43:51,669: DEBUG/Worker-4] <ExceptionReport xmlns="http://www.opengis.net/ows/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0.0" xsi:schemaLocation="http://www.opengis.net/ows/1.1 http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd">
    <Exception exceptionCode="NoApplicableCode" locator="NotAcceptable">
        <ExceptionText>Response is not ok: Internal Server Error</ExceptionText>
    </Exception>
</ExceptionReport>
[2017-03-16 13:43:51,669: INFO/Worker-4] Execution status=Exception
[2017-03-16 13:43:51,670: INFO/Worker-4] Percent completed=0
[2017-03-16 13:43:51,670: INFO/Worker-4] Status message=None
[2017-03-16 13:43:51,670: WARNING/Worker-4] owslib.wps.WPSException : {'locator': 'NotAcceptable', 'code': 'NoApplicableCode', 'text': 'Response is not ok: Internal Server Error'}
[2017-03-16 13:43:51,670: ERROR/Worker-4] phoenix.tasks.execute.execute_process[57f343c4-d057-40c0-96f8-7b3cc3fb977b]: Failed to run Job
Traceback (most recent call last):
  File "/home/Shared/pingu/sandbox/birdhouse/pyramid-phoenix/phoenix/tasks/execute.py", line 37, in execute_process
    job['abstract'] = getattr(execution.process, "abstract")
AttributeError: 'NoneType' object has no attribute 'abstract'
[2017-03-16 13:43:51,670: INFO/Worker-4] phoenix.tasks.execute.execute_process[57f343c4-d057-40c0-96f8-7b3cc3fb977b]: 0   0%: Error: 'NoneType' object has no attribute 'abstract'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant