autopano-complete cannot find Mono executables

Bug #114918 reported by Jacob Nevins
26
Affects Status Importance Assigned to Milestone
autopano-sift (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: autopano-sift

Package: autopano-sift
Version: 2.4-0ubuntu4
Severity: normal

/usr/bin/autopano-complete looks for generatekeys.exe on $PATH, but in this package it resides in /usr/lib/autopano-sift/. autopano-complete thus fails with an obscure error message ("dirname: missing operand").

The why: I've manually installed Hugin 0.7-beta4 (and its dependencies) in /usr/local on a Dapper machine, but since the latest autopano-sift was already packaged I thought I'd use it. This version of Hugin uses autopano-complete, which fails as described above (it expects it to be called "autopano-complete.sh", but that's easy to deal with). Putting /usr/lib/autopano-sift on $PATH is a successful bodge.

There is a commented-out bit at the start of autopano-complete to use a hardcoded path instead of "which", which looks like the Right Thing here.

(While this bug is reported against the Dapper version, 2.4-0ubuntu4, I've also verified that it applies to the latest, 0ubuntu5.)

-- System Information:
Debian Release: testing/unstable
  APT prefers dapper-updates
  APT policy: (500, 'dapper-updates'), (500, 'dapper-security'), (500, 'dapper')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-26-386
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages autopano-sift depends on:
ii libgdiplus 1.1.13.6-0ubuntu2 interface library for Mono class S
ii libglade2.0-cil 2.8.2-0ubuntu5 CLI binding for the Glade librarie
ii libglib2.0-cil 2.8.2-0ubuntu5 CLI binding for the GLib utility l
ii libgtk2.0-cil 2.8.2-0ubuntu5 CLI binding for the GTK+ toolkit 2
ii mono-classlib-1.0 1.1.13.6-0ubuntu3.2 Mono class library (1.0)
ii mono-jit 1.1.13.6-0ubuntu3.2 fast CLI JIT/AOT compiler for Mono

autopano-sift recommends no packages.

-- no debconf information

Revision history for this message
Markus (markus-schmaus) wrote :

I ran into the same bug with version 2.4-0ubuntu5 from feisty. It has already been said, how to fix it, but I will use this opportunity and submit my first, albeit trivial, patch.

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Thank you for your bug and your patch. Attached debdiff should fix this.

Changed in autopano-sift:
status: New → Confirmed
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

autopano-sift (2.4-0ubuntu6) gutsy; urgency=low

  [Markus Schmaus]
  * Fix executable paths in some scripts (LP: #114918)

  [Luca Falavigna]
  * Update Maintainer field in debian/control

 -- Luca Falavigna <email address hidden> Mon, 9 Jul 2007 13:51:11 +0200

Changed in autopano-sift:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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