aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/inactive_python_plugins_cause_error_output_when_python_interpreter_is_missing.mdwn
blob: f62f9738b709b1ba324b6bc7605108c638db4200 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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]]