This is a discussion on Re: [AMaViS-user] Can't coerce GLOB to string in entersub within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Leo, > Using amavisd-new-2.6.0, amavisd-nanny gives me: > > Can't coerce GLOB to string ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Leo,
> Using amavisd-new-2.6.0, amavisd-nanny gives me: > > Can't coerce GLOB to string in entersub at > /usr/lib/perl5/vendor_perl/5.8.8/i386 -linux-thread-multi/BerkeleyDB.pm > line 737. > > It seems that > $env = BerkeleyDB::Env->new( > -Home => $db_home, -Flags => DB_INIT_CDB | DB_INIT_MPOOL, > -ErrFile => *STDOUT, -Verbose => 1); > should read > $env = BerkeleyDB::Env->new( > -Home => $db_home, -Flags => DB_INIT_CDB | DB_INIT_MPOOL, > -Verbose => 1); > to fix that for me. > > I'm using: perl-BerkeleyDB-0.31-2, perl-5.8.8 Strange. The '-ErrFile => *STDOUT' was introduced with BerkeleyDB 0.26: * -Errfile will now accept a filehandle as well as a filename This means that -ErrFile => *STDOUT will get all extended error messages displayed directly on screen. It works fine here (using BerkeleyDB 0.34). Removing the option is also a valid workaround. Mark ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757...un.com/javaone _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/...fo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ |
![]() |
| Thread Tools | |
| Display Modes | |
|
|