mozbot get uninitialized value in Net::IRC's Connection.pm

VERIFIED INCOMPLETE

Status

--
major
VERIFIED INCOMPLETE
13 years ago
9 years ago

People

(Reporter: don, Unassigned)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

13 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

On Friday 02 Sep I was able to use mozbot just fine.  Now when I try to auth, I
get this in the console (password obfuscated by me):

2005-09-07 15:32:31 UTC (32010) Told:  <rizzo> auth rizzo *****
2005-09-07 15:32:31 UTC (32010) Authed:  <rizzo> auth rizzo *****
2005-09-07 15:32:32 UTC (32010) ->rizzo: Hi rizzo!
Use of uninitialized value in exists at
        /usr/lib/perl5/vendor_perl/5.8.6/Net/IRC/Connection.pm line 480 (#1)
    (W uninitialized) An undefined value was used as if it were already
    defined.  It was interpreted as a "" or a 0, but maybe it was a mistake.
    To suppress this warning assign a defined value to your variables.

    To help you figure out what was undefined, perl tells you what operation
    you used the undefined value in.  Note, however, that perl optimizes your
    program and the operation displayed in the warning may not necessarily
    appear literally in your program.  For example, "that $foo" is
    usually optimized into "that " . $foo, and the warning will refer to
    the concatenation (.) operator, even though there is no . in your
    program.

Use of uninitialized value in string eq at
        /usr/lib/perl5/vendor_perl/5.8.6/Net/IRC/Connection.pm line 1588 (#1)

After which mozbot won't open a privmsg conversation with me, so I never see the
"Hi rizzo".  However I *am* authorized and can tell mozbot to load/unload
modules and the like, I just don't get private feedback.  mozbot will still
interact in the normal IRC channel, e.g. reporting Karma etc.

I realize that this all sounds like something is broken on the host system, but
checking the logs, nothing has changed regarding Net::IRC.

Reproducible: Always

Steps to Reproduce:
1. Start mozbot
2. Auth to mozbot in IRC
3. BLAM

Actual Results:  
Got uninitialized value errors as seen above.

Expected Results:  
No errors, privmsg feedback in IRC.

Host is Gentoo Linux box using their stable x86 tree.
(Reporter)

Comment 1

13 years ago
Should note that this was using Net::IRC version 0.75.
(Reporter)

Comment 2

13 years ago
Get the error regardless of installing Net::IRC via Gentoo portage or perl CPAN.
(Reporter)

Comment 3

13 years ago
Error occurs both in stable and latest CVS checkouts.
QA Contact: kerz → mozbot

Comment 4

10 years ago
Resetting to new default owner.
Assignee: ian → nobody

Comment 5

10 years ago
Both the uninitialized errors relate to $ev and $event being empty. I've seen uninitialized errors during mozbot startup before, but not those specific ones, i'm pretty sure.

Seperately though, not responding via privmsg is certainly a WFM issue.

Need more information to really track this down as a mozbot issue.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → INCOMPLETE
Don: Can you still reproduce this error?
(Reporter)

Comment 7

9 years ago
This ticket is over 4 years old!  Unfortunately I haven't used mozbot in a couple of years, so I wouldn't know.
Resolution: INCOMPLETE → FIXED
Verified Incomplete.
Status: RESOLVED → VERIFIED
Resolution: FIXED → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.