After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 352572 - Unable to open thunderbird email or attachement through beagle-search in ubuntu
Unable to open thunderbird email or attachement through beagle-search in ubuntu
Status: RESOLVED DUPLICATE of bug 351136
Product: beagle
Classification: Other
Component: General
0.2.8
Other All
: Normal minor
: ---
Assigned To: Beagle Bugs
Beagle Bugs
Depends on:
Blocks:
 
 
Reported: 2006-08-23 16:58 UTC by dems
Modified: 2006-08-23 17:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description dems 2006-08-23 16:58:30 UTC
Please describe the problem:
Under ubuntu/debian, thunderbird is called mozilla-thunderbird not thunderbird, which causes an error when opening the attachement of an email. The easy workaround is creating a link.

There is also another problem, when opening an email from beagle-search, under ubuntu, firefox is launched (due to mime types i suppose), but this is because Hit.GetFirstProperty ("fixme:client") returns null instead of "thunderbird".
(in function Open of class MailMessage (search/Tiles/MailMessage.cs) )


Steps to reproduce:
1. search for some text contained in a email indexed by thunderbird
2. double click on that email or attachement

Actual results:
Nothing appears, and i get this error in my terminal :
Unable to run thunderbird: L'exécution du processus fils « thunderbird » a échoué (Aucun fichier ou répertoire de ce type)

Expected results:
Open the appropriate mail or attachement into thunderbird

Does this happen every time?
yes

Other information:
I have a patch suggestion, in search/Tiles/MailMessage.cs, function GetClientProcess : 


		public static SafeProcess GetClientProcess (string client, string uri)
		{
			SafeProcess p = null;

			if (client == "evolution") {
				p = new SafeProcess ();
				p.Arguments = new string [2];
				p.Arguments [0] = "evolution";
				p.Arguments [1] = uri;
			} else if (client == "thunderbird" || uri.IndexOf("thunderbird") > 0 /* added for email opening because client == null */) {
				/** added in order to search for thunderbird */
				string thunderbird = null;
				if (File.Exists("/usr/bin/thunderbird")) thunderbird = "thunderbird";
				else if (File.Exists("/usr/bin/mozilla-thunderbird")) thunderbird = "mozilla-thunderbird";

				if(thunderbird == null) return p;

				p = new SafeProcess ();
				p.Arguments = new string [3];
				p.Arguments [0] = thunderbird; /** modified to launch the good thunderbird */
				p.Arguments [1] = "-mail";
				p.Arguments [2] = uri;
			}

			return p;


		}
Comment 1 Joe Shaw 2006-08-23 17:07:37 UTC

*** This bug has been marked as a duplicate of 351136 ***