Your message dated Wed, 22 Oct 2008 16:29:48 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Closing manually
has caused the Debian Bug report #502312,
regarding libflickr-api-perl: Flickr API calls fail with 'API returned an 
invalid response' (line 111)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
502312: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502312
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: libflickr-api-perl
Version: 1.01-1
Severity: grave
Justification: renders package unusable


When the execute_request function parses the XML response from Flickr, it calls the function _find_tag which checks for tags of type 'element' whereas it should
be checking for type 'tag'.

The following diff fixes the problem:

--- Flickr.old/API.pm   2008-10-15 15:21:20.000000000 +0100
+++ Flickr.new/API.pm   2008-10-15 15:21:35.000000000 +0100
@@ -135,7 +135,7 @@
 sub _find_tag {
        my ($self, $children) = @_;
        for my $child(@{$children}){
-               return $child if $child->{type} eq 'element';
+               return $child if $child->{type} eq 'tag';
        }
        return {};
 }


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libflickr-api-perl depends on:
ii liburi-perl 1.35.dfsg.1-1 Manipulates and accesses URI strin ii libwww-perl 5.813-1 WWW client/server library for Perl
ii  libxml-parser-lite-tree-pe 0.03-2        Lightweight XML tree builder
ii perl 5.10.0-15 Larry Wall's Practical Extraction

Versions of packages libflickr-api-perl recommends:
ii libcompress-zlib-perl 2.015-1 Perl module for creation and manip

libflickr-api-perl suggests no packages.

-- no debconf information

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



--- End Message ---
--- Begin Message ---
Version: 1.01-2

As gwolf wrote, this bug is fixed by the upload of 1.01-2.
Due to a typo in the changelog the bug was not closed automatically,
so I'm doing this manually now.

Cheers,
gregor
-- 
 .''`.   Home: http://info.comodo.priv.at/{,blog/} / GPG Key ID: 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/
   `-    NP: Pink Floyd: In the flesh

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to