Bug report #8325

Too many files produced for the OS to handle, during iteration

Added by Paolo Cavallini over 10 years ago. Updated over 5 years ago.

Affected QGIS version:2.4.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:not reproducable
Crashes QGIS or corrupts data:No Copied to github as #:17116


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
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
File "/usr/share/qgis/python/plugins/sextante/gui/HistoryDialog.py", line 57, in
File "/usr/share/qgis/python/plugins/sextante/gui/HistoryDialog.py", line 65, in
File "/usr/share/qgis/python/plugins/sextante/core/SextanteLog.py", line 90, in
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
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.


#1 Updated by Giovanni Manghi about 9 years ago

  • Project changed from 78 to QGIS Application
  • Category deleted (63)
  • Affected QGIS version set to 2.4.0
  • Crashes QGIS or corrupts data set to No

#2 Updated by Giovanni Manghi about 9 years ago

  • Category set to Processing/Core

#3 Updated by Giovanni Manghi over 6 years ago

  • Easy fix? set to No
  • Regression? set to No

#4 Updated by Paolo Cavallini almost 6 years ago

  • Description updated (diff)
  • Assignee deleted (Victor Olaya)

#5 Updated by Giovanni Manghi almost 6 years ago

  • Status changed from Open to Feedback

Still true on QGIS 3?

#6 Updated by Giovanni Manghi over 5 years ago

  • Resolution set to not reproducable
  • Status changed from Feedback to Closed

Closing for lack of feedback.

#7 Updated by Paolo Cavallini over 5 years ago

Confirmed, it works with >6k iterations in QGIS 3.2

Also available in: Atom PDF