Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Log-Saftpresse CPAN distribution.

Report information
The Basics
Id: 114160
Status: resolved
Priority: 0/
Queue: Log-Saftpresse

People
Owner: Nobody in particular
Requestors: henrik [...] hswn.dk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: saftsumm aborts with "Can't call method "info" on an undefined value at /usr/.../PluginContainer.pm line 32."
Date: Wed, 4 May 2016 08:02:14 +0200
To: bug-Log-Saftpresse [...] rt.cpan.org
From: Henrik Størner <henrik [...] hswn.dk>
Hi, I have tried installing "saftsumm" from Log-Saftpresse-1.3 on a Debian 8 system, using as many of the standard Debian perl packages as possible. Running "perl Makefile.PL" completes with one warning: root@vmail:~/saftsumm/Log-Saftpresse-1.3# perl Makefile.PL Checking if your kit is complete... Looks good Warning: prerequisite Search::Elasticsearch 0 not found. Generating a Unix-style Makefile Writing Makefile for Log::Saftpresse Writing MYMETA.yml and MYMETA.json I assume this is a warning only, since it does complete the configuration run? make/make install is fine. Then, running saftsumm fails: root@vmail:~/saftsumm/Log-Saftpresse-1.3# saftsumm -d yesterday /var/log/mail.info Can't call method "info" on an undefined value at /usr/local/share/perl/5.20.2/Log/Saftpresse/PluginContainer.pm line 32. Any hints what the problem might be? Thanks in advance, Henrik
On Wed May 04 02:02:57 2016, henrik@hswn.dk wrote: Show quoted text
> root@vmail:~/saftsumm/Log-Saftpresse-1.3# saftsumm -d yesterday > /var/log/mail.info > > Can't call method "info" on an undefined value at > /usr/local/share/perl/5.20.2/Log/Saftpresse/PluginContainer.pm line > 32.
Thank you for reporting this bug. The logging is not initialized in saftsumm. I just fixed the bug and will push a new release.