Your message dated Sun, 04 Mar 2012 11:02:29 +0000
with message-id <[email protected]>
and subject line Bug#662058: Removed package(s) from unstable
has caused the Debian Bug report #493212,
regarding trash-cli: output of 'df' misinterpreted on non-english systems or
systems using long device names.
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
493212: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493212
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: trash-cli
Version: 0.1.10.28-2
Severity: important
Hi !
Whenever I try to use trash-cli operations (list-trash or empty-trash),
I get the following error:
$ list-trash
Traceback (most recent call last):
File "/usr/bin/list-trash", line 5, in <module>
for trashedfile in TrashDirectory.allTrashedFiles() :
File "/var/lib/python-support/python2.5/libtrash.py", line 221, in
allTrashedFiles
for volume in Volume.all() :
File "/var/lib/python-support/python2.5/libtrash.py", line 481, in all
return [ Volume(elem) for elem in Volume.__mount_list()]
File "/var/lib/python-support/python2.5/libtrash.py", line 473, in
__mount_list
file_sys,disc_size,disc_used,disc_avail,disc_cap_pct,mount=df_list.split()
ValueError: too many values to unpack
This results from the fact that my 'df' output below, is not properly
parsed by /var/lib/python-support/python2.5/libtrash.py
$ df
Sys. de fich. Tail. Occ. Disp. %Occ. Monté sur
/dev/mapper/pomme-root
12G 8,4G 2,9G 75% /
tmpfs 505M 8,0K 505M 1% /lib/init/rw
udev 10M 96K 10M 1% /dev
tmpfs 505M 0 505M 0% /dev/shm
/dev/hda3 278M 89M 174M 34% /boot
/dev/mapper/pomme-home
33G 18G 14G 56% /home
I see two problems:
1) libtrash.py tries to ignore the first line by looking for
"filesystem", but this string is not present in the localised output.
Using LC_ALL=C helps for this issue, but I get a similar error due to the
second line.
2) I am using lvm, which results in relatively long names for device
names, causing some \n characters in the output. Therefore one
filesystem is represented by more than one line. When libtrash.py reads
the second line, it gets only one element:
ValueError: need more than 1 value to unpack
replacing 'df' by 'df -P' on line 472 helps, but I am not sure it is the
best way.
Best regards,
Cédric Boutillier
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable'), (700, 'testing'), (200, 'experimental')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.25-mol-ice
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages trash-cli depends on:
ii python 2.5.2-2 An interactive high-level object-o
ii python-support 0.8.5 automated rebuilding support for P
trash-cli recommends no packages.
trash-cli suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 0.1.10.28-2+rm
Dear submitter,
as the package trash-cli has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see http://bugs.debian.org/662058
The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].
Debian distribution maintenance software
pp.
Joerg Jaspert (the ftpmaster behind the curtain)
--- End Message ---