Package: creepy
Version: 0.1.94-1
Severity: important

Dear Maintainer,

When testing creepy in wheezy, I tried to enter a flickr username into
the targets dialog and press 'Geolocate Target', but only got a error
dialog:

  Error connecting to flicr 
  Error was Error: 95: SSL is required

As far as I can tell, this was a fatal error causing the program to not
find any information about the Flirk-user in question.

I suspect this might really be a bug in the python-flickrapi package, as
its /usr/share/pyshared/flickrapi/__init__.py file uses http and not
https to talk to flickr.  I tried applying the following change to the
python-flickrapi package, and this got rid of the error message and the
creepy tool seemed to start doing something.  After a while, it even
showed some map locations, so I suspect this is the correct fix.  But I
am unsure, so I hope you can reassign if the bug should be fixed there.

--- /usr/share/pyshared/flickrapi/__init__.py   2009-05-13 09:20:43.000000000 
+0200
+++ /tmp/__init__.py    2014-11-15 22:16:08.446380054 +0100
@@ -386,7 +386,7 @@
         if self.cache and self.cache.get(post_data):
             return self.cache.get(post_data)
 
-        url = "http://"; + FlickrAPI.flickr_host + FlickrAPI.flickr_rest_form
+        url = "https://"; + FlickrAPI.flickr_host + FlickrAPI.flickr_rest_form
         flicksocket = urllib.urlopen(url, post_data)
         reply = flicksocket.read()
         flicksocket.close()
@@ -440,7 +440,7 @@
                     "frob": frob,
                     "perms": perms})
 
-        return "http://%s%s?%s"; % (FlickrAPI.flickr_host, \
+        return "https://%s%s?%s"; % (FlickrAPI.flickr_host, \
             FlickrAPI.flickr_auth_form, encoded)
 
     def web_login_url(self, perms):
@@ -454,7 +454,7 @@
                     "api_key": self.api_key,
                     "perms": perms})
 
-        return "http://%s%s?%s"; % (FlickrAPI.flickr_host, \
+        return "https://%s%s?%s"; % (FlickrAPI.flickr_host, \
             FlickrAPI.flickr_auth_form, encoded)
 
     def __extract_upload_response_format(self, kwargs):
@@ -578,7 +578,7 @@
         
         if self.secret:
             kwargs["api_sig"] = self.sign(kwargs)
-        url = "http://%s%s"; % (FlickrAPI.flickr_host, form_url)
+        url = "https://%s%s"; % (FlickrAPI.flickr_host, form_url)
 
         # construct POST data
         body = Multipart()

-- System Information:
Debian Release: 7.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages creepy depends on:
ii  python                2.7.3-4+deb7u1
ii  python-beautifulsoup  3.2.1-1
ii  python-configobj      4.7.2+ds-4
ii  python-flickrapi      1.2-3
ii  python-osmgpsmap      0.7.3-3
ii  python-pyexiv2        0.3.2-5
ii  python-simplejson     2.5.2-1
ii  python-tweepy         1.7.1-2+deb7u1

creepy recommends no packages.

creepy suggests no packages.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to