Summary: | Extraction fails for .tar.gz archive | ||
---|---|---|---|
Product: | [Applications] ark | Reporter: | Chandra Sekar <chandru.in> |
Component: | general | Assignee: | Harald Hvaal <metellius> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | rakuco |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Chandra Sekar
2007-06-12 10:40:53 UTC
*** This bug has been confirmed by popular vote. *** Maybe this is the wrong place to report this, but when i try to extract the latest Firefox release, ark spits errors at me instead of extracted files. I selected the top folder ("firefox") which holds all other files and folders. $ ark /home/cees/software/firefox-3.0a7pre.en-US.linux-i686.tar.bz2 kio (KMimeType): WARNING: mimetype not valid '' (missing entry in the file ?) kio (KMimeType): WARNING: mimetype not valid '' (missing entry in the file ?) kparts: WARNING: StatusBarExtension::removeStatusBarItem. Widget not found : [KPushButton pointer (0x816a5c0) to widget CancelButton, geometry=100x30+0+0] $ kparts: WARNING: StatusBarExtension::removeStatusBarItem. Widget not found : [KPushButton pointer (0x816a5c0) to widget CancelButton, geometry=100x30+0+0] kparts: WARNING: StatusBarExtension::removeStatusBarItem. Widget not found : [KPushButton pointer (0x816a5c0) to widget CancelButton, geometry=100x30+0+0] kparts: WARNING: StatusBarExtension::removeStatusBarItem. Widget not found : [KPushButton pointer (0x816a5c0) to widget CancelButton, geometry=100x30+0+0] My bad. It did extract files, even though it stated that the extraction operation failed. (tar bitching about files not found in archive) When i extract without selecting the top folder. Everything goes fine. Comparing the file output with KDiff3, i see 0 differences. That is exactly the problem I had. I hope a fix is released soon. Why is it taking such a long time to fix this bug? Will fixing this affect any other part of KDE? I hope this bug does not percolate into KDE 4 too. There is another problem related to the technique used to in extracting the children of selected directory. If the directory structure under the selected directory is very large, this makes the list of arguments too long thus making it impossible to start the sub process. Two things can be done to solve this problem. If the top most directory inside the archive is selected and there are no siblings for it, the command used should be the same as the one for extracting all files. If the above cannot be done, then the extraction must be done in steps by extracting a subset of the selected files files and then extracting the rest in further steps. This would reduce the number of arguments passed in each execution. I've reported the above problem as a separate bug at http://bugs.kde.org/show_bug.cgi?id=150222 I see this line, Revived support for .tar, .tar.gz, and .tar.bz2 files in Ark. in this commit digest, http://commit-digest.org/issues/2007-12-30/ Does this mean this bug is fixed in KDE 4? Can someone please explain the current state? I apologize for not testing the latest build. I'm not finding enough time for it. On Sat 05 Jan 2008 12:58:18 Chandra Sekar wrote: > ------- I see this line, > > Revived support for .tar, .tar.gz, and .tar.bz2 files in Ark. > > in this commit digest, > > http://commit-digest.org/issues/2007-12-30/ > > Does this mean this bug is fixed in KDE 4? Can someone please explain > the current state? > > I apologize for not testing the latest build. I'm not finding enough > time for it. No. Support for those file formats is broken in KDE4, and that plugin should not have been enabled by default. I asked the commiter to revert it, but he ignored me. In KDE 4.0.0, extracting tar files will randomly fail, and trying to add files to those archives will probably wipe the archive from the disk completely. I don't think anyone will use 4.0 though, so it shouldn't really be a problem... Oh tats sounds scary. Hope it is fixed by 4.1 "I asked the commiter to revert it, but he ignored me. " Then do it yourself. It is better not to have the functionality accessible at all than something which could be destructive to the users' data. I am still having the problem, if the first (or only) directory is chosen to extract. Been a long time with no fix! Closing it as FIXED. Current versions of Ark use libarchive instead of relying on the command line. |