Gökcen Eraslan | 25 Sep 17:55 2010

[Bug 252359] New: Kompare could not parse an ordinary patch file


           Summary: Kompare could not parse an ordinary patch file
           Product: kompare
           Version: unspecified
          Platform: Pardus PiSi Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kompare-devel <at> kde.org
        ReportedBy: gokcen <at> pardus.org.tr

Created an attachment (id=51981)
 --> (http://bugs.kde.org/attachment.cgi?id=51981)
Patch file that kompare cannot parse

Version:           unspecified (using KDE 4.5.1) 
OS:                Linux

Kompare cannot parse the patch attached.

Reproducible: Always

Steps to Reproduce:
1. Enter command 'kompare kdelibs-kiconloader-cache_returned_pixmaps.patch'

Actual Results:  
Kompare says 'Could not parse diff output'

Expected Results:  
Kompare must show the patch.

(Problem can be reproduced in both KDE 4.5 and 4.4. But since I have packages
built with debug support only for KDE4.4, output below is from Kompare of KDE

Here is the command output:

gokcen <at> melmac ~ $ kompare kdelibs-kiconloader-cache_returned_pixmaps.patch 
kompare(2004)/kdecore (trader): query for mimeType  "text/x-patch" , 
"Kompare/ViewPart"  : returning  1  offers
kompare(2004)/kdecore (KLibrary): plugins should not have a 'lib' prefix:
kompare(2004)/kompare (libs) Diff2::KompareModelList::KompareModelList: Show me
the arguments:  0x8ab9368 ,  KompareSplitter(0x8ab8f18) , 
KomparePart(0x8736848) ,  komparemodellist
kompare(2004)/kparts KParts::ReadWritePart::setModified: setModified( false )
kompare(2004)/kdecore (KLibrary): plugins should not have a 'lib' prefix:
kompare(2004) main: Arg Count =  1
kompare(2004) main: Argument  1 : 
kompare(2004) main: Single file. so openDiff/openStdin is only possible...
kompare(2004)/kompare (shell) KompareShell::openDiff: Url = 
kompare(2004)/kompare (part) KomparePart::openDiff: Url = 
kompare(2004)/kompare (part) KomparePart::openDiff: Download succeeded
kompare(2004)/kompare (libs) Diff2::KompareModelList::openDiff: Stupid :) Url =
kompare(2004)/kompare (libs) Diff2::KompareModelList::readFile: Codec =  0x0
kompare(2004)/kompare (nav view) KompareNavTreePart::slotModelsChanged: Models
( 0x0 ) have changed... scanning the models...
kompare(2004)/kompare (libs) Diff2::KompareModelList::parseDiffOutput:
kompare(2004)/kompare (libs) Diff2::Parser::determineGenerator: Diff is a
kompare(2004)/kompare (libs) Diff2::Parser::parse: Cleaned up  0  line(s) of
crap from the diff...
kompare(2004)/kompare (libs) Diff2::Parser::parse: It is a CVS generated
kompare(2004)/kompare (libs) Diff2::KompareModelList::parseDiffOutput: Now i'll
be damned, there should be models here !!!


Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.