[Qgis-developer] PostGIS manager

Martin Dobias wonder.sk at gmail.com
Mon Oct 27 14:48:24 EDT 2008


On Mon, Oct 27, 2008 at 7:22 PM, John C. Tull <john.tull at wildnevada.org> wrote:
>
> On my Mac build from trunk, this error shows up when trying to load the
> plugin:
> Couldn't load plugin postgis_manager due an error when calling its
> classFactory() method
>
> Traceback (most recent call last):
>   File "", line 1, in
>   File "/Users/jctull/.qgis//python/plugins/postgis_manager/__init__.py",
> line 12, in classFactory
>     from ManagerPlugin import ManagerPlugin
>   File
> "/Users/jctull/.qgis//python/plugins/postgis_manager/ManagerPlugin.py", line
> 8, in
>     import postgis_utils
>   File
> "/Users/jctull/.qgis//python/plugins/postgis_manager/postgis_utils.py", line
> 13, in
>     import psycopg2
> ImportError: No module named psycopg2

Ah, I've forgot to add that you need psycopg2 python module installed
(for interfacing PostgreSQL database from python)

Martin


More information about the Qgis-developer mailing list