Hello,
This is my first message here, so, nice to meet you all. I have a problem with tj3d. Specifically, I can't load projects in it. I have this problem on 3 Gentoo machines. On all 3, I tried all possible combinations of versions for libyaml (0.1.2 and 0.1.4), the taskjuggler gem (3.4.0 and 3.3.0), and ruby19 (1.9.3_p125 1.9.3_p194-r1 (~)1.9.3_p286 (~)1.9.3_p385 1.9.3_p392). Soo. I'm scratching my head now. I'll paste the symptoms below, but I'll start with .taskjugglerrc:
_global:
authKey: secret
_log:
logLevel: 4
outputLevel: 4
(they're properly indented)
tj3d -c .taskjugglerrc --debug -d -c .taskjugglerrc
TaskJuggler v3.4.0 - A Project Management Software
Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012
by Chris Schlaeger <
ch...@linux.com>
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.
Exception `ArgumentError' at /usr/lib64/ruby/1.9.1/psych/scalar_scanner.rb:91 - invalid value for Integer(): "global"
Exception `ArgumentError' at /usr/lib64/ruby/1.9.1/psych/scalar_scanner.rb:91 - invalid value for Integer(): "log"
Info: TaskJuggler daemon is listening on druby://
127.0.0.1:8474
Exception `DRb::DRbConnError' at /usr/lib64/ruby/1.9.1/drb/drb.rb:570 - connection closed
The last line is because I issued:
tj3client --debug status
TaskJuggler v3.4.0 - A Project Management Software
Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012
by Chris Schlaeger <
ch...@linux.com>
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.
Exception `ArgumentError' at /usr/lib64/ruby/1.9.1/psych/scalar_scanner.rb:91 - invalid value for Integer(): "global"
Exception `ArgumentError' at /usr/lib64/ruby/1.9.1/psych/scalar_scanner.rb:91 - invalid value for Integer(): "log"
No projects registered
Now, if I try to add a project:
tj3client --debug add tutorial.tjp
TaskJuggler v3.4.0 - A Project Management Software
Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012
by Chris Schlaeger <
ch...@linux.com>
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.
Exception `ArgumentError' at /usr/lib64/ruby/1.9.1/psych/scalar_scanner.rb:91 - invalid value for Integer(): "global"
Exception `ArgumentError' at /usr/lib64/ruby/1.9.1/psych/scalar_scanner.rb:91 - invalid value for Integer(): "log"
Exception `TypeError' at /usr/lib64/ruby/1.9.1/drb/drb.rb:557 - can't dump IO
Exception `TypeError' at /usr/lib64/ruby/1.9.1/drb/drb.rb:521 - can't dump IO
Exception `TypeError' at /usr/lib64/ruby/1.9.1/drb/drb.rb:521 - can't dump IO
Exception `TypeError' at /usr/lib64/ruby/1.9.1/drb/drb.rb:521 - can't dump IO
Exception `SecurityError' at /usr/local/lib64/ruby/gems/1.9.1/gems/taskjuggler-3.4.0/lib/taskjuggler/UTF8String.rb:130 - Insecure operation - encode
Warning: Projects(s) tutorial.tjp could not be added
Which generates (in the server console):
Exception `DRb::DRbConnError' at /usr/lib64/ruby/1.9.1/drb/drb.rb:570 - connection closed
Warning: Loading of project failed: connection closed
Exception `DRb::DRbConnError' at /usr/lib64/ruby/1.9.1/drb/drb.rb:570 - connection closed
P.S. I do have the UTF8 locale.