Re: [Qgis-user] QgsDataSourceURI.setConnection() error

2009-04-07 Thread Jürgen E . Fischer
Hi Horst, On Mon, 06. Apr 2009 at 11:56:48 +0200, Düster Horst wrote: Thank you for your response and the fix fix. You're welcome. The API Documentation should be updated too. Looks like http://doc.qgis.org is updated automatically - but if you were refering to the missing 1.1 hints: added

Re: [Qgis-user] QgsDataSourceURI.setConnection() error

2009-04-06 Thread Jürgen E . Fischer
Hi Horst, On Mon, 06. Apr 2009 at 10:56:41 +0200, Düster Horst wrote: ... uri = QgsDataSourceURI() uri.setConnection(self.DBHOST, self.DBPORT, self.DBNAME, self.DBUSER, self.DBPASSWD) ... Unfortunately QGIS throws the following Python error message: Error: uri.setConnection(self.DBHOST,

[Qgis-user] QgsDataSourceURI.setConnection() error

2009-04-06 Thread Düster Horst
With PyQgis 1.1.0 I want to connect to a PostGIS layer via Python plugin with ... uri = QgsDataSourceURI() uri.setConnection(self.DBHOST, self.DBPORT, self.DBNAME, self.DBUSER, self.DBPASSWD) ... Unfortunately QGIS throws the following Python error message: Error: uri.setConnection(self.DBHOST,