Skip Menu |

This queue is for tickets about the Net-OSCAR CPAN distribution.

Report information
The Basics
Id: 43945
Status: new
Priority: 0/
Queue: Net-OSCAR

People
Owner: Nobody in particular
Requestors: james2vegas [...] aim.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.925
Fixed in: (no value)



Subject: Problem in sending mail with rate-change.pm
When sending a message in oscartest I get the following error: send testuser test message Use of uninitialized value $Net::OSCAR::Callbacks::data{"class_id"} in hash element at /usr/local/libdata/perl5/site_perl/Net/OSCAR/Callbacks/1/rate_change.pm line 12, <STDIN> line 2. Use of uninitialized value in numeric le (<=) at /usr/local/libdata/perl5/site_perl/Net/OSCAR/Callbacks/1/rate_change.pm line 17, <STDIN> line 2. Use of uninitialized value in numeric le (<=) at /usr/local/libdata/perl5/site_perl/Net/OSCAR/Callbacks/1/rate_change.pm line 17, <STDIN> line 2. Use of uninitialized value $clear in division (/) at ./oscartest line 58, <STDIN> line 2. We received a level disconnect rate alert. Wait for about 0 seconds. Your message, 533679, was sent to testuser. If i change the rate limiting to OSCAR_RATE_MANAGE_NONE I instead get the following error: send testuser test message 2 Use of uninitialized value in numeric le (<=) at /usr/local/libdata/perl5/site_perl/Net/OSCAR/Callbacks/1/rate_change.pm line 17, <STDIN> line 2. Use of uninitialized value in numeric le (<=) at /usr/local/libdata/perl5/site_perl/Net/OSCAR/Callbacks/1/rate_change.pm line 17, <STDIN> line 2. Use of uninitialized value $clear in division (/) at ./oscartest line 58, <STDIN> line 2. We received a level disconnect rate alert. Wait for about 0 seconds. Your message, 579470, was sent to testuser Details: $ uname -a OpenBSD godzilla.bsdhosting.local 4.5 GENERIC#1749 i386 $ perl -V Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Platform: osname=openbsd, osvers=4.5, archname=i386-openbsd uname='openbsd' config_args='-dsE -Dopenbsd_distribution=defined -Dmksymlinks' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -fno-delete-null-pointer-checks -pipe -I/usr/local/include', optimize='-O2', cppflags='-fno-strict-aliasing -fno-delete-null-pointer-checks -pipe -I/usr/local/include' ccversion='', gccversion='3.3.5 (propolice)', gccosandvers='openbsd4.5' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags ='-Wl,-E ' libpth=/usr/lib libs=-lm -lutil -lc perllibs=-lm -lutil -lc libc=/usr/lib/libc.a, so=so, useshrplib=true, libperl=libperl.so.11.0 gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-R/usr/libdata/perl5/i386-openbsd/5.10.0/CORE' cccdlflags='-DPIC -fPIC ', lddlflags='-shared -fPIC ' Characteristics of this binary (from libperl): Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO Built under OpenBSD @INC: /usr/libdata/perl5/i386-openbsd/5.10.0 /usr/local/libdata/perl5/i386-openbsd/5.10.0 /usr/libdata/perl5 /usr/local/libdata/perl5 /usr/local/libdata/perl5/site_perl/i386-openbsd /usr/libdata/perl5/site_perl/i386-openbsd /usr/local/libdata/perl5/site_perl /usr/libdata/perl5/site_perl .