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

lizard_broken is broken... ? #54

Open
robobenklein opened this issue Aug 8, 2020 · 1 comment
Open

lizard_broken is broken... ? #54

robobenklein opened this issue Aug 8, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@robobenklein
Copy link
Member

[2020-08-08 08:20:43] [    INFO] [__main__ main] Running analyzer on .
[2020-08-08 08:20:43] [    INFO] [analyzer __init__] ./src/banco/Conta.java
Traceback (most recent call last):
  File "/home/ca-worker/venv/lib/python3.6/site-packages/CAanalyzer-0.0.7-py3.6.egg/caanalyzer/analyzer.py", line 814, in __init__
    match = m.search(lines[i])
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ca-worker/venv/bin/ca-analyzer", line 33, in <module>
    sys.exit(load_entry_point('CAanalyzer==0.0.7', 'console_scripts', 'ca-analyzer')())
  File "/home/ca-worker/venv/lib/python3.6/site-packages/CAanalyzer-0.0.7-py3.6.egg/caanalyzer/__main__.py", line 21, in main
    pp.pprint(analyze(args.repopath))
  File "/home/ca-worker/venv/lib/python3.6/site-packages/CAanalyzer-0.0.7-py3.6.egg/caanalyzer/__main__.py", line 11, in analyze
    repo = analyzer.Repo(path, ignorefile, True)
  File "/home/ca-worker/venv/lib/python3.6/site-packages/CAanalyzer-0.0.7-py3.6.egg/caanalyzer/analyzer.py", line 231, in __init__
    file_obj = File(file_path, file_ext, tabsize)
  File "/home/ca-worker/venv/lib/python3.6/site-packages/CAanalyzer-0.0.7-py3.6.egg/caanalyzer/analyzer.py", line 821, in __init__
    fixed_at_error = self.lizard_broken(lines, file_ext)
TypeError: lizard_broken() missing 1 required positional argument: 'func_list'

/tmp/ca-workdir/ca-worker-coretester1/job-https%3A%2F%2Fgithub.com%2FSousa22ko%2FTestResidenciaNuplam.git / ca-analyzer .

@robobenklein robobenklein added the bug Something isn't working label Aug 8, 2020
@jball1997
Copy link
Contributor

This is strange. Can't replicate on my machine. I fixed the issue with that lizard_broke call but the real issue is that it shouldn't have gotten there in the first place.

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

2 participants