In order to make some backup files, I did it as usual in my vanella instalation of KaOS 2015.04. It happens that using the contextual menu of Dophin to compress the file as .tar.gz it does not work. It only works with .zip files. Moreover, I tried using Ark directly with the same error.

The error displayed is:

"Could not open the archive /path/to/file.tar.gz for writing."

Does anybody has a workaround for this

Thanks

Same here. The port of ark to kf5 is very actively worked on right now, hopefully this issue will be fixed soon. Also the reason why ark sees about daily build in KaOS right now.

Yesterday many commits where in ark to try and fix issues with karchive, will do a build right now with all these changes, hopefully this is finally fixed (been hit by this the last 4 months, so I'm really looking for a fix).

Only workaround is to create a tar.gz in cli.

tar -zcvf tar-archive-name.tar.gz source-folder-name

Thanks for the workaround. Hope the fix comes soon.

9 days later

Latest Ark build fixes the creation of tar.xz & tar.gz files.

ark 15.03.76-1

Ark has yet another issue: it extracts damaged files from zip files, made by hotmail for downloading multiple attachments. Can someone confirm this?

Ark has yet another issue: it extracts damaged files from zip files, made by hotmail for downloading multiple attachments. Can someone confirm this?

Extract the zip from cli, then you know if ii is ark or the zip file.

Ark and unzip as well extract 'non working' files from this zip files.

<Unzip -t -v> results in ' No errors detected in compressed data'. Okular complains that the extracted pdf file doesn't exist and so does calligra with the doc files.

After some testing, it seems to be a matter of creating 'non-existing characters' in the name of the files. After renaming them (in cli), they are opening faultness as expected .

By instance: an uncompressed attachment file in hotmail has the name 'Trinité.doc'. After download in zipped mode, and after decompressing, the name has changed to 'Trinite??.doc'. In gui mode, it is not possible to change this name ('file doesn't exist'). After renaming via the cp command in cli (with automatic name completion for the strange characters), the file opens in the expected way.

Edit: I've tried the same sequence with the same post and same attachments under ubuntu 14.04 LTS (another computer). Also here the zip extracts in files with changed names (addition of 'strange' signs), but here these files are opening without renaming.

Hello,

I change my .bashrc for use 7zip, I like more,

my .bashrc

# ex - archive extractor

# usage: ex <file>

ex ()

{

if [ -f $1 ] ; then

case $1 in

*.tar.bz2) tar xjf $1 ;;

*.tar.gz) 7z x $1 ;;

#*.tar.gz) tar xzf $1 ;;

*.bz2) bunzip2 $1 ;;

*.rar) 7z x $1 ;;

#*.rar) unrar x $1 ;;

*.gz) 7z x $1 ;;

#*.gz) gunzip $1 ;;

*.tar) 7z x $1 ;;

#*.tar) tar xf $1 ;;

*.tbz2) tar xjf $1 ;;

*.tgz) tar xzf $1 ;;

*.zip) 7z x $1 ;;

#*.zip) unzip $1 ;;

*.Z) uncompress $1;;

*.7z) 7z x $1 ;;

*) echo "'$1' cannot be extracted via ex()" ;;

esac

else

echo "'$1' is not a valid file"

fi

}

When using 7zip, the decompressed files are not renamed en are opened by calligra and okular in de expected way without any problem. Thanks Andreson for the tip.

$ 7z x Outlook.com.zip

7-Zip [64] 9.38 beta Copyright (c) 1999-2014 Igor Pavlov 2015-01-03

p7zip Version 9.38.1 (locale=nl_BE.UTF-8,Utf16=on,HugeFiles=on,2 CPUs,ASM)

Processing archive: Outlook.com.zip

Extracting 150531 Trinité.doc

Extracting 2015 Trinité.pdf

Extracting Trinité.doc

Everything is Ok

Files: 3

Size: 2488235

Compressed: 2488587