archey error


Traceback (most recent call last):
File "/usr/bin/archey", line 304, in <module>
func()
File "/usr/bin/archey", line 288, in disk_display
usedpercent = float(re.sub("[A-Z]", "", used)) / float(re.sub("[A-Z]", "", size)) * 100
ValueError: invalid literal for float(): 6,2

penampan error archey di terminal saya, ini solusi nya :

$ sudo gedit /usr/bin/archey

lalu cari baris,

archey

lalu ubah seperti berikut,

used = re.sub(",",".",total.split()[3])
size = re.sub(",",".",total.split()[2])

save.. dan selesai

sebelumnya saya install dengan cara berikut,

$ sudo apt-get install lsb-release scrot
$ wget http://github.com/downloads/djmelik/archey/archey-0.2.8.deb
$ sudo dpkg -i archey-0.2.8.deb

Ubuntu 13.10 i686
sumber : https://github.com/djmelik/archey/issues/7

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s