Skip to content

ValueError: invalid literal for float() when running pat-post-process.py #13

@rendi7936

Description

@rendi7936

I am using ./pat run to collect node status data in computer cluster when trying to process big dataset. After the job is done, i want to convert the data with ./pat-post-process.py.

But, I get an error when trying to process the collected data using ./pat-post-process.py. It says ValueError: invalid literal for float(): 91,00.

I think this is because the data using "," not "." for decimal number. The first error showed when trying to process cpu data (with cpu_module.py). So, i change "," in cpustat file to "." and run ./pat-post-process.py. It passed the error.

But, this error affected with disk_module.py and net_module.py, too. And again i change "," to "." in memstat and iostat file to pass the error. It works well.

I'm using Python 2.7.12 (default, Nov 19 2016, 06:48:10) with matplotlib 1.5.1, and xlsxwriter 0.9.6. I hope this issue will be solved later.

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