List Info

Thread: v3.5.1 Subroutine's redefined




v3.5.1 Subroutine's redefined
country flaguser name
Germany
2007-03-29 12:06:46
HI all
    I upgraded to v3.5.1 this morning and after some
tweaking, 
everything works as expected, except I now the the following
warnings 
when I run "spamassassin --lint":

Subroutine FuzzyOcr::debuglog redefined at 
/usr/lib/perl5/5.8.6/Exporter.pm line 65.
 at /etc/mail/spamassassin/FuzzyOcr.pm line 25
Subroutine FuzzyOcr::parse_config redefined at 
/usr/lib/perl5/5.8.6/Exporter.pm line 65.
 at /etc/mail/spamassassin/FuzzyOcr.pm line 26
Subroutine FuzzyOcr::finish_parsing_end redefined at 
/usr/lib/perl5/5.8.6/Exporter.pm line 65.
 at /etc/mail/spamassassin/FuzzyOcr.pm line 26
Subroutine FuzzyOcr::check_image_hash_db redefined at 
/usr/lib/perl5/5.8.6/Exporter.pm line 65.
 at /etc/mail/spamassassin/FuzzyOcr.pm line 41
Subroutine FuzzyOcr::add_image_hash_db redefined at 
/usr/lib/perl5/5.8.6/Exporter.pm line 65.
 at /etc/mail/spamassassin/FuzzyOcr.pm line 41
Subroutine FuzzyOcr::calc_image_hash redefined at 
/usr/lib/perl5/5.8.6/Exporter.pm line 65.
 at /etc/mail/spamassassin/FuzzyOcr.pm line 41
Subroutine FuzzyOcr::wrong_ctype redefined at 
/usr/lib/perl5/5.8.6/Exporter.pm line 65.
 at /etc/mail/spamassassin/FuzzyOcr.pm line 43
Subroutine FuzzyOcr::corrupt_img redefined at 
/usr/lib/perl5/5.8.6/Exporter.pm line 65.
 at /etc/mail/spamassassin/FuzzyOcr.pm line 43
Subroutine FuzzyOcr::known_img_hash redefined at 
/usr/lib/perl5/5.8.6/Exporter.pm line 65.
 at /etc/mail/spamassassin/FuzzyOcr.pm line 43
Subroutine FuzzyOcr::max redefined at
/usr/lib/perl5/5.8.6/Exporter.pm 
line 65.
 at /etc/mail/spamassassin/FuzzyOcr.pm line 44
Subroutine FuzzyOcr::removedir redefined at 
/usr/lib/perl5/5.8.6/Exporter.pm line 65.
 at /etc/mail/spamassassin/FuzzyOcr.pm line 44
[27028] warn: Subroutine new redefined at 
/etc/mail/spamassassin/FuzzyOcr.pm line 49.
[27028] warn: Subroutine dummy_check redefined at 
/etc/mail/spamassassin/FuzzyOcr.pm line 60.
[27028] warn: Subroutine fuzzyocr_check redefined at 
/etc/mail/spamassassin/FuzzyOcr.pm line 64.
[27028] warn: config: failed to parse line, skipping:
focr_bin_convert 
/usr/bin/convert
[27028] warn: lint: 1 issues detected, please rerun with
debug enabled 
for more information


The following software system is installed.
SpamAssassin v3.1.8
Linux kerenel v2.6 (FC4)
Perl v5.8.6
FuzzyOcr v3.5.1



PS ) When I comment out "focr_bin_convert
/usr/bin/convert" the last two 
lines disappear but the "Subroutine FuzzyOcr::XXXXXX
redefined at 
/usr/lib/perl5/5.8.6/Exporter.pm line 65." still
appear.

_______________________________________________
Devel-spam mailing list
Devel-spamlists.own-hero.net
http://lists.own-hero.net/mailman/listinfo/devel-spam

Re: v3.5.1 Subroutine's redefined
country flaguser name
Switzerland
2007-03-29 15:56:26
Gerard Earley wrote:
> HI all
>    I upgraded to v3.5.1 this morning and after some
tweaking,
> everything works as expected, except I now the the
following warnings
> when I run "spamassassin --lint":
>
> Subroutine FuzzyOcr::debuglog redefined at
> /usr/lib/perl5/5.8.6/Exporter.pm line 65.
> at /etc/mail/spamassassin/FuzzyOcr.pm line 25
Hi

Make sure you dont load the plugin twice, for example once
from the
FuzzyOcr.cf and once from a .pre file or something like
that...

Matt
_______________________________________________
Devel-spam mailing list
Devel-spamlists.own-hero.net
http://lists.own-hero.net/mailman/listinfo/devel-spam

Re: v3.5.1 Subroutine's redefined
country flaguser name
Aruba
2007-03-29 17:39:36
Sorry for the Gerard, I am on assignment this week, I
promise you that 
while it is an exotic location, being away from my family is
certainly 
no fun.

Gerard Earley wrote:
> HI all
>    I upgraded to v3.5.1 this morning and after some
tweaking, 
> everything works as expected, except I now the the
following warnings 
> when I run "spamassassin --lint":
>
> Subroutine FuzzyOcr::debuglog redefined at 
> /usr/lib/perl5/5.8.6/Exporter.pm line 65.
> at /etc/mail/spamassassin/FuzzyOcr.pm line 25
> Subroutine FuzzyOcr::parse_config redefined at 
> /usr/lib/perl5/5.8.6/Exporter.pm line 65.
> at /etc/mail/spamassassin/FuzzyOcr.pm line 26
> Subroutine FuzzyOcr::finish_parsing_end redefined at 
> /usr/lib/perl5/5.8.6/Exporter.pm line 65.
> at /etc/mail/spamassassin/FuzzyOcr.pm line 26
For some reason the following line needs changed in
FuzzyOcr.pm:

change:

use POSIX;

to:

use POSIX qw(SIGTERM);

Which will be about line 20.

You will work fine after that.

Now can someone Please explain to me why this works?  I'm
still learning 
Perl.  TIA!


-- 
Albert E. Whale, CHS CISA CISSP
Sr. Security, Network, Risk Assessment and Systems
Consultant
------------------------------------------------------------
-------
ABS Computer Technology, Inc. - www.ABS-CompTech.com
SPAM Zapper - No-JunkMail.com - Spam-Zapper.com - SPAM Stops
Here.


_______________________________________________
Devel-spam mailing list
Devel-spamlists.own-hero.net
http://lists.own-hero.net/mailman/listinfo/devel-spam

Re: v3.5.1 Subroutine's redefined
country flaguser name
Mexico
2007-03-29 18:48:38
Albert E. Whale wrote:

[snip]
>> Subroutine FuzzyOcr::debuglog redefined at 
>> /usr/lib/perl5/5.8.6/Exporter.pm line 65.
>> at /etc/mail/spamassassin/FuzzyOcr.pm line 25
>> Subroutine FuzzyOcr::parse_config redefined at 
>> /usr/lib/perl5/5.8.6/Exporter.pm line 65.
>> at /etc/mail/spamassassin/FuzzyOcr.pm line 26
>> Subroutine FuzzyOcr::finish_parsing_end redefined
at 
>> /usr/lib/perl5/5.8.6/Exporter.pm line 65.
>> at /etc/mail/spamassassin/FuzzyOcr.pm line 26
> For some reason the following line needs changed in
FuzzyOcr.pm:
> 
> change:
> 
> use POSIX;
> 
> to:
> 
> use POSIX qw(SIGTERM);
> 
> Which will be about line 20.
> 
> You will work fine after that.

No, it will not; your fix has nothing to do with the above
messages.

> Now can someone Please explain to me why this works? 
I'm still learning 
> Perl.
-- 
René Berber

_______________________________________________
Devel-spam mailing list
Devel-spamlists.own-hero.net
http://lists.own-hero.net/mailman/listinfo/devel-spam

Re: v3.5.1 Subroutine's redefined
country flaguser name
Aruba
2007-03-29 21:47:45
René Berber wrote:
cactus-soft.dyndns.org" type="cite">
Albert E. Whale wrote:

[snip]

No, it will not; your fix has nothing to do with the above messages.


  
As I mentioned previously, I am still getting into perl.

I'm all ears, please tell me what causes the messages.

Here's an item I located on this -
phx.gbl%3E">http://mail-archives.apache.org/mod_mbox/spamassassin-users/200701.mbox/%3CBAY18-F14A06ED02BCCDEBAEB887AD6BA0phx.gbl%3E

and

phx.gbl%3e">http://mail-archives.apache.org/mod_mbox/spamassassin-users/200701.mbox/%3cBAY18-F14A06ED02BCCDEBAEB887AD6BA0phx.gbl%3e

and

http://fuzzyocr.own-hero.net/ticket/16

I'm lookging for the correct answer as well.



-- 
Albert E. Whale, CHS CISA CISSP
Sr. Security, Network, Risk Assessment and Systems Consultant
-------------------------------------------------------------------
ABS Computer Technology, Inc. - www.ABS-CompTech.com
SPAM Zapper - No-JunkMail.com - Spam-Zapper.com - SPAM Stops Here.
Re: v3.5.1 Subroutine's redefined
country flaguser name
Mexico
2007-03-30 00:00:36
Albert E. Whale wrote:

[snip]
> As I mentioned previously, I am still getting into
perl.
> 
> I'm all ears, please tell me what causes the messages.

The answer was sent to this list before you posted: the
loading multiple times
of the plugin module.

As I said before, if you read the error messages you can see
that they are
different from the problem you saw and report below...

> Here's an item I located on this -
> htt
p://mail-archives.apache.org/mod_mbox/spamassassin-users/200
701.mbox/%3CBAY18-F14A06ED02BCCDEBAEB887AD6BA0phx.gbl%3E

The POSIX signal problem (FuzzyOcr::O_NONBLOCK redefined) is
not what this
thread is about.

> and
> 
> htt
p://mail-archives.apache.org/mod_mbox/spamassassin-users/200
701.mbox/%3cBAY18-F14A06ED02BCCDEBAEB887AD6BA0phx.gbl%3e

This is the same message as above.

> and
> 
> http://fuzzyoc
r.own-hero.net/ticket/16

This is the same issue again, not the one reported by the
OP.

> I'm lookging for the correct answer as well.

Giving wild and incorrect guesses is not the way to find an
answer.
-- 
René Berber

_______________________________________________
Devel-spam mailing list
Devel-spamlists.own-hero.net
http://lists.own-hero.net/mailman/listinfo/devel-spam

[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )