Bug 363632

Summary: Can't open Mozilla Thimble project.zip
Product: [Applications] ark Reporter: lehmax
Component: generalAssignee: Elvis Angelaccio <elvis.angelaccio>
Status: RESOLVED UPSTREAM    
Severity: minor CC: rakuco, rthomsen6
Priority: NOR    
Version: 15.12.3   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Zip file that ark can't open

Description lehmax 2016-05-28 16:51:18 UTC
I downloaded my projects from Mozilla Thimble but can't open the zip file using ark. I can extract them using unzip.

The terminal gives me the following error:
ark.kerfuffle: Mimetype for filename extension ( "application/zip" ) did not match mimetype for content ( "text/html" ). Using content-based mimetype.
ark.kerfuffle: Could not find a plugin to handle "/home/max/Desktop/project.zip"


Reproducible: Always
Comment 1 Elvis Angelaccio 2016-05-28 17:00:40 UTC
(In reply to lehmax from comment #0)
> ark.kerfuffle: Mimetype for filename extension ( "application/zip" ) did not
> match mimetype for content ( "text/html" ). Using content-based mimetype.

This should not happen and looks like a bug in shared-mime-info. Can you share one of those zip archives? If they contain sensitive data, you can truncate the archive with:

"head -c 2000 foo.zip > foo2.zip"

and attach here foo2.zip
Comment 2 lehmax 2016-05-29 10:17:38 UTC
Created attachment 99239 [details]
Zip file that ark can't open
Comment 3 Elvis Angelaccio 2016-05-29 10:44:38 UTC
Thanks for the test archive, I reported this issue to upstream shared-mime-info: https://bugs.freedesktop.org/show_bug.cgi?id=96266

Let's track it there.