[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#559588: grepmail: Complains about invalid config variable 'todayismidnight'



Package: grepmail
Version: 5.3033-4
Severity: normal


When grepmail is called, for example, with "-d 'between
2009-12-01 and 2010-01-01'", it complains with

"ERROR: [config_var] invalid config variable:
todayismidnight"

I don't know if this error is originating in grepmail or in
date::manip.

The problem seems to come around line 403 in
/usr/bin/grepmail:

Date::Manip::Date_Init("TodayIsMidnight=1") if
$version_number >= 5.43;

grepmail's changelog entry for 5.10 does mention the
following:

- Date specifications without times (e.g. "today") are
  interpreted as midnight of the given day instead of the
  current time of that day. grepmail now relies on
  Date::Manip to handle this--users must upgrade Date::Manip
  to get this support. (Thanks to Reuben Thomas
  <rrt@sc3d.org> for working with Sullivan Beck
  <sbeck@cise.ufl.edu> to get TodayIsMidnight added to
  Date::Manip.)

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grepmail depends on:
ii  libmail-mbox-messageparser-pe 1.5002-1   Perl module for processing mbox fo
ii  libtimedate-perl              1.1900-1   Time and date functions for Perl
ii  perl                          5.10.1-8   Larry Wall's Practical Extraction 
ii  perl-base [libscalar-list-uti 5.10.1-8   minimal Perl system

grepmail recommends no packages.

Versions of packages grepmail suggests:
ii  libdate-manip-perl            6.04-1     module for manipulating dates

-- no debconf information



This message and any enclosures are intended only for the addressee.  Please  
notify the sender by email if you are not the intended recipient.  If you are  
not the intended recipient, you may not use, copy, disclose, or distribute this  
message or its contents or enclosures to any other person and any such actions  
may be unlawful.  Ball reserves the right to monitor and review all messages  
and enclosures sent to or from this email address.



Reply to: