[Qgis-user] Problem with Postgis-Manager plugin on OSX
Andreas Neumann
a.neumann at carto.net
Sun Jan 18 05:21:34 PST 2009
Hi QGIS-Users and Martin,
I am trying to use the Postgis-Manager Plugin on OSX-Leopard.
I installed psycopg2 and use QGIS 1.0 from
http://download.osgeo.org/qgis/mac/qgis-1.0.0.dmg.gz
When I try to load the plugin, I am getting an error message complaining
about a UnicodeEncodeError - see text below. Any idea on what I could do
to fix the problem?
Thanks a lot!
Andreas
Error-message:
-------
An error has occured while executing Python code:
Traceback (most recent call last):
File
"/Users/an/.qgis//python/plugins/postgis_manager/ManagerPlugin.py", line
39, in run
self.dlg = ManagerWindow(True)
File
"/Users/an/.qgis//python/plugins/postgis_manager/ManagerWindow.py", line
37, in __init__
self.setupUi()
File
"/Users/an/.qgis//python/plugins/postgis_manager/ManagerWindow.py", line
648, in setupUi
self.createMenu()
File
"/Users/an/.qgis//python/plugins/postgis_manager/ManagerWindow.py", line
680, in createMenu
self.actionsDb = self.listDatabases()
File
"/Users/an/.qgis//python/plugins/postgis_manager/ManagerWindow.py", line
93, in listDatabases
actionsDb[str(key)] = QAction(key, self)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in
position 1: ordinal not in range(128)
Python version:
2.5.1 (r251:54863, Apr 15 2008, 22:57:26)
[GCC 4.0.1 (Apple Inc. build 5465)]
Python
path:['/Applications/qgis1.0.0.app/Contents/MacOS/share/qgis/python',
'/Users/an/.qgis//python/plugins',
'/Applications/qgis1.0.0.app/Contents/MacOS/share/qgis/python/plugins',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python25.zip',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-darwin',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac/lib-scriptpackages',
'/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload',
'/Library/Python/2.5/site-packages',
'/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/PyObjC',
'/Users/an/.qgis/python/plugins/fTools/tools']
--------
--
--
Andreas Neumann
Böschacherstrasse 6
CH-8624 Grüt (Gossau ZH)
Switzerland
Phone: ++41-44-2736668
Email: a.neumann at carto.net
Web: http://www.carto.net/neumann/
SVG Examples: http://www.carto.net/papers/svg/samples/
SVG.Open: http://www.svgopen.org/
More information about the Qgis-user
mailing list