Skip Menu |

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

Report information
The Basics
Id: 12331
Status: new
Priority: 0/
Queue: Net-Blogger

People
Owner: Nobody in particular
Requestors: balazs [...] rauznitz.com
Cc:
AdminCc:

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



Subject: getRecentPosts dies
The script: use Net::Blogger; my $b = Net::Blogger->new; $b->Username('samcocoduck'); $b->Password(I'll tell you in a private channel); $b->BlogId(10646691); $b->getRecentPosts(numposts=>20); Gives me the error: Can't use an undefined value as an ARRAY reference at /usr/lib/perl5/site_perl/5.8.6/Net/Blogger/API/Core.pm line 199.
From: claco [...] chrislaco.com
[guest - Mon Apr 18 17:50:14 2005]: Show quoted text
> The script: > > use Net::Blogger; > my $b = Net::Blogger->new; > $b->Username('samcocoduck'); > $b->Password(I'll tell you in a private channel); > $b->BlogId(10646691); > $b->getRecentPosts(numposts=>20); > > Gives me the error: > Can't use an undefined value as an ARRAY reference at > /usr/lib/perl5/site_perl/5.8.6/Net/Blogger/API/Core.pm line 199.
I had the the same error and turned on debugging. I was getting a login failed failure code, but by username/password were correct. As it turned out, at some point (I have version 3.2), MT has a different password for each user account for accessing the blog via the XMLRPC api. Once I added a password for that and used that password instead of my normal password, it worked just fine.