Skip to content

ParsingError #19

Description

@axbusch
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

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

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions