Subject: | error |
Date: | Thu, 16 Dec 2010 18:27:06 +0200 |
To: | bug-www-openx-api [...] rt.cpan.org |
From: | Plamen Vasilev <plamen.vasilev.vasilev [...] gmail.com> |
Distro : gentoo
Perl : This is perl 5, version 12, subversion 2 (v5.12.2) built for i686-linux-thread-multi
(with 12 registered patches, see perl -V for more detail)
OS: Linux 2.6.36-gentoo-r5 #1 SMP Thu Dec 16 00:35:10 EET 2010 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
I am tying the following example :
#!/usr/bin/perl
use WWW::OpenX::API;
my $openx = new WWW::OpenX::API(address => "http://openx.domain.com/api/v1/xmlrpc/");
if($openx->login(username => 'user', password => 'pass')) {
print "We are logged in!";
}
$openx->call('getBannerListByCampaignId', '163');
The login is correct and I have a session, but when i try to get getBannerListByCampaignId i have got the following error :
Use of uninitialized value in string eq at /usr/lib/perl5/site_perl/5.12.2/WWW/OpenX/API.pm line 104.
Use of uninitialized value in string eq at /usr/lib/perl5/site_perl/5.12.2/WWW/OpenX/API/RPC/XML/Client.pm line 23.
Use of uninitialized value in string eq at /usr/lib/perl5/site_perl/5.12.2/WWW/OpenX/API/RPC/XML/Client.pm line 26.
Use of uninitialized value in string eq at /usr/lib/perl5/site_perl/5.12.2/WWW/OpenX/API/RPC/XML/Client.pm line 29.
Can't locate object method "value" via package "WWW::OpenX::API::RPC::XML::Client::send_request: parse-level error: Stack corruption detected at document line 63, column 0 (byte 1468, closing tag member)" (perhaps you forgot to load "WWW::OpenX::API::RPC::XML::Client::send_request: parse-level error: Stack corruption detected at document line 63, column 0 (byte 1468, closing tag member)"?) at /usr/lib/perl5/site_perl/5.12.2/WWW/OpenX/API/RPC/XML/Client.pm line 44.
We are logged in!
I don't know what is the problem, but I think is a perl 5.12 problem