[ubuntu-mono] [Bug 682229] Re: GNOME Dictionary plugin doesn't work
Dennis van Dok
dvandok at gmail.com
Thu Dec 9 20:32:43 UTC 2010
Some more information; the source of the problem is the call to
System.Diagnostics.Process.Start:
cmd = string.Format ("gnome-dictionary --look-up \"{0}\"", word);
System.Diagnostics.Process.Start (cmd);
The error message reads as though the system tries to run a file named
"gnome-dictionary --lookup bla", that is, including the spaces and
dashes, and of course there is no such thing. The fix is to use a
different call with two arguments: the program and then the arguments.
cmd = string.Format ("--look-up \"{0}\"", word);
System.Diagnostics.Process.Start ("/usr/bin/gnome-dictionary", cmd);
** Attachment added: "03_gnomedictionary_abspatch.path"
https://bugs.launchpad.net/ubuntu/+source/gnome-do/+bug/682229/+attachment/1761252/+files/03_gnomedictionary_abspatch.path
--
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to gnome-do in ubuntu.
https://bugs.launchpad.net/bugs/682229
Title:
GNOME Dictionary plugin doesn't work
Status in “gnome-do” package in Ubuntu:
New
Bug description:
Binary package hint: gnome-do
GNOME Dictionary plugin of gnome-do (version 0.8.3.1+dfsg-2ubuntu1; maverick) doesn't work because somehow it tries to execute a wrong path. Instead of being relative to $PATH, it's relative to $HOME. The following is an error message I get when launching it from a terminal:
gvfs-open: file:///home/zygis/gnome-dictionary%20--look-up%20hendiadys: error opening location: Error stating file '/home/zygis/gnome-dictionary --look-up hendiadys': No such file or directory
More information about the Ubuntu-mono
mailing list