Ticket #4569 (closed defect: invalid)

Opened 3 months ago

Last modified 3 months ago

Unable to open/view JAR archives

Reported by: alexm Owned by:
Priority: minor Milestone:
Component: mc-core Version: 4.8.31
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

This is an almost a copy of #4208, some three years later.

System: Manjaro/x64
MC: 4.8.31-3.

On pressing <Enter> on a JAR nothing happens.
On pressing <F3> on s JAR an error message pops up: Cannot open "/path/to/file.jar" in parse mode Operation not supported (95)
Renaming JAR to ZIP solves the problem

LC_MESSAGES=C mc -V

Built with GLib 2.78.4
Built with S-Lang 2.3.3 with terminfo database
Built with libssh2 1.11.0
With builtin Editor and Aspell support
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
With multiple codepages support
With ext2fs attributes support
Virtual File Systems:
 cpiofs, tarfs, sfs, extfs, ftpfs, sftpfs, shell
Data types:
 char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;

LC_MESSAGES=C mc -F

Home directory: /home/alex
Profile root directory: /home/alex

[System data]
    Config directory: /etc/mc/
    Data directory:   /usr/share/mc/
    File extension handlers: /usr/lib/mc/ext.d/
    VFS plugins and scripts: /usr/lib/mc/
        extfs.d:        /usr/lib/mc/extfs.d/
        shell:          /usr/lib/mc/shell/

[User data]
    Config directory: /home/alex/.config/mc/
    Data directory:   /home/alex/.local/share/mc/
        skins:          /home/alex/.local/share/mc/skins/
        extfs.d:        /home/alex/.local/share/mc/extfs.d/
        shell:          /home/alex/.local/share/mc/shell/
        mcedit macros:  /home/alex/.local/share/mc/mc.macros
        mcedit external macros: /home/alex/.local/share/mc/mcedit/macros.d/macro.*
    Cache directory:  /home/alex/.cache/mc/

mc --configure-options

'--prefix=/usr' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--enable-aspell' '--with-screen=slang' '--with-x' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/mc/src=/usr/src/debug/mc -flto=auto' 'LDFLAGS=-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs -flto=auto'

file httpcore-4.4.10.jar

httpcore-4.4.10.jar: Java archive data (JAR)

section [jar] of /etc/mc/mc.ext.ini

Type=\(Java\ (Jar\ file|archive)\ data\ \((zip|JAR)\)
TypeIgnoreCase=true
Open=%cd %p/uzip://
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view zip

Change History

comment:1 Changed 3 months ago by andrew_b

  • Status changed from new to closed
  • Resolution set to invalid
  • Component changed from mcview to mc-core
  • Milestone Future Releases deleted

Fixed in #4502.

comment:2 Changed 3 months ago by zaytsev

Note: See TracTickets for help on using tickets.