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

Issue reading from CSV files #3

Open
tdunlap607 opened this issue Aug 30, 2023 · 1 comment
Open

Issue reading from CSV files #3

tdunlap607 opened this issue Aug 30, 2023 · 1 comment

Comments

@tdunlap607
Copy link

I'm trying to run secomlint on a CSV file with commit messages.

The CSV file (sample.csv) is in the following format:

message
"Fix bug CVE-123-4567"
"Fix bug CVE-123-7654"

From the command line I execute the following:

secomlint --from-file sample.csv

I receive the following error:

Traceback (most recent call last):
  File ".venv/bin/secomlint", line 8, in <module>
    sys.exit(main())
  File ".venv/lib/python3.8/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File ".venv/lib/python3.8/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File ".venv/lib/python3.8/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File ".venv/lib/python3.8/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File ".venv/lib/python3.8/site-packages/secomlint/__main__.py", line 92, in main
    entities += section.entities
TypeError: 'NoneType' object is not iterable

Any insight to resolve this issue would be highly appreciated :) Thanks!

@sofiaoreis
Copy link
Member

sofiaoreis commented Oct 11, 2023

Hey, sorry for the delay. Could you let me know if you managed to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants