Lire 1.3beta 1 - problems

Francis J. Lacoste flacoste at logreport.org
Sat May 3 19:06:18 CEST 2003


On ven, 2003-05-02 at 03:53, Edwin Groothuis wrote:
> (Sorry, no proper patches)
> 
> In /usr/local/share/perl5/Lire/Config.pm line 344, replace 
> 	">",
> with 
> 	">".
> 

Fix was applied in the CVS.

> 
> In /usr/local/share/perl5/Lire/Config/Legacy.pm, line 79, replace
> 	if ( defined $ENV{$old_var} ) {
> with
> 	if ( defined $ENV{$old_var} && $ENV{$old_var}) {
> If you don't, non-existing variables in .lire/etc/defaults will
> cause these kind of messages:
> 	invalid value for parameter 'lr_mail_explanation':  at /usr/local/share/perl5/Lire/Config/Legacy.pm line 82

We can't really do this, since a set and empty environment variable used
to mean 'false' in the old configuration scheme. So the warning seems
appropriate.

> 
> 
> If you don't have a specific item (for example, pdfxmltex), you can't run lire:
> 
>     [~] edwin at k7>cat /var/log/maillog | lr_run lr_log2report -o text postfix

The warnings you get are unrelated to your problem which is that 'text'
isn't recognized as a valid output format:

>     email postfix lr_tag-20030502170051-4036 lr_xml2report err format text is not supported
>     email postfix lr_tag-20030502170051-4036 lr_log2report err missing requirements for the selected output format

(The proper name is 'txt')


>     all all UNSET lr_environment warning invalid value for parameter 'pdfxmltex_path':  at /usr/local/bin/lr_environment line 22
>     email postfix lr_tag-20030502170051-4036 lr_environment warning invalid value for parameter 'pdfxmltex_path':  at /usr/local/bin/lr_environment line 22
> 

Normally we are supposed to output a warning only when a needed 
configuration item is used. But since lr_environment access all the 
configuration variables to export them as environment variables, it will
trigger such a warning even if the variable isn't really needed. Thus it
seems like a good idea to inhibit warnings from lr_environment.
But these warnings shouldn't prevent you from running Lire.


>     [~] edwin at k7>cat /var/log/maillog | lr_run lr_log2report postfix
>     lr_environement: not found

That was a typo in lr_run and is now fixed.

Thanks for this initial report.

Francis J. Lacoste

-- 
Francis J. Lacoste              . .           http://www.logreport.org
/^LogReport$/               . .               flacoste at logreport.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.logreport.org/pipermail/development/attachments/20030503/9a43511f/attachment.bin 


More information about the Development mailing list