Skip to content

Macro Rendering Error

File: comparison.md

ValueError: invalid literal for int() with base 10: '1024 (0 bubble)'

Traceback (most recent call last):
  File "/home/runner/.cache/pypoetry/virtualenvs/cpu-xkbKtu5s-py3.10/lib/python3.10/site-packages/mkdocs_macros/plugin.py", line 527, in render
    return md_template.render(**page_variables)
  File "/home/runner/.cache/pypoetry/virtualenvs/cpu-xkbKtu5s-py3.10/lib/python3.10/site-packages/jinja2/environment.py", line 1304, in render
    self.environment.handle_exception()
  File "/home/runner/.cache/pypoetry/virtualenvs/cpu-xkbKtu5s-py3.10/lib/python3.10/site-packages/jinja2/environment.py", line 939, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "<template>", line 64, in top-level template code
  File "/home/runner/work/cpu/cpu/main.py", line 154, in firestorm_oryon_comparison
    data.loc[index, field] = str(int(row[field]))
ValueError: invalid literal for int() with base 10: '1024 (0 bubble)'