[Digikam-devel] [Bug 280736] New: Wrong check for cpfind when using panorama tool

Martin Klapetek martin.klapetek at gmail.com
Wed Aug 24 22:02:21 BST 2011


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

           Summary: Wrong check for cpfind when using panorama tool
           Product: digikam
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel at kde.org
        ReportedBy: martin.klapetek at gmail.com


Version:           unspecified (using Devel) 
OS:                Linux

I'm using latest digiKam from git repo and currently it fails to correctly
detect version of 'cpfind' executable when trying to use panorama tool.

I assume it's executing 'cpfind --help' and trying to parse the first line,
however kubuntu's hugin version does not have version number on the first line,
but 'ThreadQueue created', therefore the check should be somewhat smarter.

Here's a digiKam's output:

digikam(4635)/KIPI (general) KIPIPanoramaPlugin::CPFindBinary::checkSystem:
"cpfind"  help header line: 
 "ThreadQueue created"


And here's 'cpfind --version' output:
ThreadQueue created
Hugins cpfind 2010.4.0.854952d82c8f
based on Pan-o-matic by Anael Orlinski
...



Reproducible: Didn't try

Steps to Reproduce:
1. Try running panorama tool on kubuntu

Actual Results:  
DigiKam can't determine cpfind version correctly.

Expected Results:  
DigiKam parses the version correctly.

-- 
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 Digikam-devel mailing list