aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/error.html
blob: f38d6dcacab5290a5b471e5ab190da6aae96e0eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{% extends "index_page.html" %}
{% block title %}Error: {{message}}{% endblock %}
{% block content %}
<!-- Start of body -->

<div class="col-md-8">
<div class="form-group has-error">
  <div class="control-label" for="inputError1">

    <img src="/static/gif/error/{{ error_image }}">

    <h1>ERROR</h1>

    <p>
      This error is not what we wanted to see. Unfortunately errors
      are part of all software systems and we need to resolve this
      together. Try using the GN2 <a href="https://fallback.genenetwork.org/">Fallback instance.</a>
    </p>
    <p>
      <b>It is important to report this ERROR so we can fix it for everyone</b>.
    </p>

    <p>
      Report to the GeneNetwork team by recording the steps you take
      to reproduce this ERROR. Next to those steps, copy-paste below
      stack trace, either as
      a <a href="https://github.com/genenetwork/genenetwork2/issues/new">new
      issue</a> or E-mail this full page to one of the developers
      directly.
    </p>
  </div>

  <p>
  (GeneNetwork error: {{message[:128]}})
  </p>

  <pre>
    GeneNetwork {{ version }} {{ stack[0] }}
    {{ message }} (error)
    {{ stack[-3] }}
    {{ stack[-2] }}
  </pre>

  <p>
    To check if this already a known issue, search the
    <a href="https://github.com/genenetwork/genenetwork2/issues">issue
      tracker</a>.
  </p>

  <a href="#Stack" class="btn btn-default" data-toggle="collapse">Toggle full stack trace</a>
  <div id="Stack" class="collapse">
    <pre>
      GeneNetwork {{ version }} {% for line in stack %} {{ line }}
      {% endfor %}
    </pre>
  </div>
</div>
</div>


{% endblock %}