Comment 6 for bug 1195272

Revision history for this message
Märt Põder (boamaod) wrote :

If I try compare GIO URI [1] with meld 3.12.0, I get an error on Ubuntu 14.04:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/meld/meldapp.py", line 73, in do_command_line
    tab = self.parse_args(command_line)
  File "/usr/lib/python2.7/dist-packages/meld/meldapp.py", line 316, in parse_args
    focus=i == 0)
  File "/usr/lib/python2.7/dist-packages/meld/meldapp.py", line 148, in open_files
    return window.open_paths(paths, **kwargs)
  File "/usr/lib/python2.7/dist-packages/meld/meldwindow.py", line 729, in open_paths
    paths, auto_compare=auto_compare, auto_merge=auto_merge)
  File "/usr/lib/python2.7/dist-packages/meld/meldwindow.py", line 667, in append_diff
    dirslist = [p for p in paths if os.path.isdir(p)]
  File "/usr/lib/python2.7/genericpath.py", line 41, in isdir
    st = os.stat(s)
TypeError: coercing to Unicode: need string or buffer, NoneType found

So it seems I need to package the feature to support meld from 3.12.1, which is also the one that is in current Debian stable and is reported to support GIO URIs.

[1] https://mail.gnome.org/archives/meld-list/2015-July/msg00029.html