<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>286382</bug_id>
          
          <creation_ts>2011-11-12 01:04:58 +0000</creation_ts>
          <short_desc>panorama stitcher doesn&apos;t run and asks for autooptimizer despite hugin is installed</short_desc>
          <delta_ts>2016-07-10 05:33:22 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>digikam</product>
          <component>Plugin-Generic-Panorama</component>
          <version>unspecified</version>
          <rep_platform>Microsoft Windows</rep_platform>
          <op_sys>Microsoft Windows</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>286018</dependson>
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Petr Zmek">amihere007</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>anantapalani</cc>
    
    <cc>benjamin.girault</cc>
    
    <cc>caulier.gilles</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>2.6.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1184213</commentid>
    <comment_count>0</comment_count>
    <who name="Petr Zmek">amihere007</who>
    <bug_when>2011-11-12 01:04:58 +0000</bug_when>
    <thetext>Version:           2.3.0 (using KDE 4.7.3) 
OS:                MS Windows

When trying to stitch some pictures the stitcher doesn&apos;t run and writes

&quot;Unable to find autooptimiser executable.
This program is required to continue.
Please install it from Hugin package provided by your distributor
or download and install the source.
Note: at least, autooptimiser version 2010.4 is required.&quot;

instead. Hugin is installed in the latest version, digikam 2.3.0 runs on Win7-32bit and is installed from windows install package from sourceforge (with KDE 4.7.3).

In case of more questions I will try to answer if I&apos;ll able to.

Reproducible: Always

Steps to Reproduce:
1. Select few pictures
2. Run Panorama stitcher

Actual Results:  
Panorama stitcher doesn&apos;t run

Expected Results:  
Panorama stitcher is working

OS: WindowsNT (i686) release Windows 7
Compiler: cl.exe</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1184435</commentid>
    <comment_count>1</comment_count>
    <who name="Ananta Palani">anantapalani</who>
    <bug_when>2011-11-12 18:05:14 +0000</bug_when>
    <thetext>It runs for me and finds Hugin + associated apps just fine (although it doesn&apos;t stitch properly, but that seems to be a different issue which we can figure out after).

Have you installed Hugin to default location? 

   C:\Program Files (x86)\Hugin
or
   C:\Program Files\Hugin
?

I had 2010.4 installed, which the panorama plugin found fine. I then installed latest (2011.2) and it found that as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1184443</commentid>
    <comment_count>2</comment_count>
    <who name="Petr Zmek">amihere007</who>
    <bug_when>2011-11-12 18:49:01 +0000</bug_when>
    <thetext>No, I didn&apos;t installed it in the default path because of my partitions configuration. I&apos;m not on my pc now, I&apos;ll try it in upcoming days. but still - shouldn&apos;t it be set to work with various paths? It could be more variable for most users.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1185240</commentid>
    <comment_count>3</comment_count>
    <who name="Petr Zmek">amihere007</who>
    <bug_when>2011-11-14 17:12:51 +0000</bug_when>
    <thetext>Ananta: I reinstalled Hugin 2011.2 to its default location. No change.

Unable to find autooptimiser executable.
This program is required to continue.
Please install it from Hugin package provided by your distributor
or download and install the source.
Note: at least, autooptimiser version 2010.4 is required.

Any idea?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1185352</commentid>
    <comment_count>4</comment_count>
    <who name="Ananta Palani">anantapalani</who>
    <bug_when>2011-11-14 20:40:00 +0000</bug_when>
    <thetext>Petr,

Did you restart your computer between the time you tried using Hugin from digiKam and the time when you reinstalled Hugin?

I&apos;m not sure how the path is determined, but it is possible that this search may have been cached by KDE helper apps that are launched by digiKam.

If you didn&apos;t restart your computer, try restarting. Also, try deleting any &apos;kipi-panorama-*&apos; folders from here:

C:\Users\&lt;your windows username&gt;\AppData\Roaming\.kde\tmp-&lt;your computer name&gt;\

if that still doesn&apos;t work, maybe the plugin author can chime in. If I have time I will try to find out how the plugin determines the location of hugin.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1185355</commentid>
    <comment_count>5</comment_count>
    <who name="Ananta Palani">anantapalani</who>
    <bug_when>2011-11-14 20:42:59 +0000</bug_when>
    <thetext>Also, I just noticed you said you are using KDE 4.7.3, but the version installed by the digiKam package from sourceforge is 4.7.2. Can you go to &apos;About KDE&apos; under the &apos;Help&apos; menu in digiKam and confirm your version of KDE?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1185407</commentid>
    <comment_count>6</comment_count>
    <who name="Benjamin Girault">benjamin.girault</who>
    <bug_when>2011-11-14 22:42:27 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; if that still doesn&apos;t work, maybe the plugin author can chime in. If I have
&gt; time I will try to find out how the plugin determines the location of hugin.

I do not have a clue about how KDE and Windows interact with respect to that matter. There is currently a patch pending that is linked to this issue and which solves it on MacOS (see the mailing list, or bug #286018 if you want to try it). However, I do not have time right now to review and commit it (I&apos;ll have time in approximately one month).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1191024</commentid>
    <comment_count>7</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2011-11-27 11:01:19 +0000</bug_when>
    <thetext>Ananta, 

Do you tried patch from bug #286018 ?

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1191642</commentid>
    <comment_count>8</comment_count>
    <who name="Ananta Palani">anantapalani</who>
    <bug_when>2011-11-28 22:59:03 +0000</bug_when>
    <thetext>(In reply to comment #7)
&gt; Do you tried patch from bug #286018 ?

Yes, I did try it. It will fix this bug but I think it needs some work, as I mention on the patch page.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1192254</commentid>
    <comment_count>9</comment_count>
    <who name="Ananta Palani">anantapalani</who>
    <bug_when>2011-11-30 12:42:32 +0000</bug_when>
    <thetext>(In reply to comment #3)
Petr, there is a work-around for your problem that you can use in the next version (2.4.0) until Benjamin has time to include patch from bug #286018. You can simply add the Hugin bin directory to your computer&apos;s PATH environment variable on Windows.

However, adding the path is not enough in 2.3.0 because pto2mk (part of Hugin) crashes. I just committed a fix that will be in 2.4.0. This won&apos;t solve your specific problem, but it allows panoramas to be stitched on Windows once digiKam can find Hugin, which will be possible if you manually edit your PATH, or after Benjamin has time to review the patch I mentioned.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>