artemp/mapnik — Issue #30: r485 broke Python bindings
Author: artemp
Created: 2011-10-11 15:53:02+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
}}}