Opened 7 years ago

Closed 4 years ago

#5493 closed defect (cant-reproduce)

ValueError: I/O operation on closed file

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


mediagoblin 0.9, media-type video enabled

Steps to reproduce

  1. Start a local ./ .
  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/", line 338, in service                                           
  File "/srv/mediagoblin.latest/lib/python2.7/site-packages/waitress-1.0.2-py2.7.egg/waitress/", line 169, in service                                              
  File "/srv/mediagoblin.latest/lib/python2.7/site-packages/waitress-1.0.2-py2.7.egg/waitress/", line 437, in execute                                              
  File "/srv/mediagoblin.latest/lib/python2.7/site-packages/waitress-1.0.2-py2.7.egg/waitress/", line 303, in write                                                
  File "/srv/mediagoblin.latest/lib/python2.7/site-packages/waitress-1.0.2-py2.7.egg/waitress/", line 320, in write_soon                                        
  File "/srv/mediagoblin.latest/lib/python2.7/site-packages/waitress-1.0.2-py2.7.egg/waitress/", line 242, in append
  File "/srv/mediagoblin.latest/lib/python2.7/site-packages/waitress-1.0.2-py2.7.egg/waitress/", line 53, in append
    read_pos = file.tell()
ValueError: I/O operation on closed file

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

Change History (1)

comment:1 by Ben Sturmfels, 4 years ago

Resolution: worksforme
Status: newclosed

I'm not able to reproduce this on MediaGoblin 0.10.0, so I'll close this ticket for now. If anyone sees this again, please add further information to this ticket.

Note: See TracTickets for help on using tickets.