Bug report #8325

Updated by Paolo Cavallini about 6 years ago

The iteration is working, but I get an error after about 100 iterations:



===

Traceback (most recent call last):

File "/usr/share/qgis/python/plugins/sextante/core/GeoAlgorithm.py", line 147, in

execute

File "/usr/share/qgis/python/plugins/sextante/algs/mmqgisx/MMQGISXAlgorithms.py",

line 598, in processAlgorithm

AttributeError: 'NoneType' object has no attribute 'pendingFields'

===



triyng to read sextante logs brings a different error:



===

Errore durante l'esecuzione di codice Python:



Traceback (most recent call last):

File "/usr/share/qgis/python/plugins/sextante/SextantePlugin.py", line 142, in

openHistory

File "/usr/share/qgis/python/plugins/sextante/gui/HistoryDialog.py", line 57, in

__init__

File "/usr/share/qgis/python/plugins/sextante/gui/HistoryDialog.py", line 65, in

fillTree

File "/usr/share/qgis/python/plugins/sextante/core/SextanteLog.py", line 90, in

getLogEntries

File "/usr/share/qgis/python/plugins/sextante/core/SextanteLog.py", line 256, in tail

File "/usr/share/qgis/python/plugins/sextante/core/SextanteLog.py", line 163, in

__init__

File "/usr/lib/python2.7/codecs.py", line 881, in open

IOError: [Errno 24] Troppi file aperti: u'/home/paolo/.qgis2//sextante/sextante_qgis.log'

===



Obviously I hit the unfamous max number of files issue, so not much can be done at

the sextante level. A couple of suggestions though:

* the error should be better handled

* when the output produces many files, a warning "Please load files after the analysis is finished", and an automatic deactivation of the "Open output file..." option would help a lot.

Back