<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>79713</bug_id>
          
          <creation_ts>2004-04-15 21:55:11 +0000</creation_ts>
          <short_desc>ark cannot open compressed tar archives anymore</short_desc>
          <delta_ts>2004-06-11 09:41:23 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>ark</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>FreeBSD Ports</rep_platform>
          <op_sys>FreeBSD</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Michael Nottebrock">lofi</reporter>
          <assigned_to name="Helio Castro">helio</assigned_to>
          <cc>neuromancerx1</cc>
    
    <cc>tyrerj</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>224109</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Nottebrock">lofi</who>
    <bug_when>2004-04-15 21:55:11 +0000</bug_when>
    <thetext>Version:            (using KDE KDE 3.2.2)
Installed from:    FreeBSD Ports
OS:          FreeBSD

Trying to open a compressed tar archive (.tgz, .tbz, tar.gz, .tar.bz2) yields

&quot;I can&apos;t fork a compressor&quot; and &quot;An error occured while trying to open the archive&quot;. This is a regression from KDE 3.2.1, caused by the fix for bug 78504.

Reverting to revision 1.24 of tar.cpp fixes the problem.

Debug output:

[lofi@kiste]:0:~ &gt; ark adobesvg-3.0-linux-i386.tar.gz
Starting ark. argc=2  First arg: adobesvg-3.0-linux-i386.tar.gz
+ArkApplication::getInstance()
ark (kdeutils): +ArkApplication::ArkApplication
ark (kdeutils): -ArkApplication::ArkApplication
ark (kdeutils): -ArkApplication::getInstance()
ark (kdeutils): Starting ark...
ark (kdeutils): +ArkApplication::getInstance()
ark (kdeutils): -ArkApplication::getInstance()
ark (kdeutils): +ArkApplication::newInstance
ark: ArkPart::ArkPart
ark (kdeutils): +ArkSettings::readConfiguration()
ark: KTempDir: Temporary directory created :/tmp/kde-lofi/arkWQUgGx
ark: KTempDir: Temporary directory created :/tmp/kde-lofi/arkWQUgGx/
ark (kdeutils): name of tmpDir: /tmp/kde-lofi/arkWQUgGx/
ark (kdeutils): +ArkWidget::ArkWidget
ark: ArkWidget::createFileListView
QMetaObject::findSignal:FileListView: Conflict with QListView::doubleClicked(QListViewItem*,const QPoint&amp;,int)
ark (kdeutils): -ArkWidget::ArkWidget
ark (kdeutils): +ArkApplication::getInstance()
ark (kdeutils): -ArkApplication::getInstance()
kparts: MainWindow::createGUI, part=0x8185100 ArkPart ArkPart
ark (kdeutils): +ArkApplication::getInstance()
ark (kdeutils): -ArkApplication::getInstance()
ark (kdeutils): ArkApplication::isArkOpenAlready: file:/usr/home/lofi/adobesvg-3.0-linux-i386.tar.gz
ark (kdeutils): +ArkWidget::file_close
ark (kdeutils): -ArkWidget::file_close
ark (kdeutils): +ArkWidget::file_open(const KURL&amp; url)
ark (kdeutils): File to open: /usr/home/lofi/adobesvg-3.0-linux-i386.tar.gz
kio (KSycoca): Trying to open ksycoca from /var/tmp/kdecache-lofi/ksycoca
ark (kdeutils): find by url: application/x-tgz
ark (kdeutils): m_openAsMimeType is:
ark (kdeutils): +TarArch::TarArch
ark (kdeutils): TarArch::TarArch:  mimetype is application/x-gzip
ark: KTempDir: Temporary directory created :/tmp/kde-lofi/arkWQUgGx/temp_tarWFVOj4
ark: KTempDir: Temporary directory created :/tmp/kde-lofi/arkWQUgGx/temp_tarWFVOj4/
ark (kdeutils): Tmpfile will be /tmp/kde-lofi/arkWQUgGx/temp_tarWFVOj4/4GEVx0.tar
ark (kdeutils):
ark (kdeutils): -TarArch::TarArch
ark (kdeutils): +ArkWidget::disableAll
ark (kdeutils): -ArkWidget::disableAll
ark (kdeutils): ArkWidget::busy()+
ark (kdeutils): ArkWidget::busy()-
ark (kdeutils): +TarArch::open
ark (kdeutils): +TarArch::setHeaders
ark (kdeutils): -TarArch::setHeaders
ark (kdeutils): +TarArch::createTmp
ark (kdeutils): Uncompressor is
ark (kdeutils): ArkWidget::ready()+
ark (kdeutils): ArkWidget::ready()-
ark (kdeutils): +ArkWidget::slotOpen
ark (kdeutils): -ArkWidget::slotOpen
ark (kdeutils): -TarArch::createTmp
ark (kdeutils): -ArkWidget::file_open(const KURL&amp; url)
ark (kdeutils): -ArkApplication::newInstance
[lofi@kiste]:0:~ &gt; ark (kdeutils): +ArkWidget::file[lofi@kiste]:0:~ &gt; ark adobesvg-3.0-linux-i386.tar.gz
Starting ark. argc=2  First arg: adobesvg-3.0-linux-i386.tar.gz
+ArkApplication::getInstance()
ark (kdeutils): +ArkApplication::ArkApplication
ark (kdeutils): -ArkApplication::ArkApplication
ark (kdeutils): -ArkApplication::getInstance()
ark (kdeutils): Starting ark...
ark (kdeutils): +ArkApplication::getInstance()
ark (kdeutils): -ArkApplication::getInstance()
ark (kdeutils): +ArkApplication::newInstance
ark: ArkPart::ArkPart
ark (kdeutils): +ArkSettings::readConfiguration()
ark: KTempDir: Temporary directory created :/tmp/kde-lofi/arkWQUgGx
ark: KTempDir: Temporary directory created :/tmp/kde-lofi/arkWQUgGx/
ark (kdeutils): name of tmpDir: /tmp/kde-lofi/arkWQUgGx/
ark (kdeutils): +ArkWidget::ArkWidget
ark: ArkWidget::createFileListView
QMetaObject::findSignal:FileListView: Conflict with QListView::doubleClicked(QListViewItem*,const QPoint&amp;,int)
ark (kdeutils): -ArkWidget::ArkWidget
ark (kdeutils): +ArkApplication::getInstance()
ark (kdeutils): -ArkApplication::getInstance()
kparts: MainWindow::createGUI, part=0x8185100 ArkPart ArkPart
ark (kdeutils): +ArkApplication::getInstance()
ark (kdeutils): -ArkApplication::getInstance()
ark (kdeutils): ArkApplication::isArkOpenAlready: file:/usr/home/lofi/adobesvg-3.0-linux-i386.tar.gz
ark (kdeutils): +ArkWidget::file_close
ark (kdeutils): -ArkWidget::file_close
ark (kdeutils): +ArkWidget::file_open(const KURL&amp; url)
ark (kdeutils): File to open: /usr/home/lofi/adobesvg-3.0-linux-i386.tar.gz
kio (KSycoca): Trying to open ksycoca from /var/tmp/kdecache-lofi/ksycoca
ark (kdeutils): find by url: application/x-tgz
ark (kdeutils): m_openAsMimeType is:
ark (kdeutils): +TarArch::TarArch
ark (kdeutils): TarArch::TarArch:  mimetype is application/x-gzip
ark: KTempDir: Temporary directory created :/tmp/kde-lofi/arkWQUgGx/temp_tarWFVOj4
ark: KTempDir: Temporary directory created :/tmp/kde-lofi/arkWQUgGx/temp_tarWFVOj4/
ark (kdeutils): Tmpfile will be /tmp/kde-lofi/arkWQUgGx/temp_tarWFVOj4/4GEVx0.tar
ark (kdeutils):
ark (kdeutils): -TarArch::TarArch
ark (kdeutils): +ArkWidget::disableAll
ark (kdeutils): -ArkWidget::disableAll
ark (kdeutils): ArkWidget::busy()+
ark (kdeutils): ArkWidget::busy()-
ark (kdeutils): +TarArch::open
ark (kdeutils): +TarArch::setHeaders
ark (kdeutils): -TarArch::setHeaders
ark (kdeutils): +TarArch::createTmp
ark (kdeutils): Uncompressor is
ark (kdeutils): ArkWidget::ready()+
ark (kdeutils): ArkWidget::ready()-
ark (kdeutils): +ArkWidget::slotOpen
ark (kdeutils): -ArkWidget::slotOpen
ark (kdeutils): -TarArch::createTmp
ark (kdeutils): -ArkWidget::file_open(const KURL&amp; url)
ark (kdeutils): -ArkApplication::newInstance
[lofi@kiste]:0:~ &gt; ark (kdeutils): +ArkWidget::file_close
ark (kdeutils): -ArkWidget::file_close
ark (kdeutils): +ArkApplication::getInstance()
ark (kdeutils): -ArkApplication::getInstance()
kparts: Part::~Part 0x8185100
kparts: deleting widget [ArkWidget pointer (0x8162c00) to widget ArkWidget, geometry=795x537+0+49] ArkWidget
ark (kdeutils): ArkWidget::ready()+
ark (kdeutils): -ArkWidget::~ArkWidget
ark (kdeutils): ArkWidget::~ArkWidgetBase_close
ark (kdeutils): -ArkWidget::file_close
ark (kdeutils): +ArkApplication::getInstance()
ark (kdeutils): -ArkApplication::getInstance()
kparts: Part::~Part 0x8185100
kparts: deleting widget [ArkWidget pointer (0x8162c00) to widget ArkWidget, geometry=795x537+0+49] ArkWidget
ark (kdeutils): ArkWidget::ready()+
ark (kdeutils): -ArkWidget::~ArkWidget
ark (kdeutils): ArkWidget::~ArkWidgetBase</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>224115</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Nottebrock">lofi</who>
    <bug_when>2004-04-15 22:15:22 +0000</bug_when>
    <thetext>This is a diff of debug output of 3.2.2&apos;s with rev 1.25 of 1.24 tar.cpp respectively. The interesting part is probably that TarArch gets a different mimetype: x-gzip instead of x-tgz.

[lofi@kiste]:~ &gt; diff -u ark-working.txt ark-broken.txt
--- ark-working.txt     Thu Apr 15 22:07:35 2004
+++ ark-broken.txt      Thu Apr 15 22:11:29 2004
@@ -9,9 +9,9 @@
 ark (kdeutils): +ArkApplication::newInstance
 ark: ArkPart::ArkPart
 ark (kdeutils): +ArkSettings::readConfiguration()
-ark: KTempDir: Temporary directory created :/tmp/kde-lofi/ark0nqXVt
-ark: KTempDir: Temporary directory created :/tmp/kde-lofi/ark0nqXVt/
-ark (kdeutils): name of tmpDir: /tmp/kde-lofi/ark0nqXVt/
+ark: KTempDir: Temporary directory created :/tmp/kde-lofi/arkY5K6YE
+ark: KTempDir: Temporary directory created :/tmp/kde-lofi/arkY5K6YE/
+ark (kdeutils): name of tmpDir: /tmp/kde-lofi/arkY5K6YE/
 ark (kdeutils): +ArkWidget::ArkWidget
 ark: ArkWidget::createFileListView
 QMetaObject::findSignal:FileListView: Conflict with QListView::doubleClicked(QListViewItem*,const QPoint&amp;,int)
@@ -30,10 +30,10 @@
 ark (kdeutils): find by url: application/x-tgz
 ark (kdeutils): m_openAsMimeType is:
 ark (kdeutils): +TarArch::TarArch
-ark (kdeutils): TarArch::TarArch:  mimetype is application/x-tgz
-ark: KTempDir: Temporary directory created :/tmp/kde-lofi/ark0nqXVt/temp_tarNbbQd0
-ark: KTempDir: Temporary directory created :/tmp/kde-lofi/ark0nqXVt/temp_tarNbbQd0/
-ark (kdeutils): Tmpfile will be /tmp/kde-lofi/ark0nqXVt/temp_tarNbbQd0/veYM5m.tar
+ark (kdeutils): TarArch::TarArch:  mimetype is application/x-gzip
+ark: KTempDir: Temporary directory created :/tmp/kde-lofi/arkY5K6YE/temp_tar11UNTo
+ark: KTempDir: Temporary directory created :/tmp/kde-lofi/arkY5K6YE/temp_tar11UNTo/
+ark (kdeutils): Tmpfile will be /tmp/kde-lofi/arkY5K6YE/temp_tar11UNTo/Plat5k.tar
 ark (kdeutils):
 ark (kdeutils): -TarArch::TarArch
 ark (kdeutils): +ArkWidget::disableAll
@@ -43,29 +43,16 @@
 ark (kdeutils): +TarArch::open
 ark (kdeutils): +TarArch::setHeaders
 ark (kdeutils): -TarArch::setHeaders
-kio (KTrader): KServiceTypeProfile::offers( KDECompressionFilter, )
-kio (KTrader): Returning 2 offers
-kio (Filter): KFilterBase::findFilterByMimeType(application/x-gzip) got 1 offers
+ark (kdeutils): +TarArch::createTmp
+ark (kdeutils): Uncompressor is
 ark (kdeutils): ArkWidget::ready()+
 ark (kdeutils): ArkWidget::ready()-
 ark (kdeutils): +ArkWidget::slotOpen
-ark (kdeutils): +ArkApplication::getInstance()
-ark (kdeutils): -ArkApplication::getInstance()
-ark (kdeutils): +ArkApplication::addOpenArk
-ark (kdeutils):  Real name of file:/usr/home/lofi/adobesvg-3.0-linux-i386.tar.gz is /usr/home/lofi/adobesvg-3.0-linux-i386.tar.gz
-ark (kdeutils): Saved ptr [ArkTopLevelWindow pointer (0x816e500) to widget ark-mainwindow#1, geometry=795x606+252+210] added open ark: /usr/home/lofi/adobesvg-3.0-linux-i386.tar.gz
-ark (kdeutils): -ArkApplication::addOpenArk
 ark (kdeutils): -ArkWidget::slotOpen
-ark (kdeutils): -TarArch::open
+ark (kdeutils): -TarArch::createTmp
 ark (kdeutils): -ArkWidget::file_open(const KURL&amp; url)
 ark (kdeutils): -ArkApplication::newInstance
 ark (kdeutils): +ArkWidget::file_close
-ark (kdeutils): +ArkApplication::getInstance()
-ark (kdeutils): -ArkApplication::getInstance()
-ark (kdeutils): +ArkApplication::removeOpenArk
-ark (kdeutils): Removing name file:/usr/home/lofi/adobesvg-3.0-linux-i386.tar.gz
-ark (kdeutils): -ArkApplication::removeOpenArk
-ark (kdeutils): update Status Selection
 ark (kdeutils): -ArkWidget::file_close
 ark (kdeutils): +ArkApplication::getInstance()
 ark (kdeutils): -ArkApplication::getInstance()
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>224121</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Nottebrock">lofi</who>
    <bug_when>2004-04-15 22:54:14 +0000</bug_when>
    <thetext>Oh, another thing, just in case anyone sees this bug and wonders if FreeBSD released KDE 3.2.2 early - no it didn&apos;t, I&apos;m a packager. :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>224367</commentid>
    <comment_count>3</comment_count>
    <who name="Georg Robbers">georg.robbers</who>
    <bug_when>2004-04-16 22:35:08 +0000</bug_when>
    <thetext>*** Bug 79775 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>224368</commentid>
    <comment_count>4</comment_count>
    <who name="Georg Robbers">georg.robbers</who>
    <bug_when>2004-04-16 22:38:15 +0000</bug_when>
    <thetext>fixed in cvs.
Thanks for the report Michael - I&apos;ll nominate that one for the &quot;most useful bugreport since ages award&quot; :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>229353</commentid>
    <comment_count>5</comment_count>
    <who name="Georg Robbers">georg.robbers</who>
    <bug_when>2004-05-06 18:22:15 +0000</bug_when>
    <thetext>*** Bug 81034 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>240372</commentid>
    <comment_count>6</comment_count>
    <who name="">i.linty</who>
    <bug_when>2004-06-10 15:30:21 +0000</bug_when>
    <thetext>environment: SUSE 8.2 PRO, KDE 3.2.3 downloaded from www.kde.org 
Ark release 2.1.9

This is bug is not still resolved !
I&apos;can&apos;t open tar.gz and tar.bz2 archives !
I have to wait kde 3.2.4 ???
Can you help me ?
Kind Regards
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>240390</commentid>
    <comment_count>7</comment_count>
    <who name="Michael Nottebrock">lofi</who>
    <bug_when>2004-06-10 16:24:33 +0000</bug_when>
    <thetext>Works for me. You might want to double check whether you actually updated kdeutils.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>240583</commentid>
    <comment_count>8</comment_count>
    <who name="">i.linty</who>
    <bug_when>2004-06-11 09:41:23 +0000</bug_when>
    <thetext>Ok, It was kdeutils3-3.2.2 ! Now (3.2.3) It works !
I bag your pardon for this stupid report ! 
Thank&apos;s !
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>