flickr_upload can't locate object method "sign_args" via package "Flickr::Upload"
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/
The following super-obvious patch resolves the issue. I'm not sure how/why this is needed. Perhaps the versions of libflickr-
-------
--- 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->
+ $args{'api_sig'} = $self->
# 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-
libflickr-
Installed: 1.40-1
Candidate: 1.40-1
Version table:
*** 1.40-1 0
500 http://
100 /var/lib/
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://
100 /var/lib/
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.