This bug was fixed in the package friends -
0.2.0+14.04.20140217.1-0ubuntu1
---------------
friends (0.2.0+14.04.20140217.1-0ubuntu1) trusty; urgency=low
[ Scott Sweeny ]
* Flickr: Fix oauth signing for a GET request. According to [1] the
base string for the OAuth signature must include all of the
parameters, but oauthlib won't sign a GET request that includes a
body. Instead pass the parameters as part of the URL. [1]
https://secure.flickr.com/services/api/auth.oauth.html (LP:
#1258657)
-- Ubuntu daily release <[email protected]> Mon, 17 Feb 2014
17:38:56 +0000
** Changed in: friends (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to friends in Ubuntu.
https://bugs.launchpad.net/bugs/1258657
Title:
flickr plugin error: ValueError: GET/HEAD requests should not include
body.
Status in “friends” package in Ubuntu:
Fix Released
Bug description:
I noticed that flickr entries haven't been showing up in the Friends
app recently. I checked my logs and found this traceback occurring
every time the flickr plugin is activated:
ERROR Thread-1 2013-12-06 16:37:17,896 friends.utils.base GET/HEAD
request
s should not include body.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/friends/utils/base.py", line 159, in
run
super().run()
File "/usr/lib/python3.3/threading.py", line 594, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3/dist-packages/friends/utils/base.py", line 153, in
_retval_catcher
self._success_callback(str(func(*args, **kwargs)))
File "/usr/lib/python3/dist-packages/friends/protocols/flickr.py", line
116, in receive
response = self._get_url(args)
File "/usr/lib/python3/dist-packages/friends/protocols/flickr.py", line 69,
in _get_url
data=params or {},
File "/usr/lib/python3/dist-packages/friends/utils/base.py", line 496, in
_get_oauth_headers
url, body=data, headers=headers or {}, http_method=method)
File "/usr/lib/python3/dist-packages/oauthlib/oauth1/rfc5849/__init__.py",
line 275, in sign
raise ValueError('GET/HEAD requests should not include body.')
ValueError: GET/HEAD requests should not include body.
INFO MainThread 2013-12-06 16:37:47,278 friends.main Stopped
friends-dispatcher main loop
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: friends 0.2.0+13.10.20130926-0ubuntu1
ProcVersionSignature: Ubuntu 3.11.0-14.21-generic 3.11.7
Uname: Linux 3.11.0-14-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
CheckboxSubmission: f24bf886cf6158b8cd6d663f166fcff9
CheckboxSystem: 3935143777c965daaa64b51f0134f712
Date: Fri Dec 6 16:39:26 2013
InstallationDate: Installed on 2010-10-11 (1152 days ago)
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MarkForUpload: True
SourcePackage: friends
UpgradeStatus: Upgraded to saucy on 2013-09-04 (93 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/friends/+bug/1258657/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp