Does not work right with python-magic

Bug #1202151 reported by Esa Turtiainen
10
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)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in s3cmd (Ubuntu):
status: New → Confirmed
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Hi Esa, can you please try 1.5.2 from Wily?

feel free to set the status back to new if the problem persists, thanks

BTW if the problem is python-magic, you likely need to reassign it

Changed in s3-tools:
status: New → Incomplete
Changed in s3cmd (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for s3cmd (Ubuntu) because there has been no activity for 60 days.]

Changed in s3cmd (Ubuntu):
status: Incomplete → Expired
Changed in s3-tools:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.