Opened 4 months ago

#5493 new defect

ValueError: I/O operation on closed file

Reported by: jorg Owned by:
Priority: major Milestone:
Component: programming Keywords:
Cc: Parent Tickets:

Description

mediagoblin 0.9, media-type video enabled

Steps to reproduce

  1. Start a local ./lazyserver.sh .
  2. Access an uploaded video file.

The page is shown correctly, it is possible to watch the video, but the log reads:

2017-02-09 09:12:15,067 ERROR   [waitress] Exception when serving /mgoblin_media/media_entries/13/....webm           
Traceback (most recent call last):
  File "/srv/mediagoblin.latest/lib/python2.7/site-packages/waitress-1.0.2-py2.7.egg/waitress/channel.py", line 338, in service                                           
    task.service()
  File "/srv/mediagoblin.latest/lib/python2.7/site-packages/waitress-1.0.2-py2.7.egg/waitress/task.py", line 169, in service                                              
    self.execute()
  File "/srv/mediagoblin.latest/lib/python2.7/site-packages/waitress-1.0.2-py2.7.egg/waitress/task.py", line 437, in execute                                              
    self.write(chunk)
  File "/srv/mediagoblin.latest/lib/python2.7/site-packages/waitress-1.0.2-py2.7.egg/waitress/task.py", line 303, in write                                                
    channel.write_soon(towrite)
  File "/srv/mediagoblin.latest/lib/python2.7/site-packages/waitress-1.0.2-py2.7.egg/waitress/channel.py", line 320, in write_soon                                        
    self.outbufs[-1].append(data)
  File "/srv/mediagoblin.latest/lib/python2.7/site-packages/waitress-1.0.2-py2.7.egg/waitress/buffers.py", line 242, in append
    buf.append(s)
  File "/srv/mediagoblin.latest/lib/python2.7/site-packages/waitress-1.0.2-py2.7.egg/waitress/buffers.py", line 53, in append
    read_pos = file.tell()
ValueError: I/O operation on closed file

The error was solved by running ./bin/gmg dbupdate

Subtickets (add)

Change History (0)

Note: See TracTickets for help on using tickets.