Source: python-django-imagekit
Version: 4.0.2-2
Severity: serious
Tags: ftbfs bullseye sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-django-imagekit.html

...
======================================================================
ERROR: tests.test_cachefiles.test_no_source_error
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/usr/lib/python3/dist-packages/nose/tools/nontrivial.py", line 60, in 
newfunc
    func(*arg, **kw)
  File "/build/1st/python-django-imagekit-4.0.2/tests/test_cachefiles.py", line 
49, in test_no_source_error
    file.generate()
  File 
"/build/1st/python-django-imagekit-4.0.2/imagekit/cachefiles/__init__.py", line 
94, in generate
    self.cachefile_backend.generate(self, force)
  File 
"/build/1st/python-django-imagekit-4.0.2/imagekit/cachefiles/backends.py", line 
109, in generate
    self.generate_now(file, force=force)
  File 
"/build/1st/python-django-imagekit-4.0.2/imagekit/cachefiles/backends.py", line 
94, in generate_now
    if force or self.get_state(file) not in (CacheFileState.GENERATING, 
CacheFileState.EXISTS):
  File 
"/build/1st/python-django-imagekit-4.0.2/imagekit/cachefiles/backends.py", line 
68, in get_state
    exists = self._exists(file)
  File 
"/build/1st/python-django-imagekit-4.0.2/imagekit/cachefiles/backends.py", line 
113, in _exists
    or file.storage.exists(file.name))
  File "/usr/lib/python3/dist-packages/django/core/files/storage.py", line 310, 
in exists
    return os.path.exists(self.path(name))
  File "/usr/lib/python3/dist-packages/django/core/files/storage.py", line 323, 
in path
    return safe_join(self.location, name)
  File "/usr/lib/python3/dist-packages/django/utils/_os.py", line 32, in 
safe_join
    final_path = abspath(join(base, *paths))
  File "/usr/lib/python3.8/posixpath.py", line 90, in join
    genericpath._check_arg_types('join', a, *p)
  File "/usr/lib/python3.8/genericpath.py", line 152, in _check_arg_types
    raise TypeError(f'{funcname}() argument must be str, bytes, or '
TypeError: join() argument must be str, bytes, or os.PathLike object, not 
'NoneType'

----------------------------------------------------------------------
Ran 37 tests in 0.581s

FAILED (errors=1)
Destroying test database for alias 'default'...
nosetests tests -s --cover-tests --cover-html --cover-package=imagekit 
--cover-html-dir=/build/1st/python-django-imagekit-4.0.2/tests/cover 
--verbosity=1
E: pybuild pybuild:341: test: plugin distutils failed with: exit code=1: 
python3.8 setup.py test 
dh_auto_test: error: pybuild --test -i python{version} -p "3.8 3.7" returned 
exit code 13
make: *** [debian/rules:9: build] Error 25

Reply via email to