Products\Silva\mimetypes.py causes problems on Windows
Bug #1037637 reported by
Benno Luthiger
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Silva |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Silva 2.3 can't start on a Windows machine because of Products\
In this module, a list of locations where mime.types may be defined is given (_DEFAULT_
However, this list makes sense only on Unix base systems and, therefore, the windows statrup procedure stops with a RuntimeError "Cannot find a mime.types file. Please add a configuration entry pointing to one."
To post a comment you must log in.
This is already fixed (this was true in the first version of Silva 2.3), but is fixed in 2.3.6 at least. You can use in zope.conf a product configuration for silva to define the path of the mime_types file. In all recent Silva buildout a default file is provided for consistency.
<product-config silva> config>
mime_types /path/to/mime.types
</product-