Skip Menu |

This queue is for tickets about the WWW-Myspace CPAN distribution.

Report information
The Basics
Id: 22511
Status: resolved
Priority: 0/
Queue: WWW-Myspace

People
Owner: GRANTG [...] cpan.org
Requestors: hangingaround [...] gmx.de
Cc:
AdminCc:

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



Subject: Unhandled errors!
hi buddy, i installed the WWW-Myspace v0.59 perl module to use the script for my band. the first thing i tried is, to list all my friends of my private account... by the way: i'm using windows XP sp2 with all patches and with activeperl installed in version 5.8.8 build 819! i used the sample script: -------------------------------------------------------------------- [code] #!/usr/bin/perl -w -I../lib # get_friends [ friendID ] # Returns your friends or the friends from the profile identified by # friendID use WWW::Myspace; my $myspace = new WWW::Myspace; unless ( $myspace->logged_in ) { die "Login failed\n" } my @friends; if ( @ARGV ) { @friends = $myspace->friends_from_profile( @ARGV ); } else { @friends = $myspace->get_friends; } warn $myspace->error if ( $myspace->error ); print "Got " . @friends . " friends:\n"; foreach ( @friends ) { print; print "\n"; } [/code] -------------------------------------------------------------------- then i runned a CMD and executed the perl-script! everything was fine, it connected, asking for email and password, but now the error: [error] Day too big - 2932896 > 24855 Sec too big - 2932896 > 11647 [/error] i have 213 friends on my private account and the script returns 208 of it. what culd that be? hope that the info is enough to check it out. thank u so much! much greetz mike
These issues are in the module's documentation. The "Day too big", "Sec too big" warnings are caused by HTTP::Date. There is a patch included with the WWW::Myspace module, but they are only warnings and won't affect anything. The friend count is different because Myspace's friend counter doesn't work properly.