Bug#504481: [libflickr-api-perl] Flickr API calls fail with 'API returned an invalid response'

Mark Broadbent mbroadbent at messagelabs.com
Tue Nov 4 10:45:10 UTC 2008


Package: libflickr-api-perl
Version: 1.01-2
Severity: grave
Tags: patch

--- Please enter the report below this line. ---

This is related to bug #502312.

It would appear that the XML library used by this code has reverted back 
to returning 'element' types rather than 'tag' types requiring that the 
patch used in #502312 be reverted.

Patch below for the reversion:

--- a/API.pm    2008-11-04 10:32:38.000000000 +0000
+++ b/API.pm    2008-11-04 10:32:52.000000000 +0000
@@ -135,7 +135,7 @@
 sub _find_tag {
     my ($self, $children) = @_;
     for my $child(@{$children}){
-        return $child if $child->{type} eq 'tag';
+        return $child if $child->{type} eq 'element';
     }
     return {};
 }


Thanks
Mark


--- System information. ---
Architecture: i386
Kernel: Linux 2.6.26-1-686

Debian Release: lenny/sid
500 unstable ftp.heanet.ie
500 unstable apt-cache.devel.messagelabs.com
500 testing apt-cache.devel.messagelabs.com
500 stable security.debian.org
500 stable apt-cache.devel.messagelabs.com

--- Package information. ---
Depends (Version) | Installed
==============================================-+-==============
perl (>= 5.6.0-16) | 5.10.0-17
libxml-parser-lite-tree-perl (>= 0.03-2) | 0.08-1
libwww-perl | 5.813-1
liburi-perl | 1.35.dfsg.1-1


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________





More information about the pkg-perl-maintainers mailing list