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.

Case has no analysis date?

See original GitHub issue
2019-11-14 17:18:28,869 - scout.server.app - ERROR: Exception on /cust002 [GET] [in /home/hiseq.clinical/miniconda/envs/prod/lib/python3.6/site-packages/flask/app.py:1891]
Traceback (most recent call last):
 File "/home/hiseq.clinical/miniconda/envs/prod/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/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/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/lib/python3.6/site-packages/flask/_compat.py", line 39, in reraise
   raise value
 File "/home/hiseq.clinical/miniconda/envs/prod/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/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/git/scout/scout/server/utils.py", line 26, in decorated_function
   return render_template(template_name, **context)
 File "/home/hiseq.clinical/miniconda/envs/prod/lib/python3.6/site-packages/flask/templating.py", line 140, in render_template
   ctx.app,
 File "/home/hiseq.clinical/miniconda/envs/prod/lib/python3.6/site-packages/flask/templating.py", line 120, in _render
   rv = template.render(context)
 File "/home/hiseq.clinical/miniconda/envs/prod/lib/python3.6/site-packages/jinja2/asyncsupport.py", line 76, in render
   return original_render(self, *args, **kwargs)
 File "/home/hiseq.clinical/miniconda/envs/prod/lib/python3.6/site-packages/jinja2/environment.py", line 1008, in render
   return self.environment.handle_exception(exc_info, True)
 File "/home/hiseq.clinical/miniconda/envs/prod/lib/python3.6/site-packages/jinja2/environment.py", line 780, in handle_exception
   reraise(exc_type, exc_value, tb)
 File "/home/hiseq.clinical/miniconda/envs/prod/lib/python3.6/site-packages/jinja2/_compat.py", line 37, in reraise
   raise value.with_traceback(tb)
 File "/home/hiseq.clinical/SERVER/apps/scout/git/scout/scout/server/blueprints/cases/templates/cases/cases.html", line 285, in top-level template code
   <a href="{{ url_for('variant.sv_variant', institute_id=case.owner, case_name=case.display_name, variant_id=clinvar.local_id) }}" target="_blank">chr{{clinvar.chromosome}}:{{clinvar.breakpoint1}}_{{clinvar.var_type}}</a>
 File "/home/hiseq.clinical/SERVER/apps/scout/git/scout/scout/server/templates/layout_bs4.html", line 1, in top-level template code
   {% extends "bootstrap4.html" %}
 File "/home/hiseq.clinical/SERVER/apps/scout/git/scout/scout/server/templates/bootstrap4.html", line 18, in top-level template code
   {% block body %}
 File "/home/hiseq.clinical/SERVER/apps/scout/git/scout/scout/server/templates/bootstrap4.html", line 21, in block "body"
   {% block content %}
 File "/home/hiseq.clinical/SERVER/apps/scout/git/scout/scout/server/templates/layout_bs4.html", line 80, in block "content"
   {% block content_main %}{% endblock %}
 File "/home/hiseq.clinical/SERVER/apps/scout/git/scout/scout/server/blueprints/cases/templates/cases/cases.html", line 88, in block "content_main"
   <div class="table-responsive">{{ cases_table(group_name, case_group) }}</div>
 File "/home/hiseq.clinical/miniconda/envs/prod/lib/python3.6/site-packages/jinja2/runtime.py", line 574, in _invoke
   rv = self._func(*arguments)
 File "/home/hiseq.clinical/SERVER/apps/scout/git/scout/scout/server/blueprints/cases/templates/cases/cases.html", line 180, in template
   {{ case_row(case) }}
 File "/home/hiseq.clinical/miniconda/envs/prod/lib/python3.6/site-packages/jinja2/runtime.py", line 574, in _invoke
   rv = self._func(*arguments)
 File "/home/hiseq.clinical/SERVER/apps/scout/git/scout/scout/server/blueprints/cases/templates/cases/cases.html", line 220, in template
   {{ case.analysis_date.date() }}
jinja2.exceptions.UndefinedError: 'str object' has no attribute 'date'

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14

github_iconTop GitHub Comments

1reaction
emiliaolcommented, Nov 14, 2019

Toppen, tack!

1reaction
emiliaolcommented, Nov 14, 2019

Funkar fint nu! Men det du säger är att om Scout hade varit uppdaterad på hasta när jag laddade upp caset med den här configen så hade det fungerat?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Start Case Analysis Pro to Predict the Processing Time of Your ...
Specifically, this date is based on registered case data in Lawfully Case Tracker from December 1st, 2018 to present. We don't just pinpoint...
Read more >
How to Brief a Case
A case brief is a dissection of a judicial opinion -- it contains a written ... Case briefing helps you acquire the skills...
Read more >
Filing Motions To Resolve The Case Or Narrow Issues
Your deadline for filing a reply depends on which court your case is in. If you are in the district court, you can...
Read more >
Analytic Implications and Management Strategies For Missing ...
Patients with missing data at one year may be missing for reasons unrelated to the outcome of interest (e.g., they changed their contact...
Read more >
Analyze Data in Excel - Microsoft Support
Analyze Data doesn't currently support analyzing datasets over 1.5 million cells. There is currently no workaround for this. · String dates like "2017-01-01" ......
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