Skip to content

Unable to open/view JAR archives #4569

@mc-butler

Description

@mc-butler

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/4569
Reporter alexm (@amorozov)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: coreIssues not related to a specific subsystemprio: lowMinor problem or easily worked aroundres: invalidThe ticket is not a bug, or is a support requestver: 4.8.31Reproducible in version 4.8.31

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions