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

Bug #1521828 reported by Jay Berkenbilt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libflickr-upload-perl (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

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

Revision history for this message
Jay Berkenbilt (ejb) wrote :

I verified that this problem does not occur with the version of the package from xenial. If I download that manually and install it, everything works fine with the other versions from wily. So this problem only affects the wily version and has already been corrected upstream and in xenial.

Revision history for this message
Alex Muntada (alex.muntada) wrote :

Willy is no longer supported and the issue was fixed in xenial (per OP). Thus, marking this bug accordingly.

Changed in libflickr-upload-perl (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.