Re: 1.7.3 noise: trying to open a file that does not exist



On 4 June 2013 11:42, Daniel Macks <dmacks netspace org> wrote:
$ touch a
$ rm -f b

$ meld a b

With meld-1.7.2, this opens "a" in the left pane and a "could not read
file..." yellow-bar in the right pane. With meld-1.7.3, there is also a
diagnostic on the terminal:

Traceback (most recent call last):
  File "/sw/lib/meld/meld/task.py", line 112, in iteration
    ret = next(task)
  File "/sw/lib/meld/meld/filediff.py", line 1197, in _set_files_internal
    for i in self._diff_files():
  File "/sw/lib/meld/meld/filediff.py", line 1179, in _diff_files
    langs.append(srcviewer.get_language_from_file(filename))
  File "/sw/lib/meld/meld/util/sourceviewer.py", line 95, in
get_language_from_file
    info = f.query_info(gio.FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE)
Error: Error stating file '/private/tmp/b': No such file or directory

This is fixed in head.

cheers,
Kai


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]