← Back to team overview

pkg-perl-maintainers team mailing list archive

[Bug 1521828] [NEW] flickr_upload can't locate object method "sign_args" via package "Flickr::Upload"

 

Public bug reported:

When I run

$ flickr_upload --tag qtest x0.jpg

I get the error:

Uploading x0.jpg...Can't locate object method "sign_args" via package
"Flickr::Upload" at /usr/share/perl5/Flickr/Upload.pm line 234.

The following super-obvious patch resolves the issue. I'm not sure
how/why this is needed. Perhaps the versions of libflickr-upload-perl
and libflickr-api-perl are out of sync? Maybe the API package changed
sign_args to _sign_args to emphasize that it is an internal function.

----------------------------
--- Upload.pm~	2014-07-24 14:36:30.000000000 -0400
+++ Upload.pm	2015-12-01 21:21:28.169628392 -0500
@@ -231,7 +231,7 @@
 	delete $args{photo};
 
 	# HACK: sign_args() is an internal Flickr::API method
-	$args{'api_sig'} = $self->sign_args(\%args);
+	$args{'api_sig'} = $self->_sign_args(\%args);
 
 	# unlikely that the caller would set up the photo as an array,
 	# but...
----------------------------

Other information:

lsb_release -rd
Description:	Ubuntu 15.10
Release:	15.10

apt-cache policy libflickr-upload-perl
libflickr-upload-perl:
  Installed: 1.40-1
  Candidate: 1.40-1
  Version table:
 *** 1.40-1 0
        500 http://us.archive.ubuntu.com/ubuntu/ wily/universe amd64 Packages
        100 /var/lib/dpkg/status

apt-cache policy libflickr-api-perl   
libflickr-api-perl:
  Installed: 1.18-1
  Candidate: 1.18-1
  Version table:
 *** 1.18-1 0
        500 http://us.archive.ubuntu.com/ubuntu/ wily/universe amd64 Packages
        100 /var/lib/dpkg/status

** Affects: libflickr-upload-perl (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Debian
Perl Group, which is subscribed to libflickr-upload-perl in Ubuntu.
https://bugs.launchpad.net/bugs/1521828

Title:
  flickr_upload can't locate object method "sign_args" via package
  "Flickr::Upload"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libflickr-upload-perl/+bug/1521828/+subscriptions


Follow ups