Closed Bug 307362 Opened 19 years ago Closed 16 years ago

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

Categories

(Webtools Graveyard :: Mozbot, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

VERIFIED INCOMPLETE

People

(Reporter: don, Unassigned)

Details

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.
Should note that this was using Net::IRC version 0.75.
Get the error regardless of installing Net::IRC via Gentoo portage or perl CPAN.
Error occurs both in stable and latest CVS checkouts.
QA Contact: kerz → mozbot
Resetting to new default owner.
Assignee: ian → nobody
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
Closed: 16 years ago
Resolution: --- → INCOMPLETE
Don: Can you still reproduce this error?
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
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.