root/galaxy-central/templates/dataset/errors.mako @ 3

リビジョン 2, 3.1 KB (コミッタ: hatakeyama, 14 年 前)

import galaxy-central

行番号 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html>
3    <head>
4        <title>Dataset generation errors</title>
5        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6        <link href="/static/style/base.css" rel="stylesheet" type="text/css" />
7        <style>
8            pre
9            {
10                background: white;
11                color: black;
12                border: dotted black 1px;
13                overflow: auto;
14                padding: 10px;
15            }
16        </style>
17    </head>
18
19    <body>
20        <h2>Dataset generation errors</h2>
21        <p><b>Dataset ${hda.hid}: ${hda.display_name()}</b></p>
22
23        %if hda.creating_job_associations:
24            <% job = hda.creating_job_associations[0].job %>
25            %if job.traceback:
26                The Galaxy framework encountered the following error while attempting to run the tool:
27                <pre>${job.traceback}</pre>
28            %endif
29            %if job.stderr or job.info:
30                Tool execution generated the following error message:
31                %if job.stderr:
32                    <pre>${job.stderr}</pre>
33                %elif job.info:
34                    <pre>${job.info}</pre>
35                %endif
36            %else:
37                Tool execution did not generate any error messages.
38            %endif
39            %if job.stdout:
40                The tool produced the following additional output:
41                <pre>${job.stdout}</pre>
42            %endif
43        %else:
44            The tool did not create any additional job / error info.
45        %endif
46        <%
47            if trans.user:
48                user_email = trans.user.email
49            else:
50                user_email = ''
51        %>
52        <h2>Report this error to the Galaxy Team</h2>
53        <p>
54            The Galaxy team regularly reviews errors that occur in the application.
55            However, if you would like to provide additional information (such as
56            what you were trying to do when the error occurred) and a contact e-mail
57            address, we will be better able to investigate your problem and get back
58            to you.
59        </p>
60        <div class="toolForm">
61            <div class="toolFormTitle">Error Report</div>
62            <div class="toolFormBody">
63                <form name="report_error" action="${h.url_for( action='report_error')}" method="post" >
64                    <input type="hidden" name="id" value="${hda.id}" />
65                    <div class="form-row">
66                        <label>Your email</label>
67                        <input type="text" name="email" size="40" value="${user_email}" />
68                    </div>
69                    <div class="form-row">
70                        <label>Message</label>
71                        <textarea name="message" rows="10" cols="40"></textarea>
72                    </div>
73                    <div class="form-row">
74                        <input type="submit" value="Report"/>
75                    </div>
76                </form>
77            </div>
78      </div>
79    </body>
80</html>
Note: リポジトリブラウザについてのヘルプは TracBrowser を参照してください。