Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

python error compilation #7

Open
MaximCosta opened this issue Oct 7, 2021 · 0 comments
Open

python error compilation #7

MaximCosta opened this issue Oct 7, 2021 · 0 comments

Comments

@MaximCosta
Copy link

MaximCosta commented Oct 7, 2021

Traceback (most recent call last):
  File "/usr/local/lib/bubulle/bubulle-py/run_check.py", line 115, in run
    ast = parse_file(tmp, use_cpp=True, cpp_args=c_utils.includes)
  File "/home/maxim/.local/lib/python3.9/site-packages/pycparser/__init__.py", line 90, in parse_file
    return parser.parse(text, filename)
  File "/home/maxim/.local/lib/python3.9/site-packages/pycparser/c_parser.py", line 149, in parse
    return self.cparser.parse(
  File "/home/maxim/.local/lib/python3.9/site-packages/pycparser/ply/yacc.py", line 331, in parse
    return self.parseopt_notrack(input, lexer, debug, tracking, tokenfunc)
  File "/home/maxim/.local/lib/python3.9/site-packages/pycparser/ply/yacc.py", line 1199, in parseopt_notrack
    tok = call_errorfunc(self.errorfunc, errtoken, self)
  File "/home/maxim/.local/lib/python3.9/site-packages/pycparser/ply/yacc.py", line 193, in call_errorfunc
    r = errorfunc(token)
  File "/home/maxim/.local/lib/python3.9/site-packages/pycparser/c_parser.py", line 1863, in p_error
    self._parse_error('At end of input', self.clex.filename)
  File "/home/maxim/.local/lib/python3.9/site-packages/pycparser/plyparser.py", line 67, in _parse_error
    raise ParseError("%s: %s" % (coord, msg))
pycparser.plyparser.ParseError: ./check_raw.c.tmp: At end of input

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/bubulle/bubulle-py/report_generator.py", line 122, in run_checks
    runcheck.run()
  File "/usr/local/lib/bubulle/bubulle-py/run_check.py", line 121, in run
    BuErrors.print_error(self.full_path, self.file_name, int(line[1]) + header_lines,
ValueError: invalid literal for int() with base 10: ' At end of input'
invalid literal for int() with base 10: ' At end of input'

j'ai une belle erreur quand j'enleve le flag -ic

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