summaryrefslogtreecommitdiffstats
path: root/tags/p/python-traceback-in-manpage.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/p/python-traceback-in-manpage.tag')
-rw-r--r--tags/p/python-traceback-in-manpage.tag15
1 files changed, 15 insertions, 0 deletions
diff --git a/tags/p/python-traceback-in-manpage.tag b/tags/p/python-traceback-in-manpage.tag
new file mode 100644
index 0000000..a8e762d
--- /dev/null
+++ b/tags/p/python-traceback-in-manpage.tag
@@ -0,0 +1,15 @@
+Tag: python-traceback-in-manpage
+Severity: error
+Check: documentation/manual
+Explanation: The specified manual page contains a Python traceback.
+ .
+ This was probably caused by a call to <code>help2man</code> failing to
+ correctly execute, likely due to an missing or incorrect
+ <code>PYTHONPATH</code> environment variable.
+ .
+ Note that calls to generate manpages from binaries may succeed if the package
+ being built is already installed in the build environment as might locate
+ potentially old copy of the program under <code>/usr/lib/python3</code>. This
+ is fairly common on maintainers' machines, for example. However, in
+ environments where the package is not installed (such as most buildds),
+ generating the manpage may fail and inject a traceback into the manual page.