File: exceptions.html

package info (click to toggle)
dask.distributed 2022.12.1%2Bds.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 10,164 kB
  • sloc: python: 81,938; javascript: 1,549; makefile: 228; sh: 100
file content (54 lines) | stat: -rw-r--r-- 1,351 bytes parent folder | download
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
{% extends main.html %}
{% block content %}

<style>
.workerlist {
  display: inline;
  list-style: none;
}

.workerlist li {
  display: inline;
}

.workerlist li:after {
  content: ", ";
}
.workerlist li:last-child:after {
  content: "";
}
</style>

<div style="max-width: 1200px">
    <h2 class="title is-3">Exceptions</h2>
    {% for ts in erred_tasks %}
    <div class="box">
        <div style="display: inline-block;">
            <p>
                <span>Task:</span>
                <code> <a href="../task/{{ url_escape(ts.key) }}.html">{{ts.key}}</a> </code>
            </p>
            <div>
                <span>Worker(s):</span>
                <ul class="workerlist">
                    {% for w in ts.erred_on %}
                    <li><a href="../worker/{{ url_escape(w) }}.html">{{w}}</a></li>
                    {% end %}
                </ul>
            </div>
            <p>
                <span>Exception:</span>
                <code> {{ ts.exception_text }} </code>
            </p>
        </div>
        <details style="border: 1px solid black; border-radius: 4px; padding: 1em; margin-top: 4px;">
            <summary style="font-weight: bold">Traceback</summary>
            <pre><code>{{ ts.traceback_text }} </code></pre>
        </details>
        <div>
        </div>
    </div>
    {% end %}
</div>

{% end %}