DiskSpace applet crashes when mount point is changed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Individual Screenlets |
New
|
Undecided
|
Unassigned |
Bug Description
On Mageia-1, w/screenlets-0.1.6, changing the mount point gen's the following when the applet is started/restarted:
Loading instances from cache
CachingBackend: Loading <DiskSpace1>
opacity='1.0'
scale='1.0'
theme_name=
is_sticky='True'
width='220'
mount_points=
is_widget='False'
height='66'
draw_buttons='True'
keep_above='False'
lock_position=
is_dragged='False'
keep_below='True'
y='27'
x='529'
update_
skip_taskbar='True'
Found a running session of DiskSpace, adding new instance by service.
Error in screenlets.
Screenlet has already been added to /tmp/screenlets
Loading instances in: /home/mikem/
Loaded config from: DiskSpace1.ini
Set options in DiskSpaceScreenlet
Traceback (most recent call last):
File "./DiskSpaceScr
screenlets.
File "/usr/lib/
session.start()
File "/usr/lib/
if self.__
File "/usr/lib/
self.
File "/usr/lib/
setattr(
File "/usr/lib/
self.
File "./DiskSpaceScr
self.
File "./DiskSpaceScr
self.timeout()
File "./DiskSpaceScr
self.
File "./DiskSpaceScr
self.
TypeError: integer argument expected, got float
[1]+ Exit 1 ./DiskSpaceScre
This happens whenever /home/username/
DIskSpace screenlet uses df to obtain free space on a mounted partition. You should provide absolute path to the root directory of the mounted partition.
Regards,
Rastko Karadzic