Public bug reported:

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.

http://msdn.microsoft.com/en-us/library/53ezey2s%28v=VS.80%29.aspx

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

http://msdn.microsoft.com/en-us/library/h6ak8zt5%28v=VS.80%29.aspx

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 2.6.35.4
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
ProcEnviron:
 LANGUAGE=ja_JP:ja:en
 LANG=ja_JP.utf8
 SHELL=/bin/bash
SourcePackage: monobristol

** Affects: monobristol (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 maverick monobristol

-- 
wrong parameter to open startBristol process [patch]
https://bugs.launchpad.net/bugs/660627
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to