[Qgis-developer] Couldn't load plugin ogrprocessing after upgrading Sextante from github
Pedro Venâncio
pedrongvenancio at yahoo.com
Sun Dec 2 12:16:09 PST 2012
Hi
I am getting the following error, which appeared after upgrading Sextante from github:
Couldn't load plugin ogrprocessing due an error when calling its classFactory() method
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 189, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "/home/pedro/.qgis//python/plugins/ogrprocessing/__init__.py", line 37, in classFactory
from ogrprocessingplugin import OgrProcessingPlugin
File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 438, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/home/pedro/.qgis//python/plugins/ogrprocessing/ogrprocessingplugin.py", line 31, in
from sextante.core.Sextante import Sextante
File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 438, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/usr/share/qgis/python/plugins/sextante/__init__.py", line 20, in
from sextante.core.Sextante import runalg, runandload, alghelp, alglist, algoptions, load, loadFromAlg, extent, getObjectFromName, getObjectFromUri
File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 438, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/usr/share/qgis/python/plugins/sextante/core/Sextante.py", line 55, in
from sextante.admintools.AdminToolsAlgorithmProvider import AdminToolsAlgorithmProvider
File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 438, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/usr/share/qgis/python/plugins/sextante/admintools/AdminToolsAlgorithmProvider.py", line 27, in
from sextante.admintools.ImportVectorIntoGeoServer import ImportVectorIntoGeoServer
File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 438, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/usr/share/qgis/python/plugins/sextante/admintools/ImportVectorIntoGeoServer.py", line 32, in
from sextante.admintools.GeoServerToolsAlgorithm import GeoServerToolsAlgorithm
File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 438, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/usr/share/qgis/python/plugins/sextante/admintools/GeoServerToolsAlgorithm.py", line 20, in
from sextante.admintools.geoserver.catalog import Catalog
File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 438, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/usr/share/qgis/python/plugins/sextante/admintools/geoserver/catalog.py", line 39, in
from sextante.admintools import httplib2
File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 438, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/usr/share/qgis/python/plugins/sextante/admintools/httplib2/__init__.py", line 26
from __future__ import generators
SyntaxError: from __future__ imports must occur at the beginning of the file
Python version:
2.7.3 (default, Aug 1 2012, 05:27:35)
[GCC 4.6.3]
QGIS version:
1.9.0-Master Master, exported
Python path: ['/usr/share/qgis/python', '/home/pedro/.qgis//python', '/home/pedro/.qgis//python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/python2.7/dist-packages/gst-0.10', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode', '/home/pedro/.qgis/python/plugins/mmqgis/forms', '/home/pedro/.qgis/python/plugins/qgis2kml', '/home/pedro/.qgis/python/plugins/qgis2kml']
More information about the Qgis-developer
mailing list