Comment #6 on issue 995 by filip.noetzel: Mac OS X: IOError: [Errno 35] Resource temporarily unavailable
http://code.google.com/p/robotframework/issues/detail?id=995

I just managed to reproduce this (or a similar error) on Linux on travis-ci (with a different project then the one mentioned in the original report):

http://travis-ci.org/#!/peritus/robotframework-httplibrary/builds/341532/L205

    .. ..
    Tests                                                    | PASS |
    56 critical tests, 56 passed, 0 failed
    56 tests total, 56 passed, 0 failed
    =================================================================
Output: /home/vagrant/builds/peritus/robotframework-httplibrary/output.xml Log: /home/vagrant/builds/peritus/robotframework-httplibrary/log.html Report: /home/vagrant/builds/peritus/robotframework-httplibrary/report.html
    Error in atexit._run_exitfuncs:
    Traceback (most recent call last):
    File "/usr/lib/python2.6/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
    File "/usr/lib/python2.6/logging/__init__.py", line 1508, in shutdown
    h.flush()
    File "/usr/lib/python2.6/logging/__init__.py", line 754, in flush
    self.stream.flush()
    File "/usr/lib/python2.6/StringIO.py", line 256, in flush
    _complain_ifclosed(self.closed)
    File "/usr/lib/python2.6/StringIO.py", line 40, in _complain_ifclosed
    raise ValueError, "I/O operation on closed file"
    ValueError: I/O operation on closed file
    Error in sys.exitfunc:
    Traceback (most recent call last):
    File "/usr/lib/python2.6/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
    File "/usr/lib/python2.6/logging/__init__.py", line 1508, in shutdown
    h.flush()
    File "/usr/lib/python2.6/logging/__init__.py", line 754, in flush
    self.stream.flush()
    File "/usr/lib/python2.6/StringIO.py", line 256, in flush
    _complain_ifclosed(self.closed)
    File "/usr/lib/python2.6/StringIO.py", line 40, in _complain_ifclosed
    raise ValueError, "I/O operation on closed file"
    ValueError: I/O operation on closed file

    Done. Build script exited with: 0

After that, I applied this patch:

https://github.com/peritus/robotframework-httplibrary/commit/d392617119f07ff8d4202ec9facd3f599f0466f0

And subsequent builds don't have this issue:

    http://travis-ci.org/#!/peritus/robotframework-httplibrary/builds/348166




Reply via email to