#21 glibc-sync-upstream error if patches subdirectory does not exist
Opened by fweimer. Modified

The error I get is this:

info: checking if the broken-out Git repository is current
Traceback (most recent call last):
  File "/home/fweimer/src/my/glibc-maintainer-scripts/glibc-git-to-patches.py", line 50, in <module>
    glibc_patches.spec_not_in_repo(spec_path, repodir)
  File "/home/fweimer/src/my/glibc-maintainer-scripts/lib/python/glibc_patches/__init__.py", line 194, in spec_not_in_repo
    if specdir == repodir or specdir == os.path.dirname(repodir):
  File "/usr/lib64/python3.7/posixpath.py", line 156, in dirname
    p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType
ERROR: upstream sync operation aborted

Other errors have been reported as well.


Metadata