Skip to content

Commit

Permalink
User reporting: linting, tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
hujambo-dunia committed Jan 14, 2025
1 parent 21a10e0 commit df75159
Showing 1 changed file with 85 additions and 91 deletions.
176 changes: 85 additions & 91 deletions lib/galaxy/config/templates/mail/error-report-dataset.html
Original file line number Diff line number Diff line change
@@ -1,93 +1,87 @@
<html>
<body>
<h1>Galaxy Tool Error Report</h1>
<span class="sub">
<i>from </i>
<span style="font-family: monospace;">
<a href="${host}">${host}</a>
</span>
</span>
<h3>Error Localization</h3>
<table style="margin:1em">
<tbody>
<tr>
<td>Dataset</td>
<td>
<a href="${hda_show_params_link}">${dataset_id} (${dataset_id_encoded})</a>
</td>
</tr>
<tr style="background-color: #f2f2f2">
<td>History</td>
<td>
<a href="${history_view_link}">${history_id} (${history_id_encoded})</a>
</td>
</tr>
<tr>
<td>Failed Job</td>
<td>${hid}: ${history_item_name} (${hda_id_encoded})</td>
</tr>
</tbody>
</table>
<h3>User Provided Information</h3>

The user
<span style="font-family: monospace;">${email_str}</span> provided the following information:

<pre style="white-space: pre-wrap;background: #eeeeee;border:1px solid black;padding:1em;">
${message}
</pre>
<h3>Detailed Job Information</h3>

Job environment and execution information is available at the job
<a href="${hda_show_params_link}">info page</a>.

<table style="margin:1em">
<tbody>
<tr>
<td>Job ID</td>
<td>${job_id} (${job_id_encoded})</td>
</tr>
<tr style="background-color: #f2f2f2">
<td>Tool ID</td>
<td>${job_tool_id}</td>
</tr>
<tr>
<td>Tool Version</td>
<td>${tool_version}</td>
</tr>
<tr style="background-color: #f2f2f2">
<td>Job PID or DRM id</td>
<td>${job_runner_external_id}</td>
</tr>
<tr>
<td>Job Tool Version</td>
<td>${job_tool_version}</td>
</tr>
</tbody>
</table>
<h3>Job Execution and Failure Information</h3>
<h4>Command Line</h4>
<pre style="white-space: pre-wrap;background: #eeeeee;border:1px solid black;padding:1em;">
${job_command_line}
</pre>
<h4>stderr</h4>
<pre style="white-space: pre-wrap;background: #eeeeee;border:1px solid black;padding:1em;">
${job_stderr}
</pre>
<h4>stdout</h4>
<pre style="white-space: pre-wrap;background: #eeeeee;border:1px solid black;padding:1em;">
${job_stdout}
</pre>
<h4>Job Information</h4>
<pre style="white-space: pre-wrap;background: #eeeeee;border:1px solid black;padding:1em;">
${job_info}
</pre>
<h4>Job Traceback</h4>
<pre style="white-space: pre-wrap;background: #eeeeee;border:1px solid black;padding:1em;">
${job_traceback}
</pre>

This is an automated message. Do not reply to this address.

</body>
<body>
<h1>Galaxy Tool Error Report</h1>
<span class="sub">
<i>from </i>
<span style="font-family: monospace;">
<a href="${host}">${host}</a>
</span>
</span>
<h3>Error Localization</h3>
<table style="margin:1em">
<tbody>
<tr>
<td>Dataset</td>
<td>
<a href="${hda_show_params_link}">${dataset_id} (${dataset_id_encoded})</a>
</td>
</tr>
<tr style="background-color: #f2f2f2">
<td>History</td>
<td>
<a href="${history_view_link}">${history_id} (${history_id_encoded})</a>
</td>
</tr>
<tr>
<td>Failed Job</td>
<td>${hid}: ${history_item_name} (${hda_id_encoded})</td>
</tr>
</tbody>
</table>
<h3>User Provided Information</h3>
The user
<span style="font-family: monospace;">${email_str}</span> provided the following information:
<pre style="white-space: pre-wrap;background: #eeeeee;border:1px solid black;padding:1em;">
${message}
</pre>
<h3>Detailed Job Information</h3>
Job environment and execution information is available at the job
<a href="${hda_show_params_link}">info page</a>.
<table style="margin:1em">
<tbody>
<tr>
<td>Job ID</td>
<td>${job_id} (${job_id_encoded})</td>
</tr>
<tr style="background-color: #f2f2f2">
<td>Tool ID</td>
<td>${job_tool_id}</td>
</tr>
<tr>
<td>Tool Version</td>
<td>${tool_version}</td>
</tr>
<tr style="background-color: #f2f2f2">
<td>Job PID or DRM id</td>
<td>${job_runner_external_id}</td>
</tr>
<tr>
<td>Job Tool Version</td>
<td>${job_tool_version}</td>
</tr>
</tbody>
</table>
<h3>Job Execution and Failure Information</h3>
<h4>Command Line</h4>
<pre style="white-space: pre-wrap;background: #eeeeee;border:1px solid black;padding:1em;">
${job_command_line}
</pre>
<h4>stderr</h4>
<pre style="white-space: pre-wrap;background: #eeeeee;border:1px solid black;padding:1em;">
${job_stderr}
</pre>
<h4>stdout</h4>
<pre style="white-space: pre-wrap;background: #eeeeee;border:1px solid black;padding:1em;">
${job_stdout}
</pre>
<h4>Job Information</h4>
<pre style="white-space: pre-wrap;background: #eeeeee;border:1px solid black;padding:1em;">
${job_info}
</pre>
<h4>Job Traceback</h4>
<pre style="white-space: pre-wrap;background: #eeeeee;border:1px solid black;padding:1em;">
${job_traceback}
</pre>
This is an automated message. Do not reply to this address.
</body>
</html>

0 comments on commit df75159

Please sign in to comment.