Package: meld Version: 1.2.1-1 Severity: normal Trying to compare my system's /etc with the /etc from an old chroot failed. meld still starts up and the UI is responsive but it stops scanning the directories as soon as it finds a file/dir it doesn't have permission to read. I was able to make a hacky fix to easily, but the proper fix would be to handle IOError and add a locked symbol to those files/dirs with no permission to read.
$ meld /etc/ chroot/etc/
Traceback (most recent call last):
File "/usr/lib/meld/task.py", line 130, in iteration
ret = task()
File "/usr/lib/meld/dirdiff.py", line 472, in _search_recursively_iter
allfiles = self._filter_on_state( roots, accumfiles.get() )
File "/usr/lib/meld/dirdiff.py", line 762, in _filter_on_state
if _files_same( curfiles, self.regexes ):
File "/usr/lib/meld/dirdiff.py", line 91, in _files_same
contents = [ open(f, "r").read() for f in lof ]
IOError: [Errno 13] Permission denied: '/etc/at.deny'
This issue is present in the version in stable too, so when it is fixed,
please upload a backport to backports.org.
-- System Information:
Debian Release: 5.0.1
APT prefers stable
APT policy: (800, 'stable'), (700, 'testing'), (600, 'unstable'), (550,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages meld depends on:
ii python 2.5.2-3 An interactive high-level object-o
ii python-glade2 2.12.1-6 GTK+ bindings: Glade support
ii python-gnome2 2.22.0-1 Python bindings for the GNOME desk
ii python-gtk2 2.12.1-6 Python bindings for the GTK+ widge
ii python-support 0.8.4 automated rebuilding support for P
Versions of packages meld recommends:
ii python-gnome2-desktop 2.22.0-2 Python bindings for the GNOME desk
ii yelp 2.22.1-8+b1 Help browser for GNOME 2
--
bye,
pabs
http://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part

