hugin fails to call command: autopano-sift

Bug #301352 reported by mike
68
This bug affects 4 people
Affects Status Importance Assigned to Milestone
hugin (Ubuntu)
Fix Released
Undecided
Unassigned
Intrepid
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: hugin

Using the align option in the assistant results in the following

command: autopano-sift --maxmatches 20 /tmp/ap_resI66OG9 "/home/mike/Pictures/2008/11/01/sta_0544.jpg" "/home/mike/Pictures/2008/11/01/stb_0545.jpg" "/home/mike/Pictures/2008/11/01/stc_0546.jpg"
failed with error code: 255

I notice that although hugin installed a package called autopano-sift the only executable of similar name is just autopano, does hugin need to call this rather than autopano-sift ?

Description: Ubuntu 8.10
Release: 8.10

hugin:
  Installed: 0.7.0~svn3191+beta5-1ubuntu1
  Candidate: 0.7.0~svn3191+beta5-1ubuntu1
  Version table:
 *** 0.7.0~svn3191+beta5-1ubuntu1 0

autopano-sift:
  Installed: 2.4-0ubuntu8
  Candidate: 2.4-0ubuntu8
  Version table:
 *** 2.4-0ubuntu8 0
        500 http://us.archive.ubuntu.com intrepid/universe Packages
        100 /var/lib/dpkg/status

        500 http://us.archive.ubuntu.com intrepid/universe Packages
        100 /var/lib/dpkg/status

Fix applied in Jaunty:
I wrote a patch to use the right autopano executable name by default (patch 52_ubuntu_autopano-sift). This is because the Mono application autopano-sift does not exists in Debian.

Patch to apply:
See debdiff

TEST CASE:
- Install Hugin with apt-get install hugin
- run it from menu, and choose the 2 picture I put in this bug report (Load images)
- Click on the Align button
- it fails with "command: autopano-sift --maxmatches 20 /tmp/ap_resBMu46W "/home/fabrice/temp/miniDSC00101.JPG" "/home/fabrice/temp/miniDSC00102.JPG" failed with error code: 255"

When fixed, it should autodetect matching points automatically, and show the resulting panorama.

When uninstalling Hugin, don't forget to delete .hugin directory in your home

Risk of regression:
- As this affect default parameters, it won't affect existing users that already fixed the bad default executable command (that's why you have to delete .hugin directory to reproduce the problem)
- In case of wrong new default parameters, it will still be possible to update the parameters manually.
- hugin has no rdepend

Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

The correct command for autopano-sift is:
executable: autopano-complete
Parameters: --points %p -o %o %i

This will be the value by default in next release.

Also, you can install the version that I have in my ppa in the meanwhile (http://ppa.launchpad.net/fabricesp/ubuntu)

Changed in hugin:
status: New → Fix Released
Revision history for this message
Mathieu Leplatre (mathieu.leplatre) wrote :

Thanks !
I changed those values in the preferences, and it works !

Revision history for this message
ale3andro (ale3andro) wrote :

That works for me too!
Thanks

Revision history for this message
Sylvain (joss82) wrote :

Very good workaround, but the fix is still not in latest Ubuntu 8.10. Is that normal ?

Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Hi,

Yes, it's normal: the fix has been applied in development version (Jaunty), and also in my PPA, as it came too late for Intrepid.

Anyway, the fix only apply the first time you run Hugin, or if you delete $HOME/.hugin, so it could be possible that you have the right version, but as you have a old config file, it's not updated.

Cheers,
Fabrice

Revision history for this message
LimCore (limcore) wrote :

Since this is an Epic Fail (the program affected is not usable), any chance of porting a fix into 8.10 ?

Changed in hugin:
status: Fix Released → New
Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :
description: updated
Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :
Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

Apparently fixed in Jaunty.

Changed in hugin:
status: New → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Intrepid upload sponsored.

Changed in hugin:
assignee: nobody → fabricesp
status: New → In Progress
Revision history for this message
LimCore (limcore) wrote :

Thanks

Revision history for this message
Boyan Penkov (boyan-penkov) wrote : Re: [Bug 301352] Re: hugin fails to call command: autopano-sift

Sweet -- thanks all!

On Feb 26, 2009, at 7:34 AM, LimCore wrote:

> Thanks
>
> --
> hugin fails to call command: autopano-sift
> https://bugs.launchpad.net/bugs/301352
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.

--------------------
Boyan Penkov
<email address hidden>

Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into intrepid-proposed; please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in hugin:
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

Any testers of the -proposed update?

Revision history for this message
LimCore (limcore) wrote :

Martin: I will do it on weekend.

Revision history for this message
LimCore (limcore) wrote :

It seems to work for me in 8.10. Should I test something more?

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Artur Rona (ari-tczew)
tags: added: patch
Revision history for this message
Paolo Benvenuto (donpaolo) wrote :
Changed in hugin (Ubuntu Intrepid):
status: Fix Committed → New
status: New → Fix Committed
Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Paolo,

Can you please provide more information? This bug has been fixed in Jaunty, and I'm not able to reproduce it with karmic.

Thanks,
Fabrice

Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Intrepid Ibex reached end-of-life on 30 April 2010 so I am closing the
report. The bug has been fixed in newer releases of Ubuntu.

Changed in hugin (Ubuntu Intrepid):
assignee: Fabrice Coutadeur (fabricesp) → nobody
status: Fix Committed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.