[Qgis-developer] Error in sextante iteration

Victor Olaya volayaf at gmail.com
Fri Jul 19 03:19:27 PDT 2013


hmm, seems that the problem is not with the output files, but with the
log file...so it should be feasible to fix it...

Thanks for the ideas!

2013/7/19 Paolo Cavallini <cavallini at faunalia.it>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all.
> 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.
>
> All the best.
> - --
> Paolo Cavallini - Faunalia
> www.faunalia.eu
> Full contact details at www.faunalia.eu/pc
> Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with Icedove - http://www.enigmail.net/
>
> iEYEARECAAYFAlHpDgEACgkQ/NedwLUzIr4L3gCeLVnVM/zxzOmD9y59pjqpf/Pq
> g9IAniAZZY3CldRk/KWJWh/LBsGaU2Sx
> =cMMB
> -----END PGP SIGNATURE-----
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the Qgis-developer mailing list