I/O operation on closed file

Issue #754 resolved
Gili
created an issue

I attempted to open the admin settings on a repository and got the following exception:

2013-02-05 23:05:40.729 INFO  [rhodecode.lib.base] IP: 192.168.1.1 Request to /_admin time: 0.064s
2013-02-05 23:05:40.730 ERROR [waitress] Exception when serving /hg/_admin
Traceback (most recent call last):
  File "c:\Users\Gili\Documents\rhodecode\lib\site-packages\waitress\channel.py", line 329, in service
    task.service()
  File "c:\Users\Gili\Documents\rhodecode\lib\site-packages\waitress\task.py", line 173, in service
    self.execute()
  File "c:\Users\Gili\Documents\rhodecode\lib\site-packages\waitress\task.py", line 412, in execute
    self.write(chunk)
  File "c:\Users\Gili\Documents\rhodecode\lib\site-packages\waitress\task.py", line 285, in write
    channel.write_soon(rh)
  File "c:\Users\Gili\Documents\rhodecode\lib\site-packages\waitress\channel.py", line 311, in write_soon
    self.outbufs[-1].append(data)
  File "c:\Users\Gili\Documents\rhodecode\lib\site-packages\waitress\buffers.py", line 246, in append
    buf.append(s)
  File "c:\Users\Gili\Documents\rhodecode\lib\site-packages\waitress\buffers.py", line 54, in append
    read_pos = file.tell()
ValueError: I/O operation on closed file.

It seems to be random though, because when I reloaded the page it worked fine.

Comments (2)

  1. Log in to comment