artemp/trac2github — Issue #32: r485 broke Python bindings
Author: artemp
Created: 2011-10-09 20:09:22+00:00
State: open
Labels: Boost_Python_Binding

Starting in r485, e.g.

{{{
datasource_bmpolygons = PostGIS(host=conf.db_host,
dbname=conf.db_name,
user=conf.db_user,
password=conf.db_password,
table='bmpolygon_joined_current')
}}}

where conf.db_host and conf.db_password are both None, fails with

{{{
connection [host= dbname=cycling user=cycling password= connect_timeout=4] failed
could not translate host name "dbname=cycling" to address: Name or service not known
}}}