opensafely-core / opensafely-core/opencodelists

AssertionError when downloading SSRI codelist

Open
#2,047 7 comments 0 reactions 1 assignee View on GitHub

@Jongmassey is already working on this.

Since Sep 10, 2024.

bug csv
Dominant language
Python
Stars
60
Forks
16
Avg merge
4d 12h
Merged PRs (30d)
17

Description

Sentry Issue: OPENCODELISTS-QE

AssertionError: 
(1 additional frame(s) were not displayed)
...
  File "codelists/views/decorators.py", line 67, in wrapped_view
    rsp = view_fn(request, version, **view_kwargs)
  File "codelists/views/version_download.py", line 16, in version_download
    clv.csv_data_for_download(
  File "codelists/models.py", line 563, in csv_data_for_download
    self.formatted_table(
  File "codelists/models.py", line 710, in formatted_table
    assert self.downloadable

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.