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

AssertionError #308

Open
kevinkle opened this issue Jun 17, 2018 · 2 comments
Open

AssertionError #308

kevinkle opened this issue Jun 17, 2018 · 2 comments
Assignees
Labels

Comments

@kevinkle
Copy link
Member

https://sentry.io/superphy/spfy/issues/525780560/

AssertionError: 
(4 additional frame(s) were not displayed)
...
  File "flask/app.py", line 1612, in full_dispatch_request
    rv = self.dispatch_request()
  File "flask/app.py", line 1598, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "routes/ra_timings.py", line 36, in job_timings
    return jsonify(_time_pipeline(job_id))
  File "routes/ra_timings.py", line 16, in _time_pipeline
    return pipeline.timings()
  File "middleware/models.py", line 344, in timings
    assert self.done

AssertionError
@kevinkle kevinkle self-assigned this Jun 17, 2018
@kevinkle
Copy link
Member Author

Probably related to using the timing script / the bulk uploading feature where self.done checks for all display results which are complete (when there are not display results for bulk uploading)

@kevinkle
Copy link
Member Author

Looks like with the timing script, the Assertion Error happens if theres an error in the pipeline the timings api still try to calc the timing on it (and hence raise an error with assert self.done)

@kevinkle kevinkle added the bug label Jun 22, 2018
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