[ubuntu-mono] [Bug 660627] Re: wrong parameter to open startBristol process [patch]
Takashi Sakamoto
660627 at bugs.launchpad.net
Thu Oct 14 16:24:51 UTC 2010
** Patch added: "diff patch for fix the command parameter"
https://bugs.launchpad.net/bugs/660627/+attachment/1692794/+files/02_fix-parameter.diff
** Description changed:
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".
+ 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.
+ 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.
+ 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.
+ 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
+ LANGUAGE=ja_JP:ja:en
+ LANG=ja_JP.utf8
+ SHELL=/bin/bash
SourcePackage: 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
CLI/Mono Uploaders, which is subscribed to monobristol in ubuntu.
Status in “monobristol” package in Ubuntu: New
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.
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
More information about the Ubuntu-mono
mailing list