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

ParsingError #19

Open
axbusch opened this issue Sep 14, 2021 · 0 comments
Open

ParsingError #19

axbusch opened this issue Sep 14, 2021 · 0 comments

Comments

@axbusch
Copy link

axbusch commented Sep 14, 2021

Traceback (most recent call last):
  File "/home/tunstall/.local/bin/ravioli", line 8, in <module>
    sys.exit(main())
  File "/home/tunstall/.local/lib/python3.8/site-packages/ravioli/ravioli.py", line 171, in main
    run(args.source, args)
  File "/home/tunstall/.local/lib/python3.8/site-packages/ravioli/ravioli.py", line 18, in run
    report_ksf_for_all_modules(results, errors, args)
  File "/home/tunstall/.local/lib/python3.8/site-packages/ravioli/ravioli.py", line 89, in report_ksf_for_all_modules
    results = sorted(results, key=itemgetter('ksf'), reverse=True)
TypeError: 'ParsingError' object is not subscriptable

Installed Pytho3 and i have files i can parse without any problem and others produce this error.
Any idea where this can come from?

As the code is closed source i try to fabricate an example

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

1 participant