Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOError: Errno 9 Bad file descriptor #18729

Closed
qgib opened this issue May 19, 2014 · 3 comments
Closed

IOError: Errno 9 Bad file descriptor #18729

qgib opened this issue May 19, 2014 · 3 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented May 19, 2014

Author Name: Pedro Venâncio (Pedro Venâncio)
Original Redmine Issue: 10304
Affected QGIS version: 2.2.0
Redmine category:processing/core
Assignee: Victor Olaya


Hi,

I'm getting this error with some SAGA tools. The first time I try to run the tool, it shows this error, but trying again it opens the dialog box.

An error has occured while executing Python code:

Traceback (most recent call last):
  File "C:/Users/pedro/.qgis2/python/plugins\\processing\\gui\\ProcessingToolbox.py", line 176, in executeAlgorithmAsBatchProcess
    dlg = BatchProcessingDialog(alg)
  File "C:/Users/pedro/.qgis2/python/plugins\\processing\\gui\\BatchProcessingDialog.py", line 64, in __init__
    AlgorithmExecutionDialog.__init__(self, alg, self.table)
  File "C:/Users/pedro/.qgis2/python/plugins\\processing\\gui\\AlgorithmExecutionDialog.py", line 110, in __init__
    isText, help = self.alg.help()
  File "C:/Users/pedro/.qgis2/python/plugins\\processing\\algs\\saga\\SagaAlgorithm.py", line 510, in help
    name + '.rst'))
  File "C:/Users/pedro/.qgis2/python/plugins\\processing\\gui\\Help2Html.py", line 55, in getHtmlFromRstFile
    print s
IOError: [Errno 9] Bad file descriptor

Python version:
2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]

QGIS version:
2.2.0-Valmiera Valmiera, c3a2817

An error has occured while executing Python code:

Traceback (most recent call last):
  File "C:/Users/pedro/.qgis2/python/plugins\\processing\\gui\\ProcessingToolbox.py", line 191, in executeAlgorithm
    dlg = ParametersDialog(alg)
  File "C:/Users/pedro/.qgis2/python/plugins\\processing\\gui\\ParametersDialog.py", line 42, in __init__
    AlgorithmExecutionDialog.__init__(self, alg, self.scrollArea)
  File "C:/Users/pedro/.qgis2/python/plugins\\processing\\gui\\AlgorithmExecutionDialog.py", line 110, in __init__
    isText, help = self.alg.help()
  File "C:/Users/pedro/.qgis2/python/plugins\\processing\\algs\\saga\\SagaAlgorithm.py", line 510, in help
    name + '.rst'))
  File "C:/Users/pedro/.qgis2/python/plugins\\processing\\gui\\Help2Html.py", line 55, in getHtmlFromRstFile
    print s
IOError: [Errno 9] Bad file descriptor

Python version:
2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]

QGIS version:
2.2.0-Valmiera Valmiera, c3a2817

This is happening to me on windows, with QGIS 2.2 and SAGA 1.0.8.
On Linux, with QGIS 2.2 and SAGA 2.1.1, this does not happen.

Processing 2.2.0-2

@qgib
Copy link
Contributor Author

qgib commented May 24, 2014

Author Name: stefano campus (@skampus)


i confirm this behaviour

@qgib
Copy link
Contributor Author

qgib commented May 26, 2014

Author Name: Victor Olaya (@volaya)


The line causing the problem was removed in ef8383a. This shoudl be already fixed


  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented Jun 7, 2015

Author Name: Giovanni Manghi (@gioman)


  • category_id was changed from 94 to Processing/Core

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms labels May 25, 2019
@qgib qgib added this to the Version 2.2 milestone May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

No branches or pull requests

1 participant