[ubuntu-mono] [Bug 660627] Re: wrong parameter to open startBristol process [patch]

Martin Pitt martin.pitt at ubuntu.com
Fri Dec 3 16:19:33 GMT 2010


please use a lower version number than natty's for the SRU (like
2~maverick1). Also, please add the missing space in "LP: #xxx", so that
the .changes will refer to this bug and it will autoclose. Thanks!

You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to monobristol in ubuntu.

  wrong parameter to open startBristol process [patch]

Status in “monobristol” package in Ubuntu:
  Fix Released
Status in “monobristol” source package in Maverick:

Bug description:
  Binary package hint: monobristol

In MainWindow.cs, this code is used to start bristrol process with some parameters. In this case, one of parameter is "mini".

System.Diagnostics.Process.Start ("startBristol "+param+" -mini");

Then I got this error message below.

gvfs-open: file:///home/mocchi/test/hoge/startBristol%20-alsa-alsa%20-mini: error opening location: Error stating file '/home/mocchi/test/hoge/startBristol -alsa-alsa -mini': No such file or directory

To refer to this developer document, the sigle parameter show the file path, not path with parameters.


There is a need to give two parameters to start method, not one parameter.


So I change the code below. Here I define startBristol as "/usr/lib/startBristol" in advance.

System.Diagnostics.Process.Start (startBristol, param+" -mini");

Then I got no error.
Would you include this bug fix?

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: monobristol 0.60.1-1
ProcVersionSignature: Ubuntu 2.6.35-22.34-generic
Uname: Linux 2.6.35-22-generic i686
Architecture: i386
Date: Fri Oct 15 01:02:21 2010
InstallationMedia: Ubuntu-Studio 10.10 "Maverick Meerkat" - Beta i386 (20100902.1)
PackageArchitecture: all
SourcePackage: monobristol

More information about the Ubuntu-mono mailing list