From: jmtd Date: Thu, 2 Apr 2020 09:11:23 +0000 (-0400) Subject: report bug X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/9f20b23c1bc048628d0367d84cbcc2a615b38849?ds=sidebyside report bug --- 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]]