[Qgis-user] Re: python error in opening

dpan davepanitz at yahoo.com
Mon Aug 22 08:57:17 PDT 2011


Hi, 

I'm getting the same error after having installed the latest packages in
Snow Leopard:
http://osgeo-org.1803224.n2.nabble.com/file/n6712115/Screen_shot_2011-08-22_at_9.54.29_AM.png 

...and wonder if anyone can help.

Here is the full error text:
***************
Couldn't load plugin GdalTools due an error when calling its classFactory()
method

Traceback (most recent call last):
  File
"/Applications/QGIS-1.8.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 138, in startPlugin
    plugins[packageName] = package.classFactory(iface)
  File
"/Applications/QGIS-1.8.app/Contents/MacOS/../Resources/python/plugins/GdalTools/__init__.py",
line 32, in classFactory
    from GdalTools import GdalTools
  File
"/Applications/QGIS-1.8.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 283, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"/Applications/QGIS-1.8.app/Contents/MacOS/../Resources/python/plugins/GdalTools/GdalTools.py",
line 39, in 
    raise ImportError( error_str )
ImportError: No module named _gdal

Python version:
2.6.1 (r261:67515, Jun 24 2010, 21:47:49) 
[GCC 4.2.1 (Apple Inc. build 5646)]


QGIS version:
1.8.0-Trunk Trunk, 7f611e9

Python path:
['/Applications/QGIS-1.8.app/Contents/MacOS/../Resources/python',
'/Users/dpanitz/.qgis/python', '/Users/dpanitz/.qgis/python/plugins',
'/Applications/QGIS-1.8.app/Contents/MacOS/../Resources/python/plugins',
'/Library/Frameworks/SQLite3.framework/Versions/3/Python',
'/Library/Frameworks/SQLite3.framework/Versions/3/Python/2.6',
'/Library/Python/2.6/site-packages/numpy-override',
'/Library/Frameworks/GDAL.framework/Versions/1.8/Python/site-packages',
'/Library/Frameworks/GDAL.framework/Versions/1.8/Python/2.6/site-packages',
'/Library/Frameworks/cairo.framework/Versions/1/Python/2.6',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python26.zip',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-darwin',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/lib-scriptpackages',
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-old',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload',
'/Library/Python/2.6/site-packages',
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/PyObjC',
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode',
'/Applications/QGIS-1.8.app/Contents/Resources/python/plugins/fTools/tools']

*****

Thanks!
Dave

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/python-error-in-opening-tp6456668p6712115.html
Sent from the qgis-user mailing list archive at Nabble.com.



More information about the Qgis-user mailing list