]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/bugs/inactive_python_plugins_cause_error_output_when_python_interpreter_is_missing.mdwn
report bug
[git.ikiwiki.info.git] / doc / bugs / inactive_python_plugins_cause_error_output_when_python_interpreter_is_missing.mdwn
1 `/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
3     /usr/bin/env: ‘python3’: No such file or directory
5 the CGI also *sporadically* dies (with signal 13, => HTTP error 500). I don't understand why this is sporadic though.
7 This relates to [[autosetup python warnings]] and some other bugs.
9 This happens even if `rst` and `proxy.py` are not active on the wiki (as they aren't, by default).
11 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.
13 — [[Jon]]