Skip to content
This repository has been archived by the owner on May 20, 2020. It is now read-only.

Exception thrown when trying analyze Gopkg.lock #10

Open
InfoSec812 opened this issue Mar 5, 2019 · 0 comments
Open

Exception thrown when trying analyze Gopkg.lock #10

InfoSec812 opened this issue Mar 5, 2019 · 0 comments

Comments

@InfoSec812
Copy link

When I ran:

cat Gopkg.lock | patton -e golang

I get the following error:

Traceback (most recent call last):
  File "/usr/local/bin/patton", line 11, in <module>
    load_entry_point('patton-cli==1.0.1', 'console_scripts', 'patton')()
  File "/usr/local/lib/python3.6/dist-packages/patton_cli-1.0.1-py3.6.egg/patton_client/cli.py", line 151, in main
  File "/usr/local/lib/python3.6/dist-packages/patton_cli-1.0.1-py3.6.egg/patton_client/check_dependencies.py", line 19, in check_dependencies
  File "/usr/local/lib/python3.6/dist-packages/patton_cli-1.0.1-py3.6.egg/patton_client/libraries_parsers/__init__.py", line 42, in parse_dependencies
  File "/usr/local/lib/python3.6/dist-packages/patton_cli-1.0.1-py3.6.egg/patton_client/libraries_parsers/golang.py", line 22, in golang_parser
  File "/usr/local/lib/python3.6/dist-packages/patton_cli-1.0.1-py3.6.egg/patton_client/libraries_parsers/golang.py", line 22, in <dictcomp>
IndexError: list index out of range
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant