[Qgis-developer] Extending SEXTANTE algorithms in QGIS (a new plugin/example)

Pedro Venâncio pedrongvenancio at yahoo.com
Tue Apr 3 15:53:22 EDT 2012


Hi,

Same problem here on Debian Squeeze.

Best regards,

Pedro Venâncio



________________________________
 From: Paolo Cavallini <cavallini at faunalia.it>
To: qgis-developer at lists.osgeo.org 
Sent: Tuesday, April 3, 2012 7:33 PM
Subject: Re: [Qgis-developer] Extending SEXTANTE algorithms in QGIS (a new plugin/example)
 
Il 03/04/2012 13:32, Victor Olaya ha scritto:
> Hi all
> 
> As some people mentioned, is important to incorporate more algorithms
> into SEXTANTE to make it become some kind of standarized geoanalysis

Upgrading throws errors:

Impossibile caricare il plugin 'sextante' da
['/home/paolo/.qgis/python/plugins/GeoCoding',
'/home/paolo/.qgis/python/plugins/sextante',
'/home/paolo/.qgis/python/plugins/GeoCoding',
'/home/paolo/.qgis/python/plugins/elevation',
'/home/paolo/.qgis/python/plugins/cswclient', '/usr/share/qgis/python',
'/home/paolo/.qgis/python', '/home/paolo/.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/wx-2.8-gtk2-unicode', '.',
'/home/paolo/.qgis/python/plugins/ziplayers/logic',
'/home/paolo/.qgis/python/plugins/ziplayers/gui',
'/usr/share/qgis/python/plugins/fTools/tools',
'/home/paolo/.qgis/python/plugins/mmqgis/forms',
'/home/paolo/.qgis/python/plugins/QuickMultiAttributeEdit/forms', '~/.qgis/python',
'.', '.']

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 143, in loadPlugin
    __import__(packageName)
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 309, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/home/paolo/.qgis/python/plugins/sextante/__init__.py", line 1, in
    from sextante.SextantePlugin import SextantePlugin
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 309, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/home/paolo/.qgis/python/plugins/sextante/SextantePlugin.py", line 6, in
    from sextante.core.Sextante import Sextante
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 309, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/home/paolo/.qgis/python/plugins/sextante/core/Sextante.py", line 13, in
    from sextante.ftools.FToolsAlgorithmProvider import FToolsAlgorithmProvider
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 309, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/home/paolo/.qgis/python/plugins/sextante/ftools/FToolsAlgorithmProvider.py",
line 21, in
    from sextante.ftools.FixedDistanceBuffer import FixedDistanceBuffer
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 309, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/home/paolo/.qgis/python/plugins/sextante/ftools/FixedDistanceBuffer.py",
line 12, in
    import sextante.ftools.Buffer as buff
AttributeError: 'module' object has no attribute 'ftools'
===

and then:

===
Traceback (most recent call last):
  File "/home/paolo/.qgis/python/plugins/plugin_installer/installer_gui.py", line
585, in upgradeAllClicked
    self.installPlugin(key, quiet=True)
  File "/home/paolo/.qgis/python/plugins/plugin_installer/installer_gui.py", line
656, in installPlugin
    reloadPlugin(key)
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 263, in reloadPlugin
    startPlugin(packageName)
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 158, in startPlugin
    package = sys.modules[packageName]
KeyError: u'sextante'
===

Thanks.
-- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
_______________________________________________
Qgis-developer mailing list
Qgis-developer at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20120403/1e70e953/attachment-0001.html


More information about the Qgis-developer mailing list