Search Postgresql Archives

Re: Error with plpython

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.klaver@xxxxxxxxx



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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux