Skip to content

Error when running rootfs pipeline on rootfs tarball #196

Description

@cco3

This doesn't happen for me on all images, just some, so I don't know what the issue is. (I haven't really investigated the code here.)

'NoneType' object has no attribute 'merge'

Traceback:
  File "/opt/scancodeio/scanpipe/pipelines/__init__.py", line 96, in execute
    step(self)
  File "/opt/scancodeio/scanpipe/pipelines/root_filesystems.py", line 54, in find_root_filesystems
    self.root_filesystems = list(rootfs.RootFs.from_project_codebase(self.project))
  File "/opt/scancodeio/scanpipe/pipes/rootfs.py", line 101, in from_project_codebase
    yield RootFs(location=rootfs_location)
  File "<attrs generated init scanpipe.pipes.rootfs.RootFs>", line 4, in __init__
    self.__attrs_post_init__()
  File "/opt/scancodeio/scanpipe/pipes/rootfs.py", line 88, in __attrs_post_init__
    self.distro = Distro.from_rootfs(self.location)
  File "/usr/local/lib/python3.9/site-packages/container_inspector/distro.py", line 355, in from_rootfs
    return base_distro.merge(found)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions