]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
report bug
authorjmtd <jmtd@web>
Thu, 2 Apr 2020 09:11:23 +0000 (05:11 -0400)
committeradmin <admin@branchable.com>
Thu, 2 Apr 2020 09:11:23 +0000 (05:11 -0400)
doc/bugs/inactive_python_plugins_cause_error_output_when_python_interpreter_is_missing.mdwn [new file with mode: 0644]

diff --git a/doc/bugs/inactive_python_plugins_cause_error_output_when_python_interpreter_is_missing.mdwn b/doc/bugs/inactive_python_plugins_cause_error_output_when_python_interpreter_is_missing.mdwn
new file mode 100644 (file)
index 0000000..f62f973
--- /dev/null
@@ -0,0 +1,13 @@
+`/usr/local/lib/ikiwiki/plugins/rst` and `/usr/local/lib/ikiwiki/plugins/proxy.py` provoke the following error output during some CGI operations if there is no python3 interpreter available
+
+    /usr/bin/env: ‘python3’: No such file or directory
+
+the CGI also *sporadically* dies (with signal 13, => HTTP error 500). I don't understand why this is sporadic though.
+
+This relates to [[autosetup python warnings]] and some other bugs.
+
+This happens even if `rst` and `proxy.py` are not active on the wiki (as they aren't, by default).
+
+A hacky quick solution might be to rename rst rst.py and for IkiWiki to avoid scanning plugins that end in .py if they are not enabled.
+
+— [[Jon]]