Skip to content

ValueError when parsing log file #1

@walbermr

Description

@walbermr

Hello, I am trying to use the analyzer you developed but I am having some issues when using it.

I'm using python3.6 as you pointed in the repo, my rcssserver version is 15.4 and I also tried with version 15.5 but when I try to parse the log file I get this error after finished extraction:

Traceback (most recent call last): File "/usr/lib/python3.6/tkinter/__init__.py", line 1708, in __call__ return self.func(*args) File "main.py", line 82, in _open_log_file analyzer.extract_log_file() File "/home/walber/Desktop/robocin/RcssAnalyzer/Analyzer.py", line 142, in extract_log_file player = {'Side': 'Right', 'Unum': int(splited[2].split('_')[1][:-1])} ValueError: invalid literal for int() with base 10: 'bas'

I suspect that the log files pattern differ from one server version to another, can you specify which version do you use, so I can test that.

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions