[Python-modules-team] Bug#592988: Bug #592988: apache: Messages about incorrect version appear in /var/log/apache2/error.log

Adam D. Barratt adam at adam-barratt.org.uk
Fri Oct 8 19:49:05 UTC 2010


On Sat, 2010-08-14 at 21:04 +0100, Nigel Horne wrote:
> Everytime I restart Apache I get these errors
> in /var/log/apache2/error.log.  The messages don't tell me what's
> generated them or what to do, so I don't know how to fix them.
> 
> [Sat Aug 14 08:31:51 2010] [error] python_init: Python version mismatch, expected '2.6.5+', found '2.6.6rc1+'.
> [Sat Aug 14 08:31:51 2010] [error] python_init: Python executable found '/usr/bin/python'.
> [Sat Aug 14 08:31:51 2010] [error] python_init: Python path being used '/usr/lib/python2.6/:/usr/lib/python2.6/plat-linux2:/usr/lib/python2.6/lib-tk:/usr/lib/python2.6/lib-old:/usr/lib/python2.6/lib-dynload'.

Do these actually break anything?  Looking at the source, after the
messages are emitted the code appears to continue on its way.

If the module really relies on such a specific version of python
relative to the version it was built against, that needs to be reflected
in the dependencies (and would be RC if the mismatch causes the module
to not function correctly).

Regards,

Adam






More information about the Python-modules-team mailing list