Croak after creating XML report

Stefano di Sandro stedis at antartide.org
Wed Jan 5 11:37:53 CET 2005


Hi,
this is the output of lr_log2report

Parsing log file using atkannel DLF Converter...
Extracted 39998 DLF records on 40000 lines.
Encountered 0 errors and ignored 2 lines.
Running analysers...
Generating XML report...
lr_log2report: ERROR Can't use an undefined value as a HASH reference 
at /usr/local/share/perl5/Lire/Report/Group.pm line 372.

My report config spec XML follows.

<lire:report-calc-spec>
 <lire:timegroup period="$period">
 
 <lire:group sort="status" >
   <lire:field name="reqtime" label="RequestTime"/>
      <lire:field name="status" label="Status"/>
      <lire:field name="act" label="Account"/>
   
      <lire:count name="total" label="Deliveries" />
   <lire:count name="total_ratio" ratio="table" label="% Total"/>
      <lire:count name="group_ratio" ratio="group" label="% Period"/>
    </lire:group>

  </lire:timegroup>
</lire:report-calc-spec>

Tell me if you need more details about.
The problem arises only with nested aggregation. If we calculate with "group" 
only element the report comes out as expected.

Thanks in advance for your help.

Ste


-- 
StediS - Antartide.ORG 
Fingerprint: DD3A 929F 0999 10B1 5E94 A7FE E9F6 2E2A C082 7A0E

-- 
To UNSUBSCRIBE, email to development-request at logreport.org with a subject of
"unsubscribe". Trouble? Send an email with subject "help" to
development-request at logreport.org



More information about the Development mailing list