<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - RFE: Collect Python backtraces"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82507#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - RFE: Collect Python backtraces"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82507">bug 82507</a>
from <span class="vcard"><a class="email" href="mailto:zbyszek@in.waw.pl" title="Zbigniew Jedrzejewski-Szmek <zbyszek@in.waw.pl>"> <span class="fn">Zbigniew Jedrzejewski-Szmek</span></a>
</span></b>
<pre>Yeah, this should be totally doable.
I'm don't think this should live in systemd itself — we moved most of the
Python bits out of systemd. Primary consideration is that Python tends to be
multi-versioned, and then we had to run build and installation multiple times
for different python versions. It worked by was slow and cumbersome. Autotools
also works for Python stuff, but it is not as well integrated as the native
tools.
Basically, we'd define a new MESSAGE_ID specific for Python exceptions, and
then we could dump whatever info needs to be dumped to the journal. So the code
would be more or less like the existing code in abrt's exception_handler, but
slightly simpler.
To make it nice to users, coredumpctl would have to be taught to also look at
this new MESSAGE_ID. This should be simple enough, just integrate it in
'coredumpctl list' and 'info'. There is no coredump, so 'gdb', 'dump' don't
apply.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>