[Qgis-user] SEXANTE testing
Victor Olaya
volayaf at gmail.com
Wed Aug 1 05:12:08 PDT 2012
>
> Updated to the latest svn sextante from
> http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin/src/sextante
> (is there already a migrated new sextante repository?)
> I get an error while loading qgis
The repo is going to be migrated soon (i am going to send a notice to the ML)
>
> Couldn't load plugin sextante due an error when calling its classFactory()
> method
>
> Traceback (most recent call last):
> File "/opt/qgismaster/share/qgis/python/qgis/utils.py", line 164, in
> startPlugin
> plugins[packageName] = package.classFactory(iface)
> File "/home/macho/.qgis//python/plugins/sextante/__init__.py", line 13, in
> classFactory
> return SextantePlugin(iface)
> File "/home/macho/.qgis//python/plugins/sextante/SextantePlugin.py", line
> 26, in __init__
> Sextante.initialize()
> File "/home/macho/.qgis//python/plugins/sextante/core/Sextante.py", line
> 105, in initialize
> Sextante.loadFromProviders()
> File "/home/macho/.qgis//python/plugins/sextante/core/Sextante.py", line
> 116, in loadFromProviders
> Sextante.loadAlgorithms()
> File "/home/macho/.qgis//python/plugins/sextante/core/Sextante.py", line
> 152, in loadAlgorithms
> provider.loadAlgorithms()
> File
> "/home/macho/.qgis//python/plugins/sextante/core/AlgorithmProvider.py", line
> 27, in loadAlgorithms
> self._loadAlgorithms()
> File
> "/home/macho/.qgis//python/plugins/sextante/modeler/ModelerAlgorithmProvider.py",
> line 48, in _loadAlgorithms
> alg.openModel(fullpath)
> File
> "/home/macho/.qgis//python/plugins/sextante/modeler/ModelerAlgorithm.py",
> line 113, in openModel
> algParams[param.name] = AlgorithmAndParameter(int(tokens[0]), tokens[1])
> ValueError: invalid literal for int() with base 10:
> 'ALGORITHM:saga:analyticalhillshading'
Seems that you have a model that is not correct. Maybe a model in an
old format (models have changed and the format has been changed to
accomodate those changes...)
Should work if you delete those models or change the model folder
Regards
More information about the Qgis-user
mailing list