Control: retitle -1 python-lockfile: TypeError when python-daemon uses LinkFileLock Control: tags -1 + moreinfo
On 27-Mar-2017, Neil Williams wrote: > Package: python-lockfile > Version: 1:0.12.2-2~bpo8+1 > Severity: important I think the reported version is not the one used to produce the behaviour: > root@debian:/home/neil# lava-coordinator > Traceback (most recent call last): > File "/usr/bin/lava-coordinator", line 27, in <module> > import daemon.pidlockfile > File "/usr/lib/pymodules/python2.7/daemon/pidlockfile.py", line 33, in > <module> > class PIDLockFile(LinkFileLock, object): > TypeError: Error when calling the metaclass bases > function() argument 1 must be code, not str At version 0.12.2, there is no ‘daemon/pidlockfile.py’ in the ‘python-daemon’ code base. This is because the ‘LinkFileLock’ API was deprecated in ‘python-lockfile’ version 0.9 and above. So any version of ‘python-daemon’ that depends on lockfile post-0.9 does not use ‘LinkLockFile’ at all. I think the environment running the above code has an earlier ‘python-daemon’ using a later (incompatible) ‘python-lockfile’. Can you attempt to reproduce in an environment where you have direct control over the package versions? -- \ “It is the integrity of each individual human that is in final | `\ examination. On personal integrity hangs humanity's fate.” | _o__) —Richard Buckminster Fuller, _Critical Path_, 1981 | Ben Finney <bign...@debian.org>
signature.asc
Description: PGP signature