PAT icon indicating copy to clipboard operation
PAT copied to clipboard

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

Open rendi7936 opened this issue 8 years ago • 1 comments

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.

rendi7936 avatar May 22 '17 23:05 rendi7936

error

rendi7936 avatar May 22 '17 23:05 rendi7936