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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/682229
Title:
GNOME Dictionary plugin doesn't work
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs