Ticket #2000 (closed defect: fixed)

Opened 14 years ago

Last modified 14 years ago

"x Extract the contents of a compressed tar file" fails

Reported by: Graham Owned by:
Priority: minor Milestone: 4.7
Component: mc-core Version: 4.7.0.2
Keywords: Cc:
Blocked By: Blocking:
Branch state: Votes for changeset:

Description

In mc 4.7.0.2, select a tar.gz or tar.bz2 archive, then hit F2, then x (Extract the contents of a compressed tar file), nothing will appear to happen. Now do ctrl-o and look at the shell, you'll find something like below:

$ /bin/sh /tmp/mc-xxxx/mcusrw6aEHd
/tmp/mc-xxxx/mcusrw6aEHd: line 26: gzip -dc blah.tar.gz: command not found
tar: This does not look like a tar archive
tar: Error exit delayed from previous errors

or for tar.bz2:

$ /bin/sh /tmp/mc-xxxx/mcusrYR4l7b
/tmp/mc-xxxx/mcusrYR4l7b: line 26: bunzip2 -c blah.tar.bz2: command not found
tar: This does not look like a tar archive
tar: Error exit delayed from previous errors

The z option (Extract compressed tar file to subdirectory) in F2 works as expected. You can also enter the archive and copy the contents elsewhere fine.

Also, maybe this is related in some way to the fix in ticket #1967, where I mentioned a similar issue with the x option in F2, but which dealt with an archive with a space within its name. The error was a little different, but thought I'd mention it.

I'm running Debian Lenny on an Intel P4 machine and compiled mc 4.7.0.2 with the following options: ./configure --with-glib2 --without-ext2undel --enable-charset --without-samba --with-screen=slang

Oh, just in case, I do have bunzip2 and gzip installed.

Change History

comment:1 in reply to: ↑ description Changed 14 years ago by andrew_b

  • Blocked By 1967 added

Replying to Graham:

Also, maybe this is related in some way to the fix in ticket #1967, where I mentioned a similar issue with the x option in F2, but which dealt with an archive with a space within its name. The error was a little different, but thought I'd mention it.

Yes. There are some overquoting in user menu were maken. Mea culpa. :-(

comment:3 Changed 14 years ago by andrew_b

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in #1967.

Note: See TracTickets for help on using tickets.