Skip Menu |

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

Report information
The Basics
Id: 21142
Status: resolved
Priority: 0/
Queue: Net-Flickr-Backup

People
Owner: Nobody in particular
Requestors: dmd [...] 3e.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.9
Fixed in: (no value)



Subject: Invalid API handler
Since updating to Net-Flickr-Backup-2.9: $ flickrbackup.pl Invalid API handler at /usr/share/perl/5.8.4/Net/Flickr/API.pm line 134. Can't locate object method "unself" via package "Net::Flickr::Backup" at /usr/share/perl/5.8.4/Net/Flickr/API.pm line 121. This is with # $Id: Backup.pm,v 1.84 2006/08/18 03:13:58 asc Exp $ # $Id: API.pm,v 1.13 2006/08/18 03:11:04 asc Exp $ # $Id: RDF.pm,v 1.58 2006/08/18 03:12:32 asc Exp $
From: dmd [...] 3e.org
Sorry, I guess i need to be a little more specific. flickrbackup.pl is, at simplest: use Net::Flickr::Backup; $cfg = ".flickrbackupconf"; my $flickr = Net::Flickr::Backup->new($cfg); .flickrbackupconf is: [flickr] api_key=MYAPIKEY api_secret=MYSECRET auth_token=MYTOKEN [backup] photos_root=/home/backups3e/Backups/flickr scrub_backups=1 [rdf] do_dump=1
From: dmd [...] 3e.org
The CHANGES file reads "require 'api_handler' config parameter", but nowhere does it document what that configure parameter does or what it should be set to.
From: dmd [...] 3e.org
Some poking around hinted that maybe setting it to XPath would do something, but that just leads to Can't locate object method "success" via package "HTTP::Headers" at (eval 70) line 1. I give up... Net::Flickr::Backup worked for me for a long time, but it seems broken now.
This is a bug in Net::Flickr::API - Would you please try to install 1.5_01 and, barring any problems, I will release it (and the updated versions of the others) to the CPAN : http://aaronland.info/perl/net/flickr/api/Net-Flickr-API-1.5_01.tar.gz Note that this version requires a new config key (api_handler) be defined. It may be either LibXML or XPath. Thanks, On Wed Aug 23 13:47:33 2006, dmd@3e.org wrote: Show quoted text
> Some poking around hinted that maybe setting it to XPath would do > something, but that just leads to > > Can't locate object method "success" via package "HTTP::Headers" at > (eval 70) line 1. > > I give up... Net::Flickr::Backup worked for me for a long time, but it > seems broken now.
Subject: Re: [rt.cpan.org #21142] Invalid API handler
Date: Thu, 24 Aug 2006 08:29:20 -0400
To: bug-Net-Flickr-Backup [...] rt.cpan.org
From: Daniel Drucker <dmd [...] 3e.org>
Now I'm getting this once I run the backup() method: [error][api_call, ln1211] [96] Invalid signature (calling calling flickr.auth.checkToken)
From: dmd [...] 3e.org
This problem is due to bug 21164: http://rt.cpan.org/Public/Bug/Display.html?id=21164
Fixed in Net::Flickr::API 1.5 There are also updated versions of Net::Flickr::RDF and Net::Flickr::Backup to indicate updated dependencies. On Tue Aug 22 22:47:40 2006, dmd@3e.org wrote: Show quoted text
> Since updating to Net-Flickr-Backup-2.9: > > $ flickrbackup.pl > Invalid API handler at /usr/share/perl/5.8.4/Net/Flickr/API.pm line 134. > Can't locate object method "unself" via package "Net::Flickr::Backup" at > /usr/share/perl/5.8.4/Net/Flickr/API.pm line 121. > > This is with > # $Id: Backup.pm,v 1.84 2006/08/18 03:13:58 asc Exp $ > # $Id: API.pm,v 1.13 2006/08/18 03:11:04 asc Exp $ > # $Id: RDF.pm,v 1.58 2006/08/18 03:12:32 asc Exp $ >