[Qgis-user] Python error enabling sextante plugin

Andrea Peri aperi2007 at gmail.com
Thu Nov 8 00:11:11 PST 2012


Hi,
I'm not sure this is the right ML for this, but I dont know other site
where report this.
.
I will have the sextant installed but disabled.
Now I go to enable it, and see this python error:

from Italian language it is say-ing:
Impossible to load the sextant plugin due to a error in classFactory
method()

-----
Impossibile caricare il plugin sextante a causa di errore chiamando il
metodo classFactory()

Traceback (most recent call last):
  File "C:/my-programs/OSGeo4W/apps/qgis-dev/./python\qgis\utils.py", line
188, in startPlugin
    plugins[packageName] = package.classFactory(iface)
  File
"C:\my-programs\OSGeo4W\apps\qgis-dev\python\plugins\sextante\__init__.py",
line 46, in classFactory
    return SextantePlugin(iface)
  File
"C:\my-programs\OSGeo4W\apps\qgis-dev\python\plugins\sextante\SextantePlugin.py",
line 56, in __init__
    Sextante.initialize()
  File
"C:\my-programs\OSGeo4W\apps\qgis-dev\python\plugins\sextante\core\Sextante.py",
line 130, in initialize
    Sextante.addProvider(ScriptAlgorithmProvider())
  File
"C:\my-programs\OSGeo4W\apps\qgis-dev\python\plugins\sextante\core\Sextante.py",
line 84, in addProvider
    Sextante.updateAlgsList()
  File
"C:\my-programs\OSGeo4W\apps\qgis-dev\python\plugins\sextante\core\Sextante.py",
line 145, in updateAlgsList
    Sextante.loadFromProviders()
  File
"C:\my-programs\OSGeo4W\apps\qgis-dev\python\plugins\sextante\core\Sextante.py",
line 150, in loadFromProviders
    Sextante.loadAlgorithms()
  File
"C:\my-programs\OSGeo4W\apps\qgis-dev\python\plugins\sextante\core\Sextante.py",
line 173, in loadAlgorithms
    Sextante.updateProviders()
  File
"C:\my-programs\OSGeo4W\apps\qgis-dev\python\plugins\sextante\core\Sextante.py",
line 157, in updateProviders
    provider.loadAlgorithms()
  File
"C:\my-programs\OSGeo4W\apps\qgis-dev\python\plugins\sextante\core\AlgorithmProvider.py",
line 53, in loadAlgorithms
    self._loadAlgorithms()
  File
"C:\my-programs\OSGeo4W\apps\qgis-dev\python\plugins\sextante\script\ScriptAlgorithmProvider.py",
line 71, in _loadAlgorithms
    self.loadFromFolder(folder)
  File
"C:\my-programs\OSGeo4W\apps\qgis-dev\python\plugins\sextante\script\ScriptAlgorithmProvider.py",
line 74, in loadFromFolder
    for descriptionFile in os.listdir(folder):
WindowsError: [Error 3] Impossibile trovare il percorso specificato:
'C:\\my-programs\\OSGeo4W\\apps\\qgis-dev\\python\\plugins\\sextante\\script\\scripts/*.*'

Versione Python:
2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]


Versione di QGIS:
1.9.0-Master Master, b5a12d3

Percorso Python:
['C:\\my-programs\\OSGeo4W\\apps\\qgis-dev\\python\\plugins\\sextante',
'C:/my-programs/OSGeo4W/apps/qgis-dev/./python',
'C:/Users/Andrea/.qgis//python', 'C:/Users/Andrea/.qgis//python/plugins',
'C:/my-programs/OSGeo4W/apps/qgis-dev/./python/plugins',
'C:\\my-programs\\OSGeo4W\\bin\\python27.zip',
'C:\\my-programs\\OSGeo4W\\apps\\Python27\\DLLs',
'C:\\my-programs\\OSGeo4W\\apps\\Python27\\lib',
'C:\\my-programs\\OSGeo4W\\apps\\Python27\\lib\\plat-win',
'C:\\my-programs\\OSGeo4W\\apps\\Python27\\lib\\lib-tk',
'C:\\my-programs\\OSGeo4W\\bin',
'C:\\my-programs\\OSGeo4W\\apps\\Python27',
'C:\\my-programs\\OSGeo4W\\apps\\Python27\\lib\\site-packages',
'C:\\my-programs\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\PIL',
'C:\\my-programs\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\win32',
'C:\\my-programs\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\win32\\lib',
'C:\\my-programs\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\Pythonwin',
'C:\\my-programs\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode',
'C:\\my-programs\\OSGeo4W\\apps\\qgis-dev\\python\\plugins\\fTools\\tools']

-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20121108/26321708/attachment.html>


More information about the Qgis-user mailing list