Re: File-diff broken
- From: Kai Willadsen <kai willadsen gmail com>
- To: Daniel Macks <dmacks netspace org>
- Cc: meld-list <meld-list gnome org>
- Subject: Re: File-diff broken
- Date: Sat, 2 Mar 2013 05:50:21 +1000
On 1 March 2013 23:49, Daniel Macks <dmacks netspace org> wrote:
On Thu, 28 Feb 2013 10:10:39 -0500, Daniel Macks <dmacks netspace org>
wrote:
Using meld-1.7.1 on OS X 10.6 and python27, comparing two files fails
to find differences. The two files are displayed side-by-side, but with
nothing highlighted (but also no "files are the same" banner), and my
terminal reports:
Traceback (most recent call last):
File "/sw/lib/meld/meld/task.py", line 134, in iteration
ret = next(task)
File "/sw/lib/meld/meld/filediff.py", line 1111, in _set_files_internal
for i in self._load_files(files, self.textbuffer):
File "/sw/lib/meld/meld/filediff.py", line 1064, in _load_files
self.set_buffer_writable(t.buf, writable)
File "/sw/lib/meld/meld/filediff.py", line 1455, in set_buffer_writable
self.readonlytoggle[index].set_visible(not writable)
AttributeError: 'gtk.ToggleButton' object has no attribute 'set_visible'
It worked fine in 1.6.1. I get the same results using a newly-created user
account (no leftover preferences from an older version). Is this attribute
recently added to gtk? I'm running a fairly old gnome stack but I don't see
any NEWS or other notes about migrating to gtk3 or other minimum-version
requirements.
Seems to be cured by upgrading pygtk (broken with 2.16.0, fixed with
2.17.0). Is it possible for the build-system to test for it? Regardless,
would be good to note this new requirement in NEWS
This break was unintentional, but at this point 2.16 is really *very*
old. I'm only keeping up support for it out of sympathy with people on
RHEL6. PyGTK doesn't have any way to only enable symbols in version X,
so there's no easy way to check for this; the best way is to have a
few people running Meld from git on older systems. I do try to respond
when people yell.
Anyway, I've fixed this issue in current git. Thanks for letting me know.
cheers,
Kai
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]