From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Egli Subject: Re: OT: taskjuggler question Date: Thu, 02 Feb 2012 17:24:55 +0100 Message-ID: <87sjitp5ig.fsf@sbs.ch> References: <871uqesl0u.fsf@sbs.ch> <4F2949A9.50107@gmail.com> <87pqdyr1lz.fsf@sbs.ch> <87liolr9qq.fsf@sbs.ch> <10926.1328198901@alphaville> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:47594) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RszTF-0000Pa-Ho for emacs-orgmode@gnu.org; Thu, 02 Feb 2012 11:25:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RszTB-0006Mm-70 for emacs-orgmode@gnu.org; Thu, 02 Feb 2012 11:25:13 -0500 Received: from plane.gmane.org ([80.91.229.3]:60404) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RszTA-0006L3-U4 for emacs-orgmode@gnu.org; Thu, 02 Feb 2012 11:25:09 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1RszT8-00066s-TI for emacs-orgmode@gnu.org; Thu, 02 Feb 2012 17:25:06 +0100 Received: from gateway01.sbszh.ch ([217.162.18.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Feb 2012 17:25:06 +0100 Received: from christian.egli by gateway01.sbszh.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Feb 2012 17:25:06 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Nick Dokos writes: > But I have no TaskJugglerUI executable, which seems to be what the > exporter tries to call for export-and-open (C-c C-e J): what am I > missing? The TaskJugglerUI exists only if you have taskjuggler2.4 installed. The exporter predates tj3 and naively assumes that there is a TaskJugglerUI executable. It should really invoke a browser on the resulting HTML report[1] when you call export-and-open, at least when you are targeting tj3. The worst part is that it doesn't even tell the user that something failed, as it invokes the executable asynchronously using start-process-shell-command (info: (elisp) Asynchronous Processes). That way you can continue to work with emacs but emacs doesn't know what happened to the subprocess. I'll have to do some more research on how to start a process in the background and still check if it succeeded. Thanks Christian Footnotes: [1] the tricky bit here is of course to find the resulting HTML, as the name of it is defined in a tj3 report definition. I'd rather refrain from parsing these report definitions just to find the name of the HTML file to open. -- Christian Egli Swiss Library for the Blind, Visually Impaired and Print Disabled Grubenstrasse 12, CH-8045 Zürich, Switzerland