[Python-modules-team] Bug#793945: affects lava-server

Neil Williams codehelp at debian.org
Thu Jul 30 07:55:30 UTC 2015


affects 793945 + lava-server
thanks

With this version of python-mock installed, any lava-server instance
will raise a HTTP 500 error on all apache access.

In the /var/log/apache2/lava-server.log you'll find something like:

[Thu Jul 30 08:11:14.552339 2015] [wsgi:error] [pid 26284:tid
140572143683328] [remote 127.0.0.1:512]     _v =
VersionInfo('mock').semantic_version() 
[Thu Jul 30 08:11:14.552366 2015] [wsgi:error] [pid 26284:tid
140572143683328] [remote 127.0.0.1:512] AttributeError: 'VersionInfo'
object has no attribute 'semantic_version'

Workaround:
# if you have a stretch or jessie apt source
apt-get install python-mock=1.0.1-3
apt-mark hold python-mock
apache2ctl restart

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20150730/3307fc09/attachment.sig>


More information about the Python-modules-team mailing list