minecraft-linux / linux-packaging-scripts

26 stars 4 forks source link

Error while extracting the file: Failed to open zip 21 #7

Open NAKADZI opened 3 years ago

NAKADZI commented 3 years ago

Found a problem related to the import of the APK file, it is as follows:

I open the launcher through the ./MC.AppImage command, the launcher opens properly. Then I go to the settings in the Versions tab, click the Import .apk button, SELECT THE x86 VERSION OF THE APK, and then the message Error while extracting the file: Failed to open zip 21 is displayed. In parallel, the console reports the following:

lambdae@Aspire-E1-531G:~$ ./MC.AppImage
/tmp/.mount_MC.AppYlN7Gm/usr/bin/../lib/libgnutls.so.30: version `GNUTLS_3_6_3' not found (required by /usr/lib/x86_64-linux-gnu/gio/modules/libgiognutls.so)
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgiognutls.so
QQmlExpression: Expression qrc:/qml/LauncherSettingsGeneral.qml:26:23 depends on non-NOTIFYable properties:
    GoogleAccount::accountIdentifier
Appimage create updater
Appimage check for changes
qml: Load news
qml: Loaded 20 items
"x86"  Version list loaded, entry count: 294
qml: Got app info 1.16.40.02 942164002
Appimage Found Update? 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 1197, resource id: 9028067, major code: 40 (TranslateCoords), minor code: 0
qml: Extracting /home/lambdae/mcpelauncher-extract/mcpe.apk
QXcbConnection: XCB error: 3 (BadWindow), sequence: 1685, resource id: 9036940, major code: 40 (TranslateCoords), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 3909, resource id: 9055776, major code: 40 (TranslateCoords), minor code: 0
qml: Extracting /home/lambdae/mcpelauncher-extract/mcpe.apk
QXcbConnection: XCB error: 3 (BadWindow), sequence: 4301, resource id: 9059056, major code: 40 (TranslateCoords), minor code: 0

Please help me how to solve this problem? Is there a problem with my distribution? Below I will post data from neofetch

neofetch:

OS: Linux Mint 20 x86_64 
Host: Aspire E1-531G V2.08 
Kernel: 5.4.0-26-generic 
Packages: 2100 (dpkg) 
Shell: bash 5.0.16 
Resolution: 1366x768 
DE: Xfce 
WM: Xfwm4 
CPU: Intel Pentium B960 (2) @ 2.200G 
GPU: Intel 2nd Generation Core Proce 
GPU: NVIDIA GeForce 610M/710M/810M/8 
Memory: 1387MiB / 3753MiB 
1nt commented 3 years ago

Found a problem related to the import of the APK file, it is as follows:

I open the launcher through the ./MC.AppImage command, the launcher opens properly. Then I go to the settings in the Versions tab, click the Import .apk button, SELECT THE x86 VERSION OF THE APK, and then the message Error while extracting the file: Failed to open zip 21 is displayed.

I just import random old apk and then unzip manually in gamedata directory x86 apk.

NAKADZI commented 3 years ago

I just import random old apk and then unzip manually in gamedata directory x86 apk.

@1nt Please write the directory "gamedata". I remember that I did this through the mcpelauncher-extract to the "~/.local/share/mcpelauncher/versions/" directory, but there was no way to run the unpacked x86 APK version in the launcher.