[Pkg-freeipa-devel] Bug#891450: custodia FTBFS: TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

Adrian Bunk bunk at debian.org
Fri Nov 23 07:54:10 GMT 2018

On Fri, Nov 23, 2018 at 08:34:45AM +0200, Timo Aaltonen wrote:
> On 21.4.2018 23.27, Ben Finney wrote:
> > On 25-Feb-2018, Adrian Bunk wrote:
> >> Source: custodia
> > 
> > I Think this is the correct assignment for this bug report.
> > 
> > See the command-line used to invoke the coverage module:
> > 
> >> ERROR: InvocationError: '/build/1st/custodia-0.5.0/.tox/py36/bin/python -m coverage run --parallel -m pytest --capture=no --strict --skip-servertests'
> > 
> > Note that the command line calls ‘[…]python -m coverage run’ but
> > specifies no tests to run. That's why the ‘coverage’ module eventually
> > complains that the path that was specified is None.
> > 
> > Somehow, the ‘custodia’ test suite is invoking ‘coverage’ in such a
> > way that no path is specified.
> Well, it seems to build fine on my sbuild these days, so whatever caused
> the error doesn't seem to be true anymore.

It seems to fail with the common encoding error now in C locale:


In debian/rules add:
export LC_ALL=C.UTF-8

> t



       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

More information about the Pkg-freeipa-devel mailing list