Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rendi7936 opened this issue May 22, 2017 · 1 comment

Comments

@rendi7936
Copy link

rendi7936 commented May 22, 2017

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
Copy link
Author

error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant