Hello,
I've a problem with QGIS and Quantumnik. When I start Quantumnik I get
an error:
==============
Traceback (most recent call last):
File "C:/Users/myname/.qgis/python/plugins\quantumnik\quantumnik.py", line
199, in toggle
self.start_rendering()
File "C:/Users/myname/.qgis/python/plugins\quantumnik\quantumnik.py", line
415, in start_rendering
self.create_mapnik_map()
File "C:/Users/myname/.qgis/python/plugins\quantumnik\quantumnik.py", line
382, in create_mapnik_map
self.mapnik_map = self.easyCanvas.to_mapnik()
File "C:/Users/myname/.qgis/python/plugins\quantumnik\sync.py", line 1256, in
to_mapnik
if lyr_a.is_valid():
File "C:/Users/myname/.qgis/python/plugins\quantumnik\sync.py", line 1091, in
is_valid
ds = self.datasource()
File "C:/Users/myname/.qgis/python/plugins\quantumnik\sync.py", line 762, in
datasource
return self.ogr()
File "C:/Users/myname/.qgis/python/plugins\quantumnik\sync.py", line 60, in
newf
return f(*_args, **_kwds)
File "C:/Users/myname/.qgis/python/plugins\quantumnik\sync.py", line 894, in
ogr
return
mapnik.Ogr(file=self.source,layer=self.sub_layer_name,multiple_geometries=multiple_geometries)
File "D:\OSGeo4W\apps\Python25\lib\site-packages\mapnik\__init__.py", line
418, in Ogr
return CreateDatasource(keywords)
RuntimeError: Connection failed: PG:dbname='top10nl' host='remote-localhost'
port='5432' user='dbuser' password='pwd231s' was not found or is not a
supported format
Python versie:
2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
QGIS versie:
1.6.0-Capiapo Capiapo, exported
Python pad: ['D:/OSGeo4W/apps/qgis/./python', 'C:/Users/myname/.qgis/python',
'C:/Users/myname/.qgis/python/plugins',
'D:/OSGeo4W/apps/qgis/./python/plugins', 'D:\\OSGeo4W\\apps\\gdal-17\\pymod',
'C:\\', 'D:\\OSGeo4W\\bin\\python25.zip', 'D:\\OSGeo4W\\apps\\Python25\\DLLs',
'D:\\OSGeo4W\\apps\\Python25\\lib',
'D:\\OSGeo4W\\apps\\Python25\\lib\\plat-win',
'D:\\OSGeo4W\\apps\\Python25\\lib\\lib-tk', 'D:\\OSGeo4W\\apps\\qgis\\bin',
'D:\\OSGeo4W\\apps\\Python25',
'D:\\OSGeo4W\\apps\\Python25\\lib\\site-packages',
'D:\\OSGeo4W\\apps\\qgis\\python\\plugins\\fTools\\tools']
==============
QGIS has no problem to create a databse connection. It shows the map
without any problems.
Can anyone help me to solve this problem?
Thanks,
Peter
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users