[QGIS-trac] [Quantum GIS] #1492: error when starting PostGIS manager
Quantum GIS
qgis at qgis.org
Mon Jan 19 17:19:36 EST 2009
#1492: error when starting PostGIS manager
---------------------------------------------------------+------------------
Reporter: msieczka | Owner: nobody
Type: bug | Status: new
Priority: critical: causes crash or data corruption | Milestone: Version 1.0.1
Component: Python | Version: HEAD
Keywords: | Platform_version:
Platform: Debian | Must_fix: Yes
Status_info: 0 |
---------------------------------------------------------+------------------
Bactktrace (lso note corrupted translation string in the first line):
{{{
WystÄ
piÅ bÅÄ
d podczas wykonywania kodu Pythona:
Traceback (most recent call last):
File
"/home/shoofi/.qgis//python/plugins/postgis_manager/ManagerWindow.py",
line 112, in dbConnect
self.db = postgis_utils.GeoDB(host=host, port=port, dbname=database,
user=username, passwd=password)
File
"/home/shoofi/.qgis//python/plugins/postgis_manager/postgis_utils.py",
line 106, in __init__
raise DbError(e.message)
File
"/home/shoofi/.qgis//python/plugins/postgis_manager/postgis_utils.py",
line 61, in __init__
self.query = unicode(query, 'utf-8')
TypeError: coercing to Unicode: need string or buffer, NoneType found
Wersja Pythona:
2.5.2 (r252:60911, Jan 4 2009, 22:17:10)
[GCC 4.3.2]
Lokalizacja Pythona:['/usr/local/qgis/share/qgis/python',
'/home/shoofi/.qgis//python/plugins',
'/usr/local/qgis/share/qgis/python/plugins', '/usr/lib/python2.5/site-
packages/GDAL-1.6.0-py2.5-linux-x86_64.egg', '/usr/lib/python2.5',
'/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk',
'/usr/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site-
packages', '/usr/lib/python2.5/site-packages', '/usr/lib/python2.5/site-
packages/Numeric', '/usr/lib/python2.5/site-packages/PIL',
'/usr/lib/python2.5/site-packages/gst-0.10', '/var/lib/python-
support/python2.5', '/var/lib/python-support/python2.5/gtk-2.0',
'/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode',
'/home/shoofi/.qgis/python/plugins/fTools/tools']
}}}
Trunk r91492.
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1492>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list