Bug 122048

Summary: Ark (v2.1.9) gives "I can't fork a decompressor" error when opening archives (.tar.gz)
Product: [Fedora] Fedora Reporter: Need Real Name <x12>
Component: kdeutilsAssignee: Than Ngo <than>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-05-03 21:06:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
This patch puts back ark to the condition in kdeutils-3.2.1. none

Description Need Real Name 2004-04-29 22:14:17 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b)
Gecko/20040310 Firefox/0.8.0+

Description of problem:
Ark (v2.1.9-same as in Fedora Core1) gives the error "I can't fork a
decompressor" when trying to open  any archive with the .tar.gz
extension.  

Version-Release number of selected component (if applicable):
kdeutils-3.2.2-3 (Ark v2.1.9)

How reproducible:
Always

Steps to Reproduce:
1. Right-click file "anyfilename.tar.gz"
2. Choose "Actions" ---> "extract here" or "extract to ..."
 Or
1.  Open Ark
2. Select any file with .tar.gz extension to open

    

Actual Results:  Error windows pops up with the message " I can't fork
a decompressor" warning.

Expected Results:  Archive files should be extracted.  

Additional info:

This same version of Ark(v2.1.9) works fine under kdeutils-3.1.4-4 in
Fedora Core1 but the current test 3 release will not extract the files
from the archive.  I could not find a related bug on the KDE site.

Comment 1 kanagawa jigorou 2004-05-03 16:02:53 UTC
I caught same problem, too.
At bugs.kde.org, same problem was reported.
http://bugs.kde.org/show_bug.cgi?id=79397

According to following page, KDE team did wrong backporting.
http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdeutils/ark/archiveformatinfo.cpp?r1=1.7

It looks like we had better use 'KMimeType::findByPath()' instead of
'KMimeType::findByFileContent' at present release.

Ad hoc patch follows...

Comment 2 kanagawa jigorou 2004-05-03 16:09:33 UTC
Created attachment 99915 [details]
This patch puts back ark to the condition in kdeutils-3.2.1.

Patching this, I could solve the problem.
Sorry for my poor explanation... I'm sleepy...

Comment 3 Than Ngo 2004-05-03 21:06:28 UTC
strange, we don't have kdeutils-3.2.2-3 in FC2test3? Where did you get
this?

Anyway it's already fixed in 3.2.2-2,which should be avialable in
rawhide now. Thanks for your report.