Giter VIP home page Giter VIP logo

Comments (15)

ib avatar ib commented on August 23, 2024

Sorry, I don't understand. Please explain more detailed.

from xarchiver.

ktrace avatar ktrace commented on August 23, 2024

Here two different problems.

Second problem: when open .tar.gz (.tar.bz2) xarchiver 'freezing' with message "open archive, please wait..." with no listing files in archive. It's infinite process. But on the HDD we have: file original.tar.gz(bz2) disappear and appear original.tar. It may be opened usual way with file listing inside. I see this problem right now and confirm it.
Cmd-line output:

gzip: skipping: /home/user/very-important-database_20160630_144336_nosql_73bfbe9d.tar.gz does not exist

First problem: unselect checkbox "Confirm deletion of files" ignored. I can't confirm this issue. If I unselect checkbox "Confirm deletion of files" (Actions -> Preferences) files in archive deleted without confirmation (as expected).

from xarchiver.

ib avatar ib commented on August 23, 2024

@ktrace

xarchiver 'freezing'

Depending on the content of a tar archive, opening may take a while. How many files does it contain?

original.tar.gz(bz2) disappear

I cannot reproduce this. Actually, xarchiver doesn't touch the original, but creates an uncompressed working copy in the preferred temp directory.

Please provide:

  • complete Cmd-line output
  • your xarchiverrc
  • output of xarchiver -i (from a terminal window)

from xarchiver.

ktrace avatar ktrace commented on August 23, 2024

I cannot reproduce this.

Let's check, if it distro-depened bug I retarget it in gentoo's bugzilla.

complete Cmd-line output:

gzip: skipping: /home/user/very-important-database_20160630_144336_nosql_73bfbe9d.tar.gz does not exist
[xarchiver]
preferred_format=0
prefer_unzip=true
confirm_deletion=true
sort_filename_content=false
store_output=true
icon_size=0
show_archive_comment=false
show_sidebar=true
show_location_bar=true
show_toolbar=true
preferred_temp_dir=/tmp
allow_sub_dir=0
ensure_directory=false
overwrite=true
full_path=true
touch=false
fresh=false
update=false
store_path=false
updadd=false
freshen=false
recurse=true
solid_archive=false
remove_files=false

output of xarchiver -i (from a terminal window)

$ xarchiver -i
xarchiver 0.5.4 © 2005-2014 Giuseppe Torelli
xarchiver 0.5.4.12 Ingo Brückl
7zip:
/usr/bin/7z
arj:
/usr/bin/7z -tarj
bzip2:
/usr/bin/bzip2
compress:
/bin/uncompress
cpio:
/bin/cpio
deb:
/usr/bin/ar
gzip:
/usr/bin/gzip
lha:
/usr/bin/7z -tlzh
lzma:
/usr/bin/lzma
rar, rar5:
/opt/bin/rar
rpm:
/bin/cpio
tar:
/bin/tar
xz:
/usr/bin/xz
zip, epub, jar, oxt, xpi:
/usr/bin/unzip
/usr/bin/zip

from xarchiver.

ktrace avatar ktrace commented on August 23, 2024

test archive: pgloader-2.3.2.tar.gz
$ ls ~/Downloads/pgloader*
/home/user/Downloads/pgloader-2.3.2.tar

from xarchiver.

ib avatar ib commented on August 23, 2024

@ktrace

I still cannot reproduce.

Does it happen with a small tar.gz/tar.bz2 as well?

When xarchiver is 'freezing', please see whether there is a directory named xa-XXXXXX in /tmp (XXXXXX denoting any combination of characters and numbers) and is anything inside this directory?

from xarchiver.

ib avatar ib commented on August 23, 2024

@ktrace

What does file /usr/bin/gzip and /usr/bin/gzip -V say?

from xarchiver.

ktrace avatar ktrace commented on August 23, 2024

yes, it may be problem here

/usr/bin/gzip -V
pigz 2.3.4

from xarchiver.

ib avatar ib commented on August 23, 2024

@ktrace

I can confirm that pigz is the problem.

While gzip does a decompression to stdout (gzip -d foo.tar.gz -c > bar.tar) without touching foo.tar.gz, pigz decompresses foo.tar.gz to foo.tar and produces any empty bar.tar.

So I'd say it's a compatibility bug in pigz.

from xarchiver.

ktrace avatar ktrace commented on August 23, 2024

( gzip -c -d foo.tar.gz > bar.tar ) work with both versions, here workaround.

but i create issue madler/pigz#51

from xarchiver.

ktrace avatar ktrace commented on August 23, 2024

madler close bug madler/pigz#51 "work as documented"
so we had only one variant: change options order (-c first). i hope for your help and understanding.

from xarchiver.

ib avatar ib commented on August 23, 2024

Well, it's incompatible with gzip then.

from xarchiver.

ktrace avatar ktrace commented on August 23, 2024

maybe you may change option order? here strange situation - if both developers (you and madler) will not change anything - question were not solved.

from xarchiver.

ib avatar ib commented on August 23, 2024

@ktrace
You are using a script named gzip that is incompatible with gzip. Just make it compatible.

from xarchiver.

ib avatar ib commented on August 23, 2024

Just make it compatible.

For example, set C=-c if [[ "${@/-c/}" != "$@" ]] and call pigz $C "$@".

from xarchiver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.