[Qgis-developer] PostGIS manager

John C. Tull john.tull at wildnevada.org
Mon Oct 27 14:22:05 EDT 2008


On Oct 26, 2008, at 7:49 PM, Gary Sherman wrote:

> On Oct 26, 2008, at 3:12 PM, Martin Dobias wrote:
>
>> You'll need QGIS from SVN trunk.
>>
>> I'd like to hear some feedback whether you like / don't like it and
>> what features are missing.
>
>
> I got it loaded, but it crashes QGIS (current trunk) on the Mac:
>
> Exception Type:  EXC_BAD_ACCESS (SIGBUS)
> Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000004
> Crashed Thread:  0
>
> Thread 0 Crashed:
> 0   QtCore                        	0x00318443  
> QString::operator==(QString const&) const + 19
> 1   libqgis_core.1.0.dylib        	0x1da94a8e addKey_(QString  
> const&, QString const&, QgsPropertyKey*, QVariant) + 108
> 2   libqgis_core.1.0.dylib        	0x1da94ef7  
> QgsProject::writeEntry(QString const&, QString const&, bool) + 87
> 3   libqgis_core.1.0.dylib        	0x1da94ffe  
> QgsProject::QgsProject() + 198
> 4   libqgis_core.1.0.dylib        	0x1da9513d  
> QgsProject::QgsProject() + 17
> 5   libqgis_core.1.0.dylib        	0x1da95174 QgsProject::instance()  
> + 52

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

Python version:
2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
[GCC 4.0.1 (Apple Inc. build 5465)]

Python path:
['/Applications/qgis1.0.0.app/Contents/MacOS/share/qgis/python', '/ 
Users/jctull/.qgis//python/plugins', '/Applications/qgis1.0.0.app/ 
Contents/MacOS/share/qgis/python/plugins', '/Library/Python/2.5/site- 
packages/Shapely-1.0.4-py2.5.egg', '/Library/Python/2.5/site-packages/ 
GDAL-1.5.2-py2.5-macosx-10.5-i386.egg', '/Library/Python/2.5/site- 
packages/simplejson-1.9.2-py2.5-macosx-10.5-i386.egg', '/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']

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20081027/e352cdcc/attachment.html


More information about the Qgis-developer mailing list