[Qgis-user] Python error

Bernardo Rossi Doria berrossi at tin.it
Wed Jan 14 09:55:03 PST 2009


hello all
downloaded and installed qgis 1.0 osx  after I deleted previous  
version on macbook pro

When I open the app  a Python error comes out with this description.
Couldn't load plugin "newlayer" from
  ['/Applications/qgis-1.0.0/qgis1.0.0.app/Contents/MacOS/share/qgis/ 
python', '/Users/bernardo/.qgis//python/plugins', '/Applications/ 
qgis-1.0.0/qgis1.0.0.app/Contents/MacOS/share/qgis/python/plugins', '/ 
Library/Python/2.5/site-packages/GDAL-1.5.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', '/Users/ 
bernardo/.qgis/python/plugins/fTools_preview2/tools']

Traceback (most recent call last):
   File "", line 2, in
   File "/Users/bernardo/.qgis//python/plugins/newlayer/__init__.py",  
line 2, in
     from newlayer import NewLayer
   File "/Users/bernardo/.qgis//python/plugins/newlayer/newlayer.py",  
line 5, in
     import psycopg
ImportError: No module named psycopg

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


  If I click OK the application freezes
So I deleted in  Application /contents       the PyQt4 folder content  
and then it says : "Impossibile caricare PyQt4.
Il supporto Python verrĂ  disabilitato."  but opens and  works fine  
with other plugins.

What is wrong with PyQt4?

Thank you for any help

  and for all remarqable improvements that all you did with this  
version.

Best congratulations by a final user
bernardo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20090114/e55724c0/attachment.html>


More information about the Qgis-user mailing list