lr_log2report fails on processing a combined log
Bug #668719 reported by
René Brandenburger
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lire (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: lire
running
lr_log2report combined /path/to/
gives the following error:
Parsing log file using combined DLF Converter...
lr_log2report: ERROR store doesn't contain a 'lire_import_log' stream at /usr/share/
no log is generated
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: lire 2:2.1-1
ProcVersionSign
Uname: Linux 2.6.35-23-generic i686
NonfreeKernelMo
Architecture: i386
Date: Sat Oct 30 14:58:09 2010
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=de_LU.utf8
SHELL=/bin/bash
SourcePackage: lire
Changed in lire (Ubuntu): | |
status: | New → Confirmed |
To post a comment you must log in.
Patch for this:
/usr/share/ perl5/Lire/ DlfStore. pm
sub dlf_streams {
my $self = $_[0];
my @streams = (); {'_dbh' }->table_ info( "", "", "dlf_%", "TABLE" ); hashref( ) ) { info->{ 'TABLE_ NAME'} =~ /^dlf_(.*)/; info->{ 'TABLE_ NAME'} =~ /_links$/; {'_dbh' }->tables;
- my $sth = $self->
- $sth->execute();
- while ( my $table_info = $sth->fetchrow_
- next unless $table_
- next if $table_
- push @streams, $1;
- }
- $sth->finish();
+ # JB : table_info seems to fail
+ my @table_list = $self->
+ foreach my $table ( @table_list) {
+ next unless $table =~ /dlf_(.*)"/;
+ next if $table =~ /_links$/;
+ push @streams, $1;
+ }
return @streams;
}