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

Gökcen Eraslan gokcen at pardus.org.tr
Sat Sep 25 17:55:03 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=252359

           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
4.4)

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:
"libkomparepart.so"
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:
"libkomparenavtreepart.so"
kompare(2004) main: Arg Count =  1
kompare(2004) main: Argument  1 : 
"kdelibs-kiconloader-cache_returned_pixmaps.patch"
kompare(2004) main: Single file. so openDiff/openStdin is only possible...
kompare(2004)/kompare (shell) KompareShell::openDiff: Url = 
"file:///home/gokcen/kdelibs-kiconloader-cache_returned_pixmaps.patch"
kompare(2004)/kompare (part) KomparePart::openDiff: Url = 
"file:///home/gokcen/kdelibs-kiconloader-cache_returned_pixmaps.patch"
kompare(2004)/kompare (part) KomparePart::openDiff: Download succeeded
kompare(2004)/kompare (libs) Diff2::KompareModelList::openDiff: Stupid :) Url =
 "/home/gokcen/kdelibs-kiconloader-cache_returned_pixmaps.patch"
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:
KompareModelList::parseDiffOutput
kompare(2004)/kompare (libs) Diff2::Parser::determineGenerator: Diff is a
CVSDiff
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
diff...
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 the assignee for the bug.


More information about the Kompare-devel mailing list