Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"failed to catalog" error when scanning Python apps #200

Closed
luoyimu1 opened this issue Nov 6, 2020 · 2 comments
Closed

"failed to catalog" error when scanning Python apps #200

luoyimu1 opened this issue Nov 6, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@luoyimu1
Copy link

luoyimu1 commented Nov 6, 2020

What happened:
"failed to catalog" error when scanning Python apps:
[0006] ERROR failed to catalog: 1 error occurred:
unable to catalog python package=/usr/local/lib/python3.9/site-packages/distlib-0.3.1.dist-info/METADATA: missing python package top_level.txt (package="/usr/local/lib/python3.9/site-packages/distlib-0.3.1.dist-info/METADATA")

What you expected to happen:
I dunno if top_level.txt is required in Python eggs, or whether Grype thinks they are required, but they are not really required

How to reproduce it (as minimally and precisely as possible):
Python app source code:
https://github.com/luoyimu1/hermitcrab
Grype cmd I ran: grype --scope all-layers

Anything else we need to know?:

Environment:

  • Output of grype version: 0.1.0, 0.2.0
  • OS (e.g: cat /etc/os-release or similar): Linux
@luoyimu1 luoyimu1 added the bug Something isn't working label Nov 6, 2020
@wagde-orca
Copy link

@wagoodman i believe this is the same issue you fixed in syft. Right?
when do you expect to have the fix integrated in grype?

@luhring
Copy link
Contributor

luhring commented Nov 12, 2020

Closing as duplicate to anchore/syft#259 — please see that issue for details. Thanks!

@luhring luhring closed this as completed Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants