[Bug 578121] Re: meld regression - now inaccurately highlights file differences
it was already fixed in 11.04 natty with meld 1.5.0. But it is not recommended to install this version in lucid as it has many regressions to 1.3.0. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/578121 Title: meld regression - now inaccurately highlights file differences To manage notifications about this bug go to: https://bugs.launchpad.net/meld/+bug/578121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 578121] Re: meld regression - now inaccurately highlights file differences
Thank you for taking the time to report this bug and helping to make Ubuntu better. However, I am closing it because the bug has been fixed in the latest development version of Ubuntu - Oneiric Ocelot. This issue was fixed in commit d6bb4e6ec4bb9cbcf7a1c8e56a0ea79dd6599c9b to apply it in lucid the change must be backported to 1.3.0 If you need a fix for the bug in previous versions of Ubuntu, please do steps 1 and 2 of the SRU Procedure [1] to bring the need to a developer's attention. [1]: https://wiki.ubuntu.com/StableReleaseUpdates#Procedure ** Changed in: meld (Ubuntu) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/578121 Title: meld regression - now inaccurately highlights file differences To manage notifications about this bug go to: https://bugs.launchpad.net/meld/+bug/578121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 578121] Re: meld regression - now inaccurately highlights file differences
I'm experiencing an even more severe version of this bug on Natty with Meld 1.5.0-0ubuntu1 - if I open files with Windows line endings, Meld simply stops responding with the status message Computing differences -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/578121 Title: meld regression - now inaccurately highlights file differences To manage notifications about this bug go to: https://bugs.launchpad.net/meld/+bug/578121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 578121] Re: meld regression - now inaccurately highlights file differences
@17 your problem is probably bug 774265 or bug 786134 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/578121 Title: meld regression - now inaccurately highlights file differences To manage notifications about this bug go to: https://bugs.launchpad.net/meld/+bug/578121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 578121] Re: meld regression - now inaccurately highlights file differences
Hi, where can I get this fix for Ubuntu 10.04? I don't see any new updates for Meld in Synaptic. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/578121 Title: meld regression - now inaccurately highlights file differences -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 578121] Re: meld regression - now inaccurately highlights file differences
** Changed in: meld Status: Confirmed = Fix Released -- meld regression - now inaccurately highlights file differences https://bugs.launchpad.net/bugs/578121 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 578121] Re: meld regression - now inaccurately highlights file differences
https://bugzilla.gnome.org/show_bug.cgi?id=627940#c6 : Right, so this does seem to be an Ubuntu bug. Somehow, Python's universal newline handling is broken in Ubuntu, and since Meld relies upon it for reading non-\n files, you're seeing this bug. If this supposition is correct, I guess the cleanest way to correct this is to patch ubuntu's python implementation of newline. It will by the way correct other applications which relies upon it. -- meld regression - now inaccurately highlights file differences https://bugs.launchpad.net/bugs/578121 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 578121] Re: meld regression - now inaccurately highlights file differences
** Changed in: meld Importance: Unknown = Critical -- meld regression - now inaccurately highlights file differences https://bugs.launchpad.net/bugs/578121 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 578121] Re: meld regression - now inaccurately highlights file differences
** Also affects: meld via https://bugzilla.gnome.org/show_bug.cgi?id=627940 Importance: Unknown Status: Unknown -- meld regression - now inaccurately highlights file differences https://bugs.launchpad.net/bugs/578121 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 578121] Re: meld regression - now inaccurately highlights file differences
** Changed in: meld (Ubuntu) Status: New = Confirmed -- meld regression - now inaccurately highlights file differences https://bugs.launchpad.net/bugs/578121 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 578121] Re: meld regression - now inaccurately highlights file differences
** Changed in: meld Status: Unknown = Confirmed -- meld regression - now inaccurately highlights file differences https://bugs.launchpad.net/bugs/578121 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 578121] Re: meld regression - now inaccurately highlights file differences
Hi, I reported the same bug to the meld's bugzilla : https://bugzilla.gnome.org/show_bug.cgi?id=627940 ** Bug watch added: GNOME Bug Tracker #627940 https://bugzilla.gnome.org/show_bug.cgi?id=627940 -- meld regression - now inaccurately highlights file differences https://bugs.launchpad.net/bugs/578121 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 578121] Re: meld regression - now inaccurately highlights file differences
I took a closer look at file1.txt. In gedit, line 94 shows as $invRes = mysql_query($invSql);. With meld, however, line 94 shows as blank line. hexdump -C file1.txt: ... 0f70 71 6c 20 3d 20 22 53 45 4c 45 43 54 20 43 4f 41 |ql = SELECT COA| 0f80 4c 45 53 43 45 28 53 55 4d 28 61 6d 6f 75 6e 74 |LESCE(SUM(amount| 0f90 29 2c 30 29 20 41 53 20 69 6e 76 53 75 6d 20 46 |),0) AS invSum F| 0fa0 52 4f 4d 20 69 6e 76 6f 69 63 65 73 20 57 48 45 |ROM invoices WHE| 0fb0 52 45 20 70 72 6f 76 69 64 65 72 5f 69 64 20 3d |RE provider_id =| 0fc0 20 27 22 2e 24 5f 53 45 53 53 49 4f 4e 5b 27 69 | '.$_SESSION['i| 0fd0 64 27 5d 2e 22 27 20 41 4e 44 20 70 72 6f 6a 5f |d'].' AND proj_| 0fe0 69 64 20 3d 20 27 24 70 56 61 6c 27 20 41 4e 44 |id = '$pVal' AND| 0ff0 20 73 74 61 74 75 73 20 3d 20 27 50 27 22 3b 0d | status = 'P';.| 1000 0a 20 20 20 20 24 69 6e 76 52 65 73 20 3d 20 6d |.$invRes = m| 1010 79 73 71 6c 5f 71 75 65 72 79 28 24 69 6e 76 53 |ysql_query($invS| 1020 71 6c 29 3b 0d 0a 20 20 20 20 24 69 6e 76 49 6e |ql);..$invIn| The 0d is at position 0xfff, the oa at 0x1000. This might be a buffer boundary problem that makes 0d at 0xfff being interpreted as the 1st line break and 0a at 0x1000 as the second one. I have removed just one character from the beginning of the file - and everything is fine. -- meld regression - now inaccurately highlights file differences https://bugs.launchpad.net/bugs/578121 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 578121] Re: meld regression - now inaccurately highlights file differences
The two files contain 0doa line breaks. When saving the two files with unix-style line breaks meld works as expected. This might help analyzing the problem. -- meld regression - now inaccurately highlights file differences https://bugs.launchpad.net/bugs/578121 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 578121] Re: meld regression - now inaccurately highlights file differences
On 27 May 2010 17:18, Dirk Bachmann ba...@gmx.net wrote: The two files contain 0doa line breaks. When saving the two files with unix-style line breaks meld works as expected. This might help analyzing the problem. Wow, nice catch - this explains why I've never run into the issue myself. I'm rather tied up at the moment but may take a look at this issue in a spare moment if no-one else does. Step one would be discovering whether this is a Meld or Python difflib issue I guess. -- meld regression - now inaccurately highlights file differences https://bugs.launchpad.net/bugs/578121 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 578121] Re: meld regression - now inaccurately highlights file differences
Yes, thank you for the info - much appreciated. So the workaround is: 1) Install fromdos. E.g. in Ubuntu 10.04, sudo aptitude install tofrodos 2) Convert the files: fromdos file1.txt fromdos file2.txt 3) Re-do the meld: meld file1.txt file2.txt Step one would be discovering whether this is a Meld or Python difflib issue. I would guess the issue is with Python difflib because I tried installing a few older versions of meld (which used to work before I upgraded to Ubuntu 10.04) and the problem still occurred. -- meld regression - now inaccurately highlights file differences https://bugs.launchpad.net/bugs/578121 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 578121] Re: meld regression - now inaccurately highlights file differences
Thanks for mentioning diffuse. I have started using it until this bug with meld is fixed. I agree the bug seems to occur with larger files more often than smaller files. -- meld regression - now inaccurately highlights file differences https://bugs.launchpad.net/bugs/578121 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 578121] Re: meld regression - now inaccurately highlights file differences
i have the same problem. it works fine with small files but if the file is bigger, meld highlights one (or two lines) above. i'll use diffuse until this is fixed. -- meld regression - now inaccurately highlights file differences https://bugs.launchpad.net/bugs/578121 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 578121] Re: meld regression - now inaccurately highlights file differences
same here -- meld regression - now inaccurately highlights file differences https://bugs.launchpad.net/bugs/578121 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 578121] Re: meld regression - now inaccurately highlights file differences
sorry, I mean, I can reproduce the bug -- meld regression - now inaccurately highlights file differences https://bugs.launchpad.net/bugs/578121 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 578121] Re: meld regression - now inaccurately highlights file differences
I'm attaching 3 files. To reproduce the bug, do meld file1.txt file2.txt and you should get the same (incorrect) result as in my attached screenshot (meldDiffScreenshot.png). The result is incorrect because the wrong line is highlighted as different, it should have highlighted the line below. The means the file gets in a mess when you click the - or - buttons to try to merge the file. This is only a small trivial example to show as a demonstration - I have seem far bigger problematic errors in meld. ** Attachment added: file1.txt http://launchpadlibrarian.net/48648894/file1.txt -- meld regression - now inaccurately highlights file differences https://bugs.launchpad.net/bugs/578121 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 578121] Re: meld regression - now inaccurately highlights file differences
** Attachment added: file2.txt http://launchpadlibrarian.net/48648909/file2.txt -- meld regression - now inaccurately highlights file differences https://bugs.launchpad.net/bugs/578121 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 578121] Re: meld regression - now inaccurately highlights file differences
** Attachment added: meldDiffScreenshot.png http://launchpadlibrarian.net/48648910/meldDiffScreenshot.png -- meld regression - now inaccurately highlights file differences https://bugs.launchpad.net/bugs/578121 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 578121] Re: meld regression - now inaccurately highlights file differences
** Attachment added: Example of the problem with Meld highlighting http://launchpadlibrarian.net/48194302/Screenshot_Example_Meld_Error.png ** Attachment added: Dependencies.txt http://launchpadlibrarian.net/48193284/Dependencies.txt -- meld regression - now inaccurately highlights file differences https://bugs.launchpad.net/bugs/578121 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 578121] Re: meld regression - now inaccurately highlights file differences
It appears that Meld uses difflib, which is included in Python's standard library. Personally I can't find a file that doesn't work properly, and though I use Meld almost daily, I haven't noticed a problem before now. Do you have some example files you can attach which demonstrate the problem? (the simpler the better) -- meld regression - now inaccurately highlights file differences https://bugs.launchpad.net/bugs/578121 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs