Invalid literal for float(): 3,7

Hi @ all. I’ve just installed Rockstor on an Laptop and completed the Installation.
If I log into the web-based application and want to add any disk, there is nothing displayed and if I click on Rescan:

invalid literal for float(): 3,7

        Traceback (most recent call last):

File “/opt/rockstor/src/rockstor/rest_framework_custom/generic_view.py”, line 40, in _handle_exception
yield
File “/opt/rockstor/src/rockstor/storageadmin/views/disk.py”, line 272, in post
return self._update_disk_state()
File “/opt/rockstor/eggs/Django-1.6.11-py2.7.egg/django/db/transaction.py”, line 371, in inner
return func(*args, **kwargs)
File “/opt/rockstor/src/rockstor/storageadmin/views/disk.py”, line 62, in _update_disk_state
disks = scan_disks(settings.MIN_DISK_SIZE)
File “/opt/rockstor/src/rockstor/system/osi.py”, line 320, in scan_disks
dmap[‘SIZE’] = int(float(size_str[:-1]) * 1024 * 1024 * 1024)
ValueError: invalid literal for float(): 3,7

this happens. I’m really fresh at NAS and Linux but I hope you can help me out.

Thanks!

So I managed to deal with the problem on my own.

I had a error on the time due to my Location in Germany.
To solve the problem I completed the tasks on https://forum.rockstor.com/t/solved-unable-to-check-update-due-to-a-system-error-time-data-mo-20-jun-2016-does-not-match-format-a-d-b-y/2178/3

1 Like