[prev in list] [next in list] [prev in thread] [next in thread] 

List:       taskjuggler
Subject:    [taskjuggler] tjx2gantt problem
From:       Stefan Janecek <stefan.janecek () jku ! at>
Date:       2003-10-16 14:25:44
[Download RAW message or body]


hi taskjuggler people,

I am using taskjugler 1.9.2 and recently encountered a strange problem
with tjx2gantt. After doing minor changes in my project file, tjx2gantt
prints the following error messages:

Use of uninitialized value in subtraction (-) at
/usr/local/bin/tjx2gantt line 303.
Use of uninitialized value in subtraction (-) at
/usr/local/bin/tjx2gantt line 309.
Use of uninitialized value in subtraction (-) at
/usr/local/bin/tjx2gantt line 309.
Use of uninitialized value in subtraction (-) at
/usr/local/bin/tjx2gantt line 318.

and gv also complains about some errors in the resulting postscript, but
still displays the chart without any of the text. According to my RCS
diff, the only difference between the working version of the project
file and the one resulting in the errors are:
- one task was removed
- some 'complete 0' directives have been changed to 'complete 100'
(finally ;-)
Thanks god I am keeping my project files in RCS....

I have to admit I know nothing about perl (and after reading perl code,
moreover consider it to be an ugly language), but tried to shed a bit of
light onto the problem by adding the following statement in line 294:

   print "t=$t, x1=$x1, y1=$y1, task_height=$task_height\n---------\n";
 
The following lines seem to be relevant to the problem:

t=exams.groupth, x1=465, y1=57.5, task_height=5
---------
Use of uninitialized value in concatenation (.) or string at
/usr/local/bin/mytjx2gantt line 294.
Use of uninitialized value in concatenation (.) or string at
/usr/local/bin/mytjx2gantt line 294.
Use of uninitialized value in concatenation (.) or string at
/usr/local/bin/mytjx2gantt line 294.
t=ex, x1=, y1=, task_height=5
---------
Use of uninitialized value in subtraction (-) at
/usr/local/bin/mytjx2gantt line 304.
Use of uninitialized value in subtraction (-) at
/usr/local/bin/mytjx2gantt line 310.
Use of uninitialized value in subtraction (-) at
/usr/local/bin/mytjx2gantt line 310.
Use of uninitialized value in subtraction (-) at
/usr/local/bin/mytjx2gantt line 319.
Use of uninitialized value in concatenation (.) or string at
/usr/local/bin/mytjx2gantt line 294.
Use of uninitialized value in concatenation (.) or string at
/usr/local/bin/mytjx2gantt line 294.
Use of uninitialized value in concatenation (.) or string at
/usr/local/bin/mytjx2gantt line 294.
t=ams.thermo, x1=, y1=, task_height=5
---------

There IS a task called 'exams.thermo', but apparently it somehow gets
split into 'ex' and 'ams.thermo'. The task definition in the project
file is

    task thermo "Thermodynamik" {
	depends !groupth
	effort 160h
	complete 0
    }

and neither the task itself nor its predecessor or successor have been
changed compared to the working version.

So far, so good, so strange. Any ideas, anybody ?

Best regards,
Stefan

-- 
"We have joy, we have fun, we have Linux on a Sun ..."
__________________________________________________________________________
Stefan Janecek
Institute of Semiconductor & Solid State Physics
Universtity of Linz/Austria                 -----==-
work phone: +43 (0)732 2468-9612            ----==--
Fax         +43 (0)732 2468-8650            ---==---(_)__  __ ____  __
mail: stefan.janecek@jku.at                 --==---/ / _ \/ // /\ \/ /
                                            -=====/_/_//_/\_,_/ /_/\_\
ICQ:  segfault/#52065279                    The choice of a GNU generation
--------------------------------------------------------------------------
GPG: 1024D/F37F4243 2002-05-07 Stefan Janecek <stefan.janecek@jku.at>
     Key fingerprint = F9A7 AC8E BF0D FF85 17A2  8E88 8955 A3F0 F37F 4243

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic