-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
After uploading a file of MP3 format to a Maried whose gstreamer library does not support MP3, I get the following error printed to standard-out. On the web interface itself, I just get "Failed". It would be better if some error like "File format audio/mpeg not supported" would be displayed in the web-interface instead of just "Failed". In that case, the stack trace can also be changed to give more relevant information, such as "User %s tried to upload a file of format %s, but this format was not supported.\n%s" % (username, format, filename).
8221 INFO cometServer.bmh2wvRE:Download started
** Message: don't know how to handle audio/mpeg, mpegversion=(int)1, layer=(int)3
11883 ERROR gstMediaInfo:Gst: There is no codec present that can handle the stream's type. gstplaybasebin.c(2322): gboolean prepare_output(GstPlayBaseBin *) (): /GstPlayBin:playbin
11883 ERROR cometServer:Uncaught exceptionTraceback (most recent call last):
File "/Users/sjors/Projecten/marietje/install/py/sarah/socketServer.py", line 45, in _handle_connection
handler.handle()
File "/Users/sjors/Projecten/marietje/install/py/joyce/comet.py", line 36, in handle
self.server, self.l)
File "/Users/sjors/Projecten/marietje/install/py/joyce/comet.py", line 47, in __init__
BaseHTTPRequestHandler.__init__(self, request, addr, server)
File "/sw/lib/python2.7/SocketServer.py", line 638, in __init__
self.handle()
File "/sw/lib/python2.7/BaseHTTPServer.py", line 340, in handle
self.handle_one_request()
File "/sw/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
method()
File "/Users/sjors/Projecten/marietje/install/py/joyce/comet.py", line 97, in do_POST
self._dispatch_stream(qs, ct)
File "/Users/sjors/Projecten/marietje/install/py/joyce/comet.py", line 149, in _dispatch_stream
self.server.dispatch_stream(token, stream, self)
File "/Users/sjors/Projecten/marietje/install/py/joyce/comet.py", line 464, in dispatch_stream
relay._handle_stream(rh, stream)
File "/Users/sjors/Projecten/marietje/install/py/joyce/comet.py", line 224, in _handle_stream
self.handle_stream(self.token, stream)
File "/Users/sjors/Projecten/marietje/install/py/joyce/base.py", line 48, in handle_stream
self.hub.handle_stream(token, stream, self)
File "/Users/sjors/Projecten/marietje/install/py/joyce/base.py", line 77, in handle_stream
c.handle_stream(stream)
File "/Users/sjors/Projecten/marietje/install/py/maried/joyceRS.py", line 35, in handle_stream
mf = self.server.desk.add_media(stream, self.user)
File "/Users/sjors/Projecten/marietje/install/py/maried/core.py", line 141, in add_media
self.collection.add(mediaFile, user, customInfo)
File "/Users/sjors/Projecten/marietje/install/py/maried/mongo.py", line 178, in add
info = mediaFile.get_info()
File "/Users/sjors/Projecten/marietje/install/py/maried/core.py", line 67, in get_info
ret = self.store.mediaInfo.get_info(stream)
File "/Users/sjors/Projecten/marietje/install/py/maried/gstreamer.py", line 137, in get_info
raise ValueError
ValueError
Metadata
Metadata
Assignees
Labels
No labels