python-flickrapi 1.2 cannot connect to Flickr at all (SSL required)
Bug #1335350 reported by
Alexander-zayats
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-flickrapi (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Since recently Flickr requires all requests to be SSL-only.
Hence current version cannot communicate to Flickr anymore.
New FlickrAPI version 1.4 released June 18th solves this issue. See change log http://
It would be great to have new version in repository.
Tech details:
# lsb_release -rd
Description: Ubuntu 14.04 LTS
Release: 14.04
# apt-cache policy python-flickrapi
python-flickrapi:
Installed: 1.2-3
Candidate: 1.2-3
Version table:
*** 1.2-3 0
500 http://
100 /var/lib/
Changed in python-flickrapi (Ubuntu): | |
status: | New → Confirmed |
summary: |
- python-flickr 1.2 cannot connect to Flickr at all (SSL required) + python-flickrapi 1.2 cannot connect to Flickr at all (SSL required) |
To post a comment you must log in.
If a full version upgrade is not possible in a released version of Ubuntu, there's a one character change that allows 1.2 to use SSL:
--- /usr/share/ pyshared/ flickrapi/ __init_ _.py 2008-09-21 06:50:43.000000000 +1000 get(post_ data): get(post_ data)
+++ __init__.py 2014-07-06 09:56:32.000000000 +1000
@@ -386,7 +386,7 @@
if self.cache and self.cache.
return self.cache.
- url = "http://" + FlickrAPI. flickr_ host + FlickrAPI. flickr_ rest_form flickr_ host + FlickrAPI. flickr_ rest_form
flicksocket = urllib.urlopen(url, post_data)
flicksocket. close()
+ url = "https://" + FlickrAPI.
reply = flicksocket.read()