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

Fails if there are spaces in one USB-Stick's label #6

Open
lalten opened this issue Jun 29, 2018 · 0 comments
Open

Fails if there are spaces in one USB-Stick's label #6

lalten opened this issue Jun 29, 2018 · 0 comments

Comments

@lalten
Copy link

lalten commented Jun 29, 2018

It may not be smart to have spaces in paths (e.g. /media/laurenz/Timeshift Backup), but from time to time it will still happen.

[ERROR] [1530271672.198548]: Traceback (most recent call last):                                                                                                                                                     
  File "/home/laurenz/catkin_ws/src/ros-system-monitor/bin/hdd_monitor.py", line 275, in check_disk_usage                                                                                                           
    hdd_usage = float(g_use.replace("%", ""))*1e-2                                                                                                                                                                  
ValueError: could not convert string to float: /media/laurenz/Timeshift                                                                                                                                             
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