Re: Error with plpython
| От | Adrian Klaver |
|---|---|
| Тема | Re: Error with plpython |
| Дата | |
| Msg-id | 4FFCDD92.9080805@gmail.com обсуждение исходный текст |
| Ответ на | Re: Error with plpython (Efraín Déctor <efraindector@motumweb.com>) |
| Ответы |
Re: Error with plpython
|
| Список | pgsql-general |
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@gmail.com
В списке pgsql-general по дате отправления: