Opened 8 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: |
Description
mediagoblin 0.9, media-type video enabled
Steps to reproduce
- Start a local ./lazyserver.sh .
- 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
Note:
See TracTickets
for help on using tickets.
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.