From 9f20b23c1bc048628d0367d84cbcc2a615b38849 Mon Sep 17 00:00:00 2001 From: jmtd Date: Thu, 2 Apr 2020 05:11:23 -0400 Subject: report bug --- ...use_error_output_when_python_interpreter_is_missing.mdwn | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/bugs/inactive_python_plugins_cause_error_output_when_python_interpreter_is_missing.mdwn (limited to 'doc') 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 index 000000000..f62f9738b --- /dev/null +++ b/doc/bugs/inactive_python_plugins_cause_error_output_when_python_interpreter_is_missing.mdwn @@ -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]] -- cgit v1.2.3