taskjuggler 3: tj3d

333 views
Skip to first unread message

Tomas

unread,
Oct 6, 2010, 8:49:53 PM10/6/10
to TaskJuggler Users
Hi, I'm testing taskjuggler daemon. I'm following
http://www.taskjuggler.org/tj3/manual/Software.html sections 3 and 4.
I got tj3d started and I'm able to add a project using tj3client and
generate a report. I also set the listening port so I presume I can
view the report, however when I go to http://127.0.0.1:8080 I get
nothing, I tried starting tj3d as normal user and root.

.taskjugglerrc
_global:
authKey: topsecret
webServerPort: 8080
_log:
logLevel: 3
outputLevel: 3

tj3d.log:
2010-10-07 10:45:01 INFO tj3d[8799]: The process is running as daemon
now with PID 8799
2010-10-07 10:45:01 INFO tj3d[8799]: TaskJuggler web server is
listening on port 8080
2010-10-07 10:45:01 INFO tj3d[8799]: TaskJuggler daemon is listening
on druby://127.0.0.1:8474


Any help appreciated

Chris Schlaeger

unread,
Oct 7, 2010, 2:22:02 AM10/7/10
to taskjugg...@googlegroups.com
Hi Tomas,

On Thu, Oct 7, 2010 at 2:49 AM, Tomas <toma...@gmail.com> wrote:
> Hi, I'm testing taskjuggler daemon. I'm following
> http://www.taskjuggler.org/tj3/manual/Software.html sections 3 and 4.

congratulations! You are the first external user of tj3d I'm aware of. ;)

But don't worry, we use it already in a production system and it is
quite usable.

> I got tj3d started and I'm able to add a project using tj3client and
> generate a report. I also set the listening port so I presume I can
> view the report, however when I go to http://127.0.0.1:8080 I get
> nothing, I tried starting tj3d as normal user and root.

You are not using the correct URL. In your case, you need
http://127.0.0.1:8080/taskjuggler

In this mode, reports are generated when the http request comes in. So
you want to watch your report complexity. Keep the output small, so
reports can be generated within 2 - 4 seconds at the most. And you
probably want those performance patches I've committed the last couple
of days.

Chris

Tomas

unread,
Oct 7, 2010, 4:36:48 AM10/7/10
to TaskJuggler Users
On Oct 7, 4:22 pm, Chris Schlaeger <cschlae...@gmail.com> wrote:
> You are not using the correct URL. In your case, you need
>  http://127.0.0.1:8080/taskjuggler
>
Thanks for getting back, I tried adding /taskjuggler to the path but
no luck. I also tried telnet localhost 80 and got connection refused
error when I checked netstat -ltp and could see 8080 open port or any
listening port that has tj3d process which makes me feel like tj3d is
not starting property (although no errors in the log).

It starts listening on port 8474, but that's TaskJuggler daemon
according to log.

Another thing, when I try to start tj3d when it is already running I'm
getting this:
2010-10-07 18:31:51 INFO tj3d[29572]: The process is running as daemon
now with PID 29572
2010-10-07 18:31:51 INFO tj3d[29572]: TaskJuggler web server is
listening on port 8080
2010-10-07 18:31:51 FATAL tj3d[29572]: Cannot listen on port 8474:
Address already in use - bind(2)

it fails to open 8474 (as it's already open) but no complains about
8080. I'm using

commit a99cd259f405d61aec3efe887e415a65c44b0871
Author: Chris Schlaeger <c...@kde.org>
Date: Wed Oct 6 21:47:12 2010 +0200

revision

Chris Schlaeger

unread,
Oct 7, 2010, 6:03:49 AM10/7/10
to taskjugg...@googlegroups.com
On Thu, Oct 7, 2010 at 10:36 AM, Tomas <toma...@gmail.com> wrote:
> 2010-10-07 18:31:51 INFO tj3d[29572]: The process is running as daemon
> now with PID 29572
> 2010-10-07 18:31:51 INFO tj3d[29572]: TaskJuggler web server is
> listening on port 8080
> 2010-10-07 18:31:51 FATAL tj3d[29572]: Cannot listen on port 8474:
> Address already in use - bind(2)
>
> it fails to open 8474 (as it's already open) but no complains about
> 8080. I'm using

You may have a stall tj3d running. Try 'killall -9 tj3d' to make sure
all ports are freed again.

8478 is the port that tj3client is using to control tj3d. 8080 (in
your case) is the web server port.

Chris

Tomas

unread,
Oct 7, 2010, 7:06:58 AM10/7/10
to TaskJuggler Users
Chris, see script from my box:

[Tomas@tomas ecs-blog]$ killall -9 tj3d
tj3d: no process killed
[Tomas@tomas ecs-blog]$ tj3d
TaskJuggler III v0.0.7 - A Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010 by Chris Schlaeger
<cs(a)kde.org>

This program is free software; you can redistribute it and/or modify
it under
the terms of version 2 of the GNU General Public License as published
by the
Free Software Foundation.

[Tomas@tomas ecs-blog]$ tj3client add project.tjp
TaskJuggler III v0.0.7 - A Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010 by Chris Schlaeger
<cs(a)kde.org>

This program is free software; you can redistribute it and/or modify
it under
the terms of version 2 of the GNU General Public License as published
by the
Free Software Foundation.

Reading file project.tjp
[ Done ]
Preparing scenario Plan
[ Done ]
Scheduling scenario Plan
[ Done ]
Checking scenario Plan
[ Done ]
Preparing scenario Delayed
[ Done ]
Scheduling scenario Delayed
[ Done ]
Checking scenario Delayed
[ Done ]
Project project loaded
[Tomas@tomas ecs-blog]$ tj3client status
TaskJuggler III v0.0.7 - A Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010 by Chris Schlaeger
<cs(a)kde.org>

This program is free software; you can redistribute it and/or modify
it under
the terms of version 2 of the GNU General Public License as published
by the
Free Software Foundation.

No. | Project ID | Status | M | Loaded
since
----+---------------------------+----------------+---
+--------------------
1 | project | ready | | 2010-10-07
21:01:26
[Tomas@tomas ecs-blog]$ tj3client list-reports project
TaskJuggler III v0.0.7 - A Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010 by Chris Schlaeger
<cs(a)kde.org>

This program is free software; you can redistribute it and/or modify
it under
the terms of version 2 of the GNU General Public License as published
by the
Free Software Foundation.

Listing report .*
_Report_17._Report_18 html Overview
_Report_17._Report_19 html Specification
_Report_17._Report_20 html Implementation
_Report_17._Report_21 html Closing
_Report_17._Report_22 html Resource Graph
[Tomas@tomas ecs-blog]$ tj3client report project _Report_17._Report_18
TaskJuggler III v0.0.7 - A Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010 by Chris Schlaeger
<cs(a)kde.org>

This program is free software; you can redistribute it and/or modify
it under
the terms of version 2 of the GNU General Public License as published
by the
Free Software Foundation.

Generating report _Report_17._Report_18
Report Overview
[ Done ]
Report _Report_17._Report_18 generated in 2.042548 seconds
[Tomas@tomas ecs-blog]$ sudo netstat -ltnup
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign
Address State PID/Program name
tcp 0 0 127.0.0.1:35875
0.0.0.0:* LISTEN 7714/ruby
tcp 0 0 0.0.0.0:111
0.0.0.0:* LISTEN 1265/rpcbind
tcp 0 0 0.0.0.0:6000
0.0.0.0:* LISTEN 1678/Xorg
tcp 0 0 192.168.122.1:53
0.0.0.0:* LISTEN 1644/dnsmasq
tcp 0 0 0.0.0.0:22
0.0.0.0:* LISTEN 1493/sshd
tcp 0 0 127.0.0.1:631
0.0.0.0:* LISTEN 1368/cupsd
tcp 0 0 127.0.0.1:25
0.0.0.0:* LISTEN 1885/sendmail: acce
tcp 0 0 127.0.0.1:8474
0.0.0.0:* LISTEN 7696/ruby
tcp 0 0 0.0.0.0:53915
0.0.0.0:* LISTEN 1321/rpc.statd
tcp 0 0 0.0.0.0:42109
0.0.0.0:* LISTEN 7714/ruby
tcp 0 0 :::
59270 :::* LISTEN 1321/
rpc.statd
tcp 0 0 :::
111 :::* LISTEN 1265/
rpcbind
tcp 0 0 :::
6000 :::* LISTEN 1678/
Xorg
tcp 0 0 :::
22 :::* LISTEN 1493/
sshd
tcp 0 0 ::
1:631 :::* LISTEN 1368/
cupsd
udp 0 0 192.168.122.1:53
0.0.0.0:* 1644/dnsmasq
udp 0 0 0.0.0.0:67
0.0.0.0:* 1644/dnsmasq
udp 0 0 0.0.0.0:68
0.0.0.0:* 1578/dhclient
udp 0 0 127.0.0.1:52299
0.0.0.0:* 19171/skype
udp 0 0 0.0.0.0:111
0.0.0.0:* 1265/rpcbind
udp 0 0 0.0.0.0:631
0.0.0.0:* 1368/cupsd
udp 0 0 0.0.0.0:649
0.0.0.0:* 1321/rpc.statd
udp 0 0 0.0.0.0:43658
0.0.0.0:* 1321/rpc.statd
udp 0 0 0.0.0.0:5353
0.0.0.0:* 1307/avahi-daemon:
udp 0 0 0.0.0.0:43245
0.0.0.0:* 1369/cups-polld
udp 0 0 0.0.0.0:55573
0.0.0.0:* 1307/avahi-daemon:
udp 0 0 0.0.0.0:1016
0.0.0.0:* 1265/rpcbind
udp 0 0 :::
111 :::* 1265/
rpcbind
udp 0 0 :::
52718 :::* 1321/
rpc.statd
udp 0 0 :::
1016 :::* 1265/
rpcbind
[Tomas@tomas ecs-blog]$ telnet localhost 8080
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
[Tomas@tomas ecs-blog]$ cat tj3d.log
2010-10-07 21:01:09 INFO tj3d[7696]: The process is running as daemon
now with PID 7696
2010-10-07 21:01:09 INFO tj3d[7696]: TaskJuggler web server is
listening on port 8080
2010-10-07 21:01:09 INFO tj3d[7696]: TaskJuggler daemon is listening
on druby://127.0.0.1:8474
2010-10-07 21:01:26 INFO tj3d[7714]: Project project loaded
2010-10-07 21:01:42 INFO tj3d[7734]: Listing report .*
2010-10-07 21:01:56 INFO tj3d[7750]: Generating report
_Report_17._Report_18
2010-10-07 21:01:58 INFO tj3d[7750]: Report _Report_17._Report_18
generated in 2.042548 seconds
[Tomas@tomas ecs-blog]$

Thanks for your help!

Tomas

unread,
Oct 7, 2010, 7:08:23 AM10/7/10
to TaskJuggler Users

Chris Schlaeger

unread,
Oct 7, 2010, 8:45:57 AM10/7/10
to taskjugg...@googlegroups.com
Try running 'tj3d -w -d --debug'. You should see more output on the
console. The forked-off processes (like the webbrick web server)
should generate more tj3d log files. These may include helpful
information.

What ruby version are you running? For the daemon and web server 1.9.2
is required. Earlier versions still contain bugs.

Chris

Tomas

unread,
Oct 7, 2010, 8:09:25 PM10/7/10
to TaskJuggler Users
On Oct 7, 10:45 pm, Chris Schlaeger <cschlae...@gmail.com> wrote:

> What ruby version are you running? For the daemon and web server 1.9.2
> is required. Earlier versions still contain bugs.
>
> Chris

Hi Chris,

Yeah my ruby is 1.8, trying to install 1.9... man oh man what a
mission! Gave up on my fedora box as there are no package for ruby1.9.
Fortunatly debian provides ruby1.9...
I've installed ruby1.9, downloaded git repo and tried to rake gem:

tomas@x32:~/taskjuggler3$ rake gem --trace
(in /home/tomas/taskjuggler3)
rake aborted!
no such file to load -- rubygems
/usr/lib/ruby/1.8/rake/gempackagetask.rb:6:in `require'
/usr/lib/ruby/1.8/rake/gempackagetask.rb:6
/home/tomas/taskjuggler3/Rakefile:4:in `require'
/home/tomas/taskjuggler3/Rakefile:4
/usr/lib/ruby/1.8/rake.rb:2149:in `load'
/usr/lib/ruby/1.8/rake.rb:2149:in `raw_load_rakefile'
/usr/lib/ruby/1.8/rake.rb:1897:in `load_rakefile'
/usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:1896:in `load_rakefile'
/usr/lib/ruby/1.8/rake.rb:1880:in `run'
/usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:1878:in `run'
/usr/bin/rake:28

It looks like rake version I have is using ruby1.8 libraries...

ok I thought I'll give it a shot the easy way:

tomas@x32:~$ sudo gem install taskjuggler
ERROR: Error installing taskjuggler:
taskjuggler requires mail (= 2.1.3, runtime)

What's mail runtime?

I did gem install mail, which installed some gems, but I still get the
same error.

Thanks for your help.

Chris Schlaeger

unread,
Oct 8, 2010, 8:52:13 AM10/8/10
to taskjugg...@googlegroups.com
On Fri, Oct 8, 2010 at 2:09 AM, Tomas <toma...@gmail.com> wrote:
> Yeah my ruby is 1.8, trying to install 1.9... man oh man what a
> mission! Gave up on my fedora box as there are no package for ruby1.9.
> Fortunatly debian provides ruby1.9...
> I've installed ruby1.9, downloaded git repo and tried to rake gem:

You need 1.9._2_. 1.9.1 and earlier will not work.

> tomas@x32:~$ sudo gem install taskjuggler
> ERROR:  Error installing taskjuggler:
>        taskjuggler requires mail (= 2.1.3, runtime)

The mail gem should be installed automatically when you install the
taskjuggler gem.

Keep in mind that ruby19 comes with gem and rake. If you have an
earlier version already installed, you are probably calling the wrong
gem and rake executables. The easiest way to get 1.9.2 is to compile
from source and use --program-suffix=19 to get ruby19, gem19 etc.
binaries.

Chris

Tomas

unread,
Oct 13, 2010, 6:03:55 PM10/13/10
to TaskJuggler Users


On Oct 8, 10:52 pm, Chris Schlaeger <cschlae...@gmail.com> wrote:
>
> The mail gem should be installed automatically when you install the
> taskjuggler gem.
>
> Keep in mind that ruby19 comes with gem and rake. If you have an
> earlier version already  installed, you are probably calling the wrong
> gem and rake executables. The easiest way to get 1.9.2 is to compile
> from source and use --program-suffix=19 to get ruby19, gem19 etc.
> binaries.
>
> Chris

Chris, thanks for getting back I'll try to get ruby 19 going in the
virutal environment will keep you posted (:

Tomas

unread,
Oct 19, 2010, 10:39:39 PM10/19/10
to TaskJuggler Users
Sorry, I pressed the wrong reply option, you will also get an email
from me...

As I said, I have installed ruby 1.9.2 and latest tj3 no errors
reported. I am running

[tdabasin@localhost ~]$ tj3d -w -d --debug
TaskJuggler III v0.0.7 - A Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010 by Chris Schlaeger
<cs(a)kde.org>

This program is free software; you can redistribute it and/or modify
it under
the terms of version 2 of the GNU General Public License as published
by the
Free Software Foundation.

[2010-10-20 12:25:43] INFO WEBrick 1.3.1
[2010-10-20 12:25:43] INFO ruby 1.9.2 (2010-08-18) [i686-linux]
Exception `Errno::EADDRINUSE' at /home/tdabasin/.rvm/rubies/ruby-1.9.2-
p0/lib/ruby/1.9.1/webrick/utils.rb:73 - Address already in use -
bind(2)
[2010-10-20 12:25:43] WARN TCPServer Error: Address already in use -
bind(2)
Cannot find the css directory. This is usually the result of an
improper TaskJuggler installation. If you know the directory, you can
use the
TASKJUGGLER_DATA_PATH environment variable to specify the location.
The
variable should be set to the path without the /data at the end.
Multiple
directories must be separated by colons.

Here's my netstat:

[tdabasin@localhost ~]$ sudo netstat -ltopn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign
Address State PID/Program name Timer
tcp 0 0 0.0.0.0:22
0.0.0.0:* LISTEN 1412/sshd off
(0.00/0/0)
tcp 0 0 127.0.0.1:631
0.0.0.0:* LISTEN 1293/cupsd off
(0.00/0/0)
tcp 0 0 127.0.0.1:25
0.0.0.0:* LISTEN 1700/sendmail: acce off
(0.00/0/0)
tcp 0 0 0.0.0.0:52162
0.0.0.0:* LISTEN 1249/rpc.statd off
(0.00/0/0)
tcp 0 0 0.0.0.0:111
0.0.0.0:* LISTEN 1191/rpcbind off
(0.00/0/0)
tcp 0 0 :::
22 :::* LISTEN 1412/
sshd off (0.00/0/0)
tcp 0 0 ::
1:631 :::* LISTEN 1293/
cupsd off (0.00/0/0)
tcp 0 0 :::
58255 :::* LISTEN 1249/
rpc.statd off (0.00/0/0)
tcp 0 0 :::
111 :::* LISTEN 1191/
rpcbind off (0.00/0/0)

Tomas

unread,
Oct 20, 2010, 1:54:17 AM10/20/10
to TaskJuggler Users
I've searched for posts with TASKJUGGLER_DATA_PATH and set my
environment variable for the path manually. I can use taskjuggler. I
still have some questions regarding the tj3d.



[tdabasin@localhost examples]$ tj3d -w -d --debug
TaskJuggler III v0.0.7 - A Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010 by Chris Schlaeger
<cs(a)kde.org>

This program is free software; you can redistribute it and/or modify
it under
the terms of version 2 of the GNU General Public License as published
by the
Free Software Foundation.

[2010-10-20 15:45:10] INFO WEBrick 1.3.1
[2010-10-20 15:45:10] INFO ruby 1.9.2 (2010-08-18) [i686-linux]
Exception `Errno::EADDRINUSE' at /home/tdabasin/.rvm/rubies/ruby-1.9.2-
p0/lib/ruby/1.9.1/webrick/utils.rb:73 - Address already in use -
bind(2)
[2010-10-20 15:45:10] WARN TCPServer Error: Address already in use -
bind(2)
TaskJuggler web server is listening on port 8080
[2010-10-20 15:45:10] INFO WEBrick::HTTPServer#start: pid=3147
port=8080
TaskJuggler daemon is listening on druby://127.0.0.1:8474
Exception `DRb::DRbConnError' at /home/tdabasin/.rvm/rubies/ruby-1.9.2-
p0/lib/ruby/1.9.1/drb/drb.rb:570 - connection closed
Exception `DRb::DRbConnError' at /home/tdabasin/.rvm/rubies/ruby-1.9.2-
p0/lib/ruby/1.9.1/drb/drb.rb:570 - connection closed
Exception `DRb::DRbConnError' at /home/tdabasin/.rvm/rubies/ruby-1.9.2-
p0/lib/ruby/1.9.1/drb/drb.rb:570 - connection closed
Exception `DRb::DRbConnError' at /home/tdabasin/.rvm/rubies/ruby-1.9.2-
p0/lib/ruby/1.9.1/drb/drb.rb:570 - connection closed
Exception `DRb::DRbConnError' at /home/tdabasin/.rvm/rubies/ruby-1.9.2-
p0/lib/ruby/1.9.1/drb/drb.rb:570 - connection closed
Exception `WEBrick::HTTPStatus::NotFound' at /home/tdabasin/.rvm/
rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/httpserver.rb:106 - `/'
not found.
[2010-10-20 15:49:13] ERROR `/' not found.
localhost.localdomain - - [20/Oct/2010:15:49:13 EST] "GET / HTTP/1.1"
404 270
- -> /


And in another terminal:

[tdabasin@localhost examples]$ tj3client add tutorial.tjp
TaskJuggler III v0.0.7 - A Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010 by Chris Schlaeger
<cs(a)kde.org>

This program is free software; you can redistribute it and/or modify
it under
the terms of version 2 of the GNU General Public License as published
by the
Free Software Foundation.

Reading file tutorial.tjp
[ Done ]
Preparing scenario Plan
[ Done ]
Scheduling scenario Plan
[ Done ]
Checking scenario Plan
[ Done ]
Preparing scenario Delayed
[ Done ]
Scheduling scenario Delayed
[ Done ]
Checking scenario Delayed
[ Done ]
Project acso loaded
[tdabasin@localhost examples]$ tj3client status
TaskJuggler III v0.0.7 - A Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010 by Chris Schlaeger
<cs(a)kde.org>

This program is free software; you can redistribute it and/or modify
it under
the terms of version 2 of the GNU General Public License as published
by the
Free Software Foundation.

No. | Project ID | Status | M | Loaded
since
----+---------------------------+----------------+---
+--------------------
1 | acso | ready | | 2010-10-20
15:46:27
[tdabasin@localhost examples]$ tj3client list-reports acso
TaskJuggler III v0.0.7 - A Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010 by Chris Schlaeger
<cs(a)kde.org>

This program is free software; you can redistribute it and/or modify
it under
the terms of version 2 of the GNU General Public License as published
by the
Free Software Foundation.

Listing report .*
frame.index html Overview
frame._Report_3 html Status
frame.development html Development
frame._Report_5 html Deliveries
frame._Report_6 html ContactList
frame._Report_7 html ResourceGraph
[tdabasin@localhost examples]$ tj3client report acso frame.index
TaskJuggler III v0.0.7 - A Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010 by Chris Schlaeger
<cs(a)kde.org>

This program is free software; you can redistribute it and/or modify
it under
the terms of version 2 of the GNU General Public License as published
by the
Free Software Foundation.

Generating report frame.index
Report Overview
[ Done ]
Report frame.index generated in 0.260810099 seconds
[tdabasin@localhost examples]$ tj3client report acso frame.*
TaskJuggler III v0.0.7 - A Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010 by Chris Schlaeger
<cs(a)kde.org>

This program is free software; you can redistribute it and/or modify
it under
the terms of version 2 of the GNU General Public License as published
by the
Free Software Foundation.

Generating report frame.*
Error: Request to generate unknown report frame.*
Exception `TaskJuggler::TjException' at /home/tdabasin/.rvm/gems/
ruby-1.9.2-p0/gems/taskjuggler-0.0.7/lib/MessageHandler.rb:151 -
Report generation of frame.* failed
[tdabasin@localhost examples]$ curl -k localhost:8080
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<HTML>
<HEAD><TITLE>Not Found</TITLE></HEAD>
<BODY>
<H1>Not Found</H1>
`/' not found.
<HR>
<ADDRESS>
WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18) at
localhost:8080
</ADDRESS>
</BODY>
</HTML>


Still nothing, where does the wwwroot point to?

Tomas

unread,
Oct 20, 2010, 5:57:54 AM10/20/10
to TaskJuggler Users
okay, got some information from
git diff aaf4fa2b2ab0d57f5c1af3da96ad653b8b72d12a
8c3515d3e99f2cc469ac450c4404d8121a8a78f2
well, that I need to add /taskjuggler at the end of my url.

So I start the server, I navigate to http://127.0.0.1/taskjuggler and
I can see Welcome to the TaskJuggler Project Server!!! I then proceed
to add my project: tj3client add tutorial.tjp. I reload the
taskjuggler server page and see example tutorial project with links to
the reports, however when I click on any of the links I get an error:

ERROR: Report server crashed: connection closed
Generating report frame.index
Exception `NoMethodError' at /home/tdabasin/.rvm/gems/ruby-1.9.2-p0/
gems/taskjuggler-0.0.7/lib/TextParser.rb:359 - undefined method
`repeatable' for nil:NilClass
undefined method `repeatable' for nil:NilClass/home/tdabasin/.rvm/gems/
ruby-1.9.2-p0/gems/taskjuggler-0.0.7/lib/TextParser.rb:359:in
`parseRuleR'
/home/tdabasin/.rvm/gems/ruby-1.9.2-p0/gems/taskjuggler-0.0.7/lib/
TextParser.rb:193:in `parse'
/home/tdabasin/.rvm/gems/ruby-1.9.2-p0/gems/taskjuggler-0.0.7/lib/
ProjectFileParser.rb:106:in `parseReportAttributes'
/home/tdabasin/.rvm/gems/ruby-1.9.2-p0/gems/taskjuggler-0.0.7/lib/
Project.rb:705:in `block in generateReport'
/home/tdabasin/.rvm/gems/ruby-1.9.2-p0/gems/taskjuggler-0.0.7/lib/
Project.rb:685:in `each'
/home/tdabasin/.rvm/gems/ruby-1.9.2-p0/gems/taskjuggler-0.0.7/lib/
Project.rb:685:in `generateReport'
/home/tdabasin/.rvm/gems/ruby-1.9.2-p0/gems/taskjuggler-0.0.7/lib/
TaskJuggler.rb:175:in `generateReport'
/home/tdabasin/.rvm/gems/ruby-1.9.2-p0/gems/taskjuggler-0.0.7/lib/
daemon/ReportServer.rb:112:in `generateReport'
/home/tdabasin/.rvm/gems/ruby-1.9.2-p0/gems/taskjuggler-0.0.7/lib/
daemon/ReportServer.rb:186:in `block in generateReport'
/home/tdabasin/.rvm/gems/ruby-1.9.2-p0/gems/taskjuggler-0.0.7/lib/
daemon/ProcessIntercom.rb:24:in `trap'
/home/tdabasin/.rvm/gems/ruby-1.9.2-p0/gems/taskjuggler-0.0.7/lib/
daemon/ReportServer.rb:186:in `generateReport'
/home/tdabasin/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/drb/drb.rb:
1558:in `perform_without_block'
/home/tdabasin/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/drb/drb.rb:
1518:in `perform'
/home/tdabasin/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/drb/drb.rb:
1592:in `block (2 levels) in main_loop'
/home/tdabasin/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/drb/drb.rb:
1588:in `loop'
/home/tdabasin/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/drb/drb.rb:
1588:in `block in main_loop'Unexpected exception: undefined method
`repeatable' for nil:NilClass

Chris Schlaeger

unread,
Nov 1, 2010, 11:13:10 AM11/1/10
to taskjugg...@googlegroups.com
On Wed, Oct 20, 2010 at 11:57 AM, Tomas <toma...@gmail.com> wrote:
> So I start the server, I navigate to http://127.0.0.1/taskjuggler and
> I can see Welcome to the TaskJuggler Project Server!!! I then proceed
> to add my project: tj3client add tutorial.tjp. I reload the
> taskjuggler server page and see example tutorial project with links to
> the reports, however when I click on any of the links I get an error:
>
> ERROR: Report server crashed: connection closed
> Generating report frame.index
> Exception `NoMethodError' at /home/tdabasin/.rvm/gems/ruby-1.9.2-p0/
> gems/taskjuggler-0.0.7/lib/TextParser.rb:359 - undefined method
> `repeatable' for nil:NilClass

I've made a lot of changes to the parser recently. You probably hit a
state that wasn't 100% stable. Please try with current HEAD version
and let me know of the problem still exists.

Thanks,
Chris

A.Nagy

unread,
Nov 3, 2010, 7:48:30 AM11/3/10
to TaskJuggler Users
Hi Chris,

i just updated Ruby to 1.9.2 p0 and get the following error:
C:/Ruby192/lib/ruby/gems/1.9.1/gems/taskjuggler-0.0.7/lib/
RichTextSyntaxRules.rb:256:in `block in rule_textWithSpace': undefined
m
ethod `last' for nil:NilClass (NoMethodError)
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/taskjuggler-0.0.7/lib/
TextParser.rb:368:in `call'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/taskjuggler-0.0.7/lib/
TextParser.rb:368:in `finishPattern'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/taskjuggler-0.0.7/lib/
TextParser.rb:325:in `block in parseFSM'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/taskjuggler-0.0.7/lib/
TextParser.rb:263:in `loop'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/taskjuggler-0.0.7/lib/
TextParser.rb:263:in `parseFSM'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/taskjuggler-0.0.7/lib/
TextParser.rb:192:in `parse'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/taskjuggler-0.0.7/lib/
RichText.rb:114:in `generateIntermediateFormat'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/taskjuggler-0.0.7/lib/
ProjectFileParser.rb:218:in `newRichText'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/taskjuggler-0.0.7/lib/
TjpSyntaxRules.rb:3099:in `block in rule_reportAttributes'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/taskjuggler-0.0.7/lib/
TextParser.rb:368:in `call'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/taskjuggler-0.0.7/lib/
TextParser.rb:368:in `finishPattern'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/taskjuggler-0.0.7/lib/
TextParser.rb:282:in `block in parseFSM'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/taskjuggler-0.0.7/lib/
TextParser.rb:263:in `loop'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/taskjuggler-0.0.7/lib/
TextParser.rb:263:in `parseFSM'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/taskjuggler-0.0.7/lib/
TextParser.rb:192:in `parse'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/taskjuggler-0.0.7/lib/
TaskJuggler.rb:60:in `block in parse'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/taskjuggler-0.0.7/lib/
TaskJuggler.rb:48:in `each'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/taskjuggler-0.0.7/lib/
TaskJuggler.rb:48:in `parse'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/taskjuggler-0.0.7/lib/
taskjuggler3.rb:134:in `main'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/taskjuggler-0.0.7/lib/
taskjuggler3.rb:156:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/taskjuggler-0.0.7/bin/
tj3:2:in `<top (required)>'
from C:/Ruby192/bin/tj3:19:in `load'
from C:/Ruby192/bin/tj3:19:in `<main>'

any idea?


greetings

alex

On 1 Nov., 16:13, Chris Schlaeger <cschlae...@gmail.com> wrote:

A.Nagy

unread,
Nov 3, 2010, 8:45:35 AM11/3/10
to TaskJuggler Users
Hi,

...found the error: It was sitting behind the TFT...

I forgot to install TJ3 after RUBY 1.9.2 p0 (the actual version)....

sorry!

greetings

alex

inp...@gmail.com

unread,
Apr 13, 2013, 5:51:36 AM4/13/13
to taskjugg...@googlegroups.com


On Friday, October 8, 2010 2:52:13 PM UTC+2, Chris Schlaeger wrote:
On Fri, Oct 8, 2010 at 2:09 AM, Tomas <toma...@gmail.com> wrote:
> Yeah my ruby is 1.8, trying to install 1.9... man oh man what a
> mission! Gave up on my fedora box as there are no package for ruby1.9.
> Fortunatly debian provides ruby1.9...
> I've installed ruby1.9, downloaded git repo and tried to rake gem:

You need 1.9._2_. 1.9.1 and earlier will not work.

> tomas@x32:~$ sudo gem install taskjuggler
> ERROR:  Error installing taskjuggler:
>        taskjuggler requires mail (= 2.1.3, runtime)

The mail gem should be installed automatically when you install the
taskjuggler gem.


Installed ruby200 from source, then tried to install taskjuggler340 when entered ruby equivalent of rpm dependency hell (! :) )

taskjuggler requires mail

installed mail

mail requires mime-types

installed mime-types

mail requires treetop

installed treetop

treetop requires polyglot

installed polyglot

mail requires i18n

installed i18n

taskjuggler requires term-ansicolor

Then taskjuggler was installed ;)


Алексей Простаков

unread,
Jun 4, 2013, 4:47:11 AM6/4/13
to taskjugg...@googlegroups.com
I want to use tj3d too. I made:
1)  run
$tj3d
2) add project:
$tj3client add main.tjp
3) goto
http://127.0.0.1:8080/taskjuggler
and ... ALL work!!!

1) I was changed task file in project, how I can see rebuild report?

Chris Schlaeger

unread,
Jun 5, 2013, 12:12:44 PM6/5/13
to taskjugg...@googlegroups.com
Just run

  tj3client update

Chris



--
You received this message because you are subscribed to the "TaskJuggler Users" group.
To post to this group, send email to taskjugg...@googlegroups.com
To unsubscribe from this group, send email to
taskjuggler-us...@googlegroups.com
For more information about TaskJuggler visit http://www.taskjuggler.org
---
You received this message because you are subscribed to the Google Groups "TaskJuggler Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to taskjuggler-us...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages