liftoff/GateOne — Issue #11: MimeTypeFail: Could not guess mime type of /[...]/bell.ogg
Author: fireglow
Created: 2011-10-14 13:47:16+00:00
State: open

Hello

I'm trying to run gateone on FreeBSD, Python 2.7.2.
When visited by a browser, gateone gives the following error in the logfile:

File "/usr/local/lib/python2.7/site-packages/tornado-1.2.1-py2.7.egg/tornado/web.py", line 861, in _execute
getattr(self, self.request.method.lower())(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/tornado-1.2.1-py2.7.egg/tornado/web.py", line 1497, in wrapper
return method(self, *args, **kwargs)
File "gateone.py", line 284, in get
bell_data_uri = create_data_uri(bell)
File "/srv/gateone/utils.py", line 529, in create_data_uri
raise MimeTypeFail("Could not guess mime type of: %s" % filepath)
MimeTypeFail: Could not guess mime type of: /srv/gateone/static/bell.ogg