beagle-search don't start (edgy 6.10)

Bug #53613 reported by walter
8
Affects Status Importance Assigned to Milestone
beagle (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: beagle

On edgy (6.10).
Launcing "beagle-search" i've got the this error:

exec: 24: -a: not found

Revision history for this message
John Vivirito (gnomefreak) wrote :

Can you please give us more info on the steps that you use to reproduce this. Thank you for your bug report

Changed in beagle:
status: Unconfirmed → Needs Info
Revision history for this message
walter (waltervalenti) wrote :

Xfce4 on Ubuntu Edgy.

I launch the command "beagle-search" from "xfterm4 ".

walter@oinophilos:~$ beagle-search
exec: 24: -a: not found

I've installed "beagle" with all the dipendecies.
<pack:beagle> i <dep:binfmt-support,libgail-common,libgconf2.0-cil,libglade2.0-cil/>
  <dep:libglib2.0-cil,libgmime2.1,libgmime2.1-cil,libgnome2.0-cil/>
  <dep:libgtk2.0-cil,libgtkhtml3.8-15,libmono-cairo1.0-cil/> <dep:libmono-corlib1.0-cil,libmono-data-tds1.0-cil,libmono-security1.0-cil/>
  <dep:libmono-sharpzip0.6-cil,libmono-sharpzip0.84-cil/>
  <dep:libmono-sqlite1.0-cil,libmono-system-data1.0-cil/> <dep:libmono-system-runtime1.0-cil,libmono-system-web1.0-cil/> <dep:libmono-system1.0-cil,libmono0,libmono1.0-cil,libpanel-applet2-0/> <dep:libsqlite0,mono-common,mono-gac,mono-jit,mono-runtime/>
   <rcc:cli-common/> <dep:cli-common-dev,libmono-peapi1.0-cil,mono-mcs,mono-utils/>
</pack>

Revision history for this message
Phil Housley (undeconstructed) wrote :

Ah, I see it, /usr/bin/beagle-search uses a bash "exec -a" to launch the mono executable, but the script is marked #/bin/sh, which is dash - dash doesn't support "exec -a", so it fails.

The solutions are either:
Line 1: #!/bin/bash
 or
Line 24: exec $BEAGLE_MONO_RUNTIME --debug $MONO_EXTRA_ARGS $THIS_EXE "$@"

Although I didn't bother to test the latter.

Revision history for this message
Shaya Potter (spotter) wrote :

I suffered from the same bug and I confirmed that the latter works as well.

Revision history for this message
Sebastian Dröge (slomo) wrote :

this is fixed with 0.2.7-1ubuntu1 now

Changed in beagle:
status: Needs Info → Fix Released
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.