From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: [Taskjuggler] Status of exporter Date: Thu, 2 May 2013 16:56:47 -0500 Message-ID: References: <87ppxd9i1a.fsf@sbs.ch> <8761z1gmps.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001a11c37170a01f4e04dbc34f5d Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UY1Uh-0000PV-Bp for emacs-orgmode@gnu.org; Thu, 02 May 2013 17:56:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UY1Ug-0006zB-3j for emacs-orgmode@gnu.org; Thu, 02 May 2013 17:56:51 -0400 Received: from mail-lb0-f179.google.com ([209.85.217.179]:39072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UY1Uf-0006yz-Nb for emacs-orgmode@gnu.org; Thu, 02 May 2013 17:56:50 -0400 Received: by mail-lb0-f179.google.com with SMTP id d10so1005125lbj.10 for ; Thu, 02 May 2013 14:56:47 -0700 (PDT) In-Reply-To: <8761z1gmps.fsf@ucl.ac.uk> 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: Christian Egli , emacs-orgmode --001a11c37170a01f4e04dbc34f5d Content-Type: text/plain; charset=UTF-8 On Thu, May 2, 2013 at 3:18 PM, Eric S Fraga wrote: > Christian, > > I must be doing something really silly (not unheard of ;-) but I just > cannot get the new tj3 exporter to work. With an up to date org (as of > a few minutes ago), using the example from the tutorial but also an > example from Baptiste from last week, I get the following error message > when I try to export and open: > > ,---- > | Saving file /tmp/x.tjp... > | Wrote /tmp/x.tjp > | Processing TaskJuggler file ./x.tjp... > | /tmp/x.tjp:26: Error: Unexpected token '==' found. Expecting one of :HTMLBLOB, :WORD, :REF, :HREF, :INLINEFUNCSTART, :ITALIC, :BOLD, :CODE, :BOLDITALIC, :FCOLSTART > | == == > | if: TaskJuggler failed with errors: Error: Unexpected token '==' found. Expecting one of :HTMLBLOB, :WORD, :REF, :HREF, :INLINEFUNCSTART, :ITALIC, :BOLD, :CODE, :BOLDITALIC, :FCOLSTART > `---- > > I have TJ 3.4.0 and Ruby 1.9.1 installed on an Ubuntu system. > > I have attached the x.org and x.tjp files in case they prove useful. > Yeah, something's goofy with your report syntax, but I've just kind of used the TJ3 report from their tutorial and tweaked it. I attached my default report file which just gives me a gantt chart. I don't really use the resource allocation much since I'm on a team for which I'm not the manager of people's time and don't really have an idea of what % of their overall load is dedicated to the project we work on together. I'm interested in those assigned to a task and durations/estimates... but not really what their overall load is. Anyway, the .tji attached has a lot of stuff commented out that was in the actual tj3 tutorial file. I left it for you so you can see some of the other functionality they use, but I've turned it off as I'm just not there yet and don't have time to learn more at the moment. Hope that helps! John > Any pointers would be most welcome. I find that I need to create a > GANTT chart and, although I could use code I posted here a long time ago > for creating charts from org tables, I thought I'd revisit TJ... the > aim would be to actually use TJ eventually for some of the project > management, from org obviously. > > Thanks, > eric > > -- > : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D > : in Emacs 24.3.50.1 and Org release_8.0.2-60-g713208 --001a11c37170a01f4e04dbc34f5d Content-Type: application/octet-stream; name="reports.tji" Content-Disposition: attachment; filename="reports.tji" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hg8h4kyt2 IyMjIGJlZ2luIHJlcG9ydCBkZWZpbml0aW9uCm1hY3JvIFRhc2tUaXAgWwogIHRvb2x0aXAgaXN0 YXNrKCkgLTg8LQogICAgJycnU3RhcnQ6ICcnJyA8LXF1ZXJ5IGF0dHJpYnV0ZT0nc3RhcnQnLT4K ICAgICcnJ0VuZDogJycnIDwtcXVlcnkgYXR0cmlidXRlPSdlbmQnLT4KICAgIC0tLS0KICAgICc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N0IERh c2hib2FyZCAoPC1xdWVyeSBhdHRyaWJ1dGU9J25vdyctPikiCiMgICAgY29sdW1ucyBuYW1lIHsg dGl0bGUgIlRhc2siICR7QWxlcnRDb2xvcn0gd2lkdGggMjAwfSwKIyAgICAgICAgICAgIHJlc291 cmNlcyB7IHdpZHRoIDIwMCAke0FsZXJ0Q29sb3J9CiMgICAgICAgICAgICAgICAgICAgICAgICBs aXN0dHlwZSBidWxsZXRzCiMgICAgICAgICAgICAgICAgICAgICAgICBsaXN0aXRlbSAiPC1xdWVy eSBhdHRyaWJ1dGU9J25hbWUnLT4iCiMgICAgICAgICAgICAgICAgICAgICAgICBzdGFydCAke3By b2plY3RzdGFydH0gZW5kICR7cHJvamVjdGVuZH0gfSwKIyAgICAgICAgICAgIGFsZXJ0dHJlbmQg eyB0aXRsZSAiVHJlbmQiICR7QWxlcnRDb2xvcn0gd2lkdGggNTAgfSwKIyAgICAgICAgICAgIGpv dXJuYWwgeyB3aWR0aCAzNTAgJHtBbGVydENvbG9yfSB9CiMgICAgam91cm5hbG1vZGUgc3RhdHVz X3VwCiMgICAgam91cm5hbGF0dHJpYnV0ZXMgaGVhZGxpbmUsIGF1dGhvciwgZGF0ZSwgc3VtbWFy eSwgZGV0YWlscwojICAgIGhpZGV0YXNrIH5oYXNhbGVydCgwKQojICAgIHNvcnR0YXNrcyBhbGVy dC5kb3duLCBwbGFuLmVuZC51cAojICAgIHBlcmlvZCAleyR7bm93fSAtIDF3fSArMXcKIyAgfQoj ICB0YXNrcmVwb3J0IGNvbXBsZXRlZCAiIiB7CiMgICAgaGVhZGxpbmUgIkFscmVhZHkgY29tcGxl dGVkIHRhc2tzIgojICAgIGhpZGV0YXNrIH4ocGxhbi5lbmQgPD0gJHtub3d9KQojICB9CiMgIHRh c2tyZXBvcnQgb25nb2luZyAiIiB7CiMgICAgaGVhZGxpbmUgIk9uZ29pbmcgdGFza3MiCiMgICAg aGlkZXRhc2sgfigocGxhbi5zdGFydCA8PSAke25vd30pICYgKHBsYW4uZW5kID4gJHtub3d9KSkK IyAgfQojICB0YXNrcmVwb3J0IGZ1dHVyZSAiIiB7CiMgICAgaGVhZGxpbmUgIkZ1dHVyZSB0YXNr cyIKIyAgICBoaWRldGFzayB+KHBsYW4uc3RhcnQgPiAke25vd30pCiMgIH0KI30KCgojIyMgZW5k IHJlcG9ydCBkZWZpbml0aW9uIAo= --001a11c37170a01f4e04dbc34f5d--