Version: (using KDE KDE 3.5.2) Installed from: Gentoo Packages For once, the message doesn't tell, which application it needs and also ar is in path and manually invoking it works fine. The reason I can think of Ark has a problem is, that on a Gentoo box the toolchain stuff is symlinked, so it's exchangable on the fly. ls -l /usr/bin/ar lrwxrwxrwx 1 root root 20 23. Nov 14:45 /usr/bin/ar -> i686-pc-linux-gnu-a
Hi, thanks for your bug report. I don't have a .deb file available, is it possible to attach one? You are right about the message but unfortunately this can't be changed before kde4
Created attachment 15833 [details] File with which the issue reproduces
Note that you'll want to check Debian #362871 for a more accurate description. Also, I don't understand the comment from Haris about not being able to mention which application is missing, as the error with, for example, a zip file does mention which utility is missing. Is there something specific to .deb?
Hi, i was just saying that the message needs changing but since we are on a string freeze, we only can change messages in kde4. Thanks for the attachment
SVN commit 535252 by charis: Check for unarchiver program too. verifyCompressUtilityIsAvailable needs a second \ argument to indicate if compression utility can do uncompressing as well Also fixed \ some indentations while i was there :) BUG: 126051 M +3 -2 ar.cpp M +2 -2 arch.cpp M +2 -2 arch.h M +2 -2 compressedfile.cpp M +1 -1 lha.cpp M +2 -2 tar.cpp M +2 -2 zip.cpp M +1 -1 zoo.cpp --- branches/KDE/3.5/kdeutils/ark/ar.cpp #535251:535252 @@ -48,8 +48,9 @@ ArArch::ArArch( ArkWidget *_gui, const QString & _fileName ) : Arch(_gui, _fileName ) { - m_archiver_program = "ar"; - verifyCompressUtilityIsAvailable(m_archiver_program); + m_archiver_program = m_unarchiver_program = "ar"; + verifyCompressUtilityIsAvailable( m_archiver_program ); + verifyUncompressUtilityIsAvailable( m_unarchiver_program ); // Do not set headerString - there is none for Ar m_numCols = 5; --- branches/KDE/3.5/kdeutils/ark/arch.cpp #535251:535252 @@ -83,7 +83,7 @@ } //Check if a compress utility exists -void Arch::verifyCompressUtilityIsAvailable(const QString &utility) +void Arch::verifyCompressUtilityIsAvailable( const QString &utility ) { // see if the utility is in the PATH of the user. QString cmd = KGlobal::dirs()->findExe( utility ); @@ -91,7 +91,7 @@ } //Check if a utility can uncompress files -void Arch::verifyUncompressUtilityIsAvailable(const QString &utility) +void Arch::verifyUncompressUtilityIsAvailable( const QString &utility ) { // see if the utility is in the PATH of the user. QString cmd = KGlobal::dirs()->findExe( utility ); --- branches/KDE/3.5/kdeutils/ark/arch.h #535251:535252 @@ -130,9 +130,9 @@ void verifyUtilityIsAvailable( const QString &, const QString & = QString::null ); - void verifyCompressUtilityIsAvailable(const QString &utility); + void verifyCompressUtilityIsAvailable( const QString &utility ); - void verifyUncompressUtilityIsAvailable(const QString &utility); + void verifyUncompressUtilityIsAvailable( const QString &utility ); bool archUtilityIsAvailable() { return m_bArchUtilityIsAvailable; } --- branches/KDE/3.5/kdeutils/ark/compressedfile.cpp #535251:535252 @@ -64,8 +64,8 @@ m_tempDirectory->setAutoDelete( true ); m_tmpdir = m_tempDirectory->name(); initData(); - verifyCompressUtilityIsAvailable(m_archiver_program); - verifyUncompressUtilityIsAvailable(m_unarchiver_program); + verifyCompressUtilityIsAvailable( m_archiver_program ); + verifyUncompressUtilityIsAvailable( m_unarchiver_program ); if (!QFile::exists(_fileName)) { --- branches/KDE/3.5/kdeutils/ark/lha.cpp #535251:535252 @@ -56,7 +56,7 @@ : Arch( _gui, _fileName ) { m_archiver_program = "lha"; - verifyCompressUtilityIsAvailable( m_archiver_program); + verifyCompressUtilityIsAvailable( m_archiver_program ); m_headerString = "----"; } --- branches/KDE/3.5/kdeutils/ark/tar.cpp #535251:535252 @@ -82,8 +82,8 @@ { m_filesToAdd = m_filesToRemove = QStringList(); m_archiver_program = m_unarchiver_program = ArkSettings::tarExe(); - verifyCompressUtilityIsAvailable(m_archiver_program); - verifyUncompressUtilityIsAvailable(m_unarchiver_program); + verifyCompressUtilityIsAvailable( m_archiver_program ); + verifyUncompressUtilityIsAvailable( m_unarchiver_program ); m_fileMimeType = _openAsMimeType; if ( m_fileMimeType.isNull() ) --- branches/KDE/3.5/kdeutils/ark/zip.cpp #535251:535252 @@ -46,8 +46,8 @@ { m_archiver_program = "zip"; m_unarchiver_program = "unzip"; - verifyCompressUtilityIsAvailable( m_archiver_program); - verifyUncompressUtilityIsAvailable( m_unarchiver_program); + verifyCompressUtilityIsAvailable( m_archiver_program ); + verifyUncompressUtilityIsAvailable( m_unarchiver_program ); m_headerString = "----"; m_repairYear = 9; m_fixMonth = 7; m_fixDay = 8; m_fixTime = 10; --- branches/KDE/3.5/kdeutils/ark/zoo.cpp #535251:535252 @@ -55,7 +55,7 @@ : Arch( gui, fileName ) { m_archiver_program = "zoo"; - verifyCompressUtilityIsAvailable( m_archiver_program); + verifyCompressUtilityIsAvailable( m_archiver_program ); m_headerString = "----"; }
*** Bug 127585 has been marked as a duplicate of this bug. ***