Bug 79397 - Uncomprehensible message when no decompressor found
Summary: Uncomprehensible message when no decompressor found
Status: RESOLVED FIXED
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mandrake RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Helio Castro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-10 17:44 UTC by Frederik Himpe
Modified: 2004-05-20 18:54 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederik Himpe 2004-04-10 17:44:19 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    Mandrake RPMs
OS:          Linux

When you open an archive with ark for which you don't have the decompression utility installed, ark gives the error:
"I can't fork a decompressor"

This message is not understandable at all by normal users and it does not give a clue how to solve the problem.

It should read like this:
"There was no suitable program found to deal with this archive. Make sure you have the [zip|bzip2|compress|...] utility installed."
Comment 1 Glyn Adgie 2004-04-23 13:45:30 UTC
This happens when ark is run from a konsole, or when trying to extract a tar.gz from a file manager window, using action->extract here. This is on kde version 3.2.2.
Comment 2 Georg Robbers 2004-04-23 17:12:24 UTC
To Frederik:
For which types of archives does this happen for you?
And you are sure that you don't have the respective utilities installed?
(what do e.g. "which tar" and "which gunzip" say?)
What version of KDE are you running?

To Glyn:
but you do have tar and gunzip installed, don't you?
And you can open tar.gz files via File->Open (or if you can't, you get at least a different error message)?
If so, I suspect you have the 3.2 branch from slightly after tagging KDE_3_2_2_RELEASE, and your problem should already be fixed.
(If you compile from sources, you could try the patch at http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdeutils/ark/archiveformatinfo.cpp.diff?r1=1.7.4.1&r2=1.7.4.2 to see  whether this fixes the problem)
If you don't compile from source, which distribution are you using?
Comment 3 Frederik Himpe 2004-04-23 23:32:47 UTC
This happened when opening an archive of type tar.Z. I don't have ncompress installed, I do have tar, gzip, bzip2, zip and probably some others installed.
Comment 4 Frederik Himpe 2004-04-23 23:34:38 UTC
Forgot to add: KDE version 3.2 as included in Mandrakelinux 10.0 (which is in fact is a cvs release from the branch somewhere between 3.2.0 and 3.2.1)
Comment 5 Eduardo Robles Elvira 2004-05-20 18:51:09 UTC
The problem Glyn has detected is also happening here. 

AFAIK it's a *Regression*, as it didn't happen in previous versions of KDE 3.2.
My system: Fedora Core 1, with Official KDE 3.2.2 RPMs.

Steps:

1. Open konqueror and enter into a directory with a tar.bz2, tar.gz or tgz file.
2. Right-click the file, and in the contextual menu select either "Ark" or "Preview with Ark"
3. Two error window appear, the one after the other: "I can't fork a decompressor" and "An error occurred while trying to open the archive".

Observations:

 - When executed Konqueror from shell, I can see the above message in the console appearing just when the error happens:

"QMetaObject::findSignal:FileListView: Conflict with QListView::doubleClicked(QListViewItem*,const QPoint&,int)"

 - I have gunzip and tar installed:
$ which tar
/bin/tar
$ which gunzip
/usr/bin/gunzip

 - Moreover, I can open the file with tar:/! Glyn, try to enter to tar:/path/to/the/file.tgz andd see what happens.

I feel that it would be better to create a separate bug report for this problem, Shouldn't we ? 

Related bugs:

I've found these other highly related bugs: 
- #79775 (Ark won't extract: "*tar.gz" files using service menu: Extract Here. )
- #79550 (The utility is not in your PATH. ...)
- #64822 (QMetaObject::findSignal:KListView: Conflict with QListView::doubleClicked(QListViewItem*,const QPoint&,int) )
Comment 6 Helio Chissini de Castro 2004-05-20 18:54:33 UTC
Must be fixed and will be available on 3.2.3