[prev in list] [next in list] [prev in thread] [next in thread]
List: qgis-developer
Subject: [Qgis-developer] PostgreSQL not working in DB Manager
From: "Cline, Royce L." <rcline () nd ! gov>
Date: 2013-06-27 22:31:33
Message-ID: 62A0E1111966D94E8C70621664D1A1D30AE8A7 () itdbisexchmbx1 ! nd ! gov
[Download RAW message or body]
This worked prior to the SIP changes. When I click on the triangle to display the \
schemas and tables in our PostgreSQL database, I get the following error. Not having \
any new problems with Spatialite. Anybody else having this problem?
An error has occured while executing Python code:
Traceback (most recent call last):
File "/Applications/QGIS_2.0-dev.app/Contents/MacOS/../Resources/python/plugins/db_manager/db_model.py", \
line 402, in rowCount self._refreshIndex( parent, True )
File "/Applications/QGIS_2.0-dev.app/Contents/MacOS/../Resources/python/plugins/db_manager/db_model.py", \
line 454, in _refreshIndex if item.populate():
File "/Applications/QGIS_2.0-dev.app/Contents/MacOS/../Resources/python/plugins/db_manager/db_model.py", \
line 151, in populate if not connection.connect():
File "/Applications/QGIS_2.0-dev.app/Contents/MacOS/../Resources/python/plugins/db_manager/db_plugins/postgis/plugin.py", \
line 89, in connect uri.setConnection(service, database, username, password, \
sslmode)
TypeError: arguments did not match any overloaded call:
QgsDataSourceURI.setConnection(QString, QString, QString, QString, QString, \
QgsDataSourceURI.SSLmode sslmode=QgsDataSourceURI.SSLprefer): argument 1 has \
unexpected type 'QPyNullVariant' QgsDataSourceURI.setConnection(QString, QString, \
QString, QString, QgsDataSourceURI.SSLmode sslmode=QgsDataSourceURI.SSLprefer): \
argument 1 has unexpected type 'QPyNullVariant'
Python version:
2.7.2 (default, Oct 11 2012, 20:14:37)
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)]
QGIS version:
1.9.0-Master Master, 104b4d9
Royce
[Attachment #3 (text/html)]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: \
after-white-space; "> This worked prior to the SIP changes. When I click on the \
triangle to display the schemas and tables in our PostgreSQL database, I get the \
following error. Not having any new problems with Spatialite. Anybody else having \
this problem? <div><br>
</div>
<div><br>
</div>
<div>
<div style="margin: 0px; "><!--StartFragment--><span style=" color:#ff0000;">An error \
has occured while executing Python code:</span><br> <br>
Traceback (most recent call last):<br>
File "/Applications/QGIS_2.0-dev.app/Contents/MacOS/../Resources/python/plugins/db_manager/db_model.py", \
line 402, in rowCount<br> self._refreshIndex( parent, True )<br>
File "/Applications/QGIS_2.0-dev.app/Contents/MacOS/../Resources/python/plugins/db_manager/db_model.py", \
line 454, in _refreshIndex<br> if item.populate():<br>
File "/Applications/QGIS_2.0-dev.app/Contents/MacOS/../Resources/python/plugins/db_manager/db_model.py", \
line 151, in populate<br> if not connection.connect():<br>
File "/Applications/QGIS_2.0-dev.app/Contents/MacOS/../Resources/python/plugins/db_manager/db_plugins/postgis/plugin.py", \
line 89, in connect<br> uri.setConnection(service, database, username, \
password, sslmode)<br>
TypeError: arguments did not match any overloaded call:<br>
QgsDataSourceURI.setConnection(QString, QString, QString, QString, QString, \
QgsDataSourceURI.SSLmode sslmode=QgsDataSourceURI.SSLprefer): argument 1 has \
unexpected type 'QPyNullVariant'<br> QgsDataSourceURI.setConnection(QString, \
QString, QString, QString, QgsDataSourceURI.SSLmode \
sslmode=QgsDataSourceURI.SSLprefer): argument 1 has unexpected type \
'QPyNullVariant'<br> <br>
Python version:<br>
2.7.2 (default, Oct 11 2012, 20:14:37) <br>
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)]<br>
<br>
<br>
QGIS version:<br>
1.9.0-Master Master, 104b4d9<br>
<br>
<!--EndFragment--></div>
Royce</div>
<div><br>
</div>
</body>
</html>
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer
--===============7530345496710339115==--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic