question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fresh bug on stage environment (for now..)

See original GitHub issue
2021-04-15 16:24:27,803 - scout.server.app - ERROR: Exception on /cust002/cases [GET] [in /home/hiseq.clinical/miniconda/envs/prod-stage/lib/python3.6/site-packages/flask/app.py:1891]
Traceback (most recent call last):
  File "/home/hiseq.clinical/miniconda/envs/prod-stage/lib/python3.6/site-packages/flask/app.py", line 2446, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/hiseq.clinical/miniconda/envs/prod-stage/lib/python3.6/site-packages/flask/app.py", line 1951, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/hiseq.clinical/miniconda/envs/prod-stage/lib/python3.6/site-packages/flask/app.py", line 1820, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/home/hiseq.clinical/miniconda/envs/prod-stage/lib/python3.6/site-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/home/hiseq.clinical/miniconda/envs/prod-stage/lib/python3.6/site-packages/flask/app.py", line 1949, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/hiseq.clinical/miniconda/envs/prod-stage/lib/python3.6/site-packages/flask/app.py", line 1935, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/home/hiseq.clinical/SERVER/apps/scout-stage/git/scout-stage/scout/server/utils.py", line 26, in decorated_function
    context = func(*args, **kwargs)
  File "/home/hiseq.clinical/SERVER/apps/scout-stage/git/scout-stage/scout/server/blueprints/institutes/views.py", line 105, in cases
    data = controllers.cases(store, all_cases, prioritized_cases, limit)
  File "/home/hiseq.clinical/SERVER/apps/scout-stage/git/scout-stage/scout/server/blueprints/institutes/controllers.py", line 189, in cases
    case_obj = populate_case_obj(case_obj)
  File "/home/hiseq.clinical/SERVER/apps/scout-stage/git/scout-stage/scout/server/blueprints/institutes/controllers.py", line 185, in populate_case_obj
    case_obj["display_track"] = TRACKS[case_obj.get("track", "rare")]
KeyError: None

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
dnilcommented, Apr 15, 2021

There are none right now, and your latest fix should have blocked at least one avenue to having one, so no rush! Lets fix at low prio.

0reactions
dnilcommented, Apr 16, 2021

Slackbot panic

Read more comments on GitHub >

github_iconTop Results From Across the Web

Test Environment Best Practices: 8 You Need to Know
The idea with a staging environment is, if a bug happens to escape the test environment, then staging can catch it before it...
Read more >
How to Reproduce a Non-Reproducible Defect and Make ...
For understanding and reproducing a bug, it is essential to have detailed and properly explained 'Steps to Reproduce', state and environment ...
Read more >
The world's oldest winged insect is in trouble. How frightened ...
Mayflies are among nature's best environmental sentinels — and their current message to us is grim.
Read more >
The world's insect population is in decline - NPR
In 2019, Biological Conservation reported that 40% of all insects species are declining globally and that a third of them are endangered. And ......
Read more >
Brown Marmorated Stink Bug | US EPA
Brown marmorated stink bugs cause plant damage and are a nuisance to people around homes. Learn more about stink bugs and their control....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found