On 07/10/2012 05:34 PM, Efraín Déctor wrote:
We tested, the code directly into Python:

from googlemaps import GoogleMaps
gmaps= GoogleMaps()
address =  gmaps.latlng_to_address(18.835124317498853,-97.11448417315677)
repr(address)

And on both servers work without a problem. My guess is that something
about OpenSSL on the production server is not working with plpython. But
I don't know how to fix this.

So in your function add the following to the beginning and see what it returns on each server. More to the point is there a difference?:

import sys
plpy.notice(sys.path)


Thanks




--
Adrian Klaver
adrian.kla...@gmail.com



--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to