Does not work right with python-magic
Bug #1202151 reported by
Esa Turtiainen
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
S3 Tools |
Invalid
|
Undecided
|
Unassigned | ||
s3cmd (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
MIME types that commands put and sync put to files are quite random if you have python-magic installed. Especially, CSS files are not detected at all and HTML sometimes gets MIME type of C++ source file... This makes it impossible to use s3cmd to upload web servers to S3.
It seems that this problem exists only if package python-magic is installed. So, this is as likely a problem there.
Workaround is to remove package python-magic when s3cms falls back using only file name extesion in making the MIME type.
s3cmd version in Ubuntu should turn down the import of python-magic if the problem can not be fixed in python-magic.
(Ubuntu version: 13.10)
Changed in s3-tools: | |
status: | Incomplete → Invalid |
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.