[Qgis-user] How to use Sextante Pyculator correctly?

Anita Graser anitagraser at gmx.at
Sat Jan 5 08:26:41 PST 2013


On Sat, Jan 5, 2013 at 4:31 PM, Victor Olaya <volayaf at gmail.com> wrote:
> While I think about the best way of doing it, here[1] you can download
> a zip file with the latest SEXTANTE code. I will be updating that link
> regularly, but I will try to see how to make i

Thanks Victor,

I got the zip and replaced my Sextante folder with it but QGIS starts
with the following error:

Couldn't load plugin 'sextante' from ['/usr/share/qgis/python',
'/home/agraser/.qgis//python', '/home/agraser/.qgis//python/plugins',
'/usr/share/qgis/python/plugins',
'/usr/local/lib/python2.7/dist-packages/pyspatialite-2.6.1-py2.7-linux-x86_64.egg',
'/usr/local/lib/python2.7/dist-packages/pyprocessing-0.1.3.12-py2.7.egg',
'/usr/local/lib/python2.7/dist-packages/twitter-1.8.0-py2.7.egg',
'/usr/local/lib/python2.7/dist-packages/tweepy-1.9-py2.7.egg',
'/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/pymodules/python2.7/libubuntuone',
'/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-control-panel',
'/usr/lib/python2.7/dist-packages/ubuntuone-couch',
'/usr/lib/python2.7/dist-packages/ubuntuone-installer',
'/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol',
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode',
'~/.qgis/python', '.',
'/home/agraser/.qgis/python/plugins/mmqgis/forms']

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/agraser/.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 309, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/home/agraser/.qgis//python/plugins/sextante/core/Sextante.py",
line 41, in
    from sextante.modeler.ModelerAlgorithmProvider import
ModelerAlgorithmProvider
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 309, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/home/agraser/.qgis//python/plugins/sextante/modeler/ModelerAlgorithmProvider.py",
line 34, in
    from sextante.modeler.EditModelAction import EditModelAction
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 309, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/home/agraser/.qgis//python/plugins/sextante/modeler/EditModelAction.py",
line 28, in
    from sextante.modeler.ModelerDialog import ModelerDialog
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 309, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/home/agraser/.qgis//python/plugins/sextante/modeler/ModelerDialog.py",
line 48, in
    from sextante.ui.ui_DlgModeler import Ui_DlgModeler
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 309, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/home/agraser/.qgis//python/plugins/sextante/ui/ui_DlgModeler.py",
line 93, in
    from qgis.gui import QgsFilterLineEdit
ImportError: cannot import name QgsFilterLineEdit

Python version:
2.7.2+ (default, Jul 20 2012, 22:32:25)
[GCC 4.6.1]


QGIS version:
1.8.0-Lisboa Lisboa, exported

Python path: ['/usr/share/qgis/python', '/home/agraser/.qgis//python',
'/home/agraser/.qgis//python/plugins',
'/usr/share/qgis/python/plugins',
'/usr/local/lib/python2.7/dist-packages/pyspatialite-2.6.1-py2.7-linux-x86_64.egg',
'/usr/local/lib/python2.7/dist-packages/pyprocessing-0.1.3.12-py2.7.egg',
'/usr/local/lib/python2.7/dist-packages/twitter-1.8.0-py2.7.egg',
'/usr/local/lib/python2.7/dist-packages/tweepy-1.9-py2.7.egg',
'/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/pymodules/python2.7/libubuntuone',
'/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-control-panel',
'/usr/lib/python2.7/dist-packages/ubuntuone-couch',
'/usr/lib/python2.7/dist-packages/ubuntuone-installer',
'/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol',
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode',
'~/.qgis/python', '.',
'/home/agraser/.qgis/python/plugins/mmqgis/forms']



More information about the Qgis-user mailing list