panaceya / winbox

Snap package with winbox from MikroTik (https://mikrotik.com)
https://snapcraft.io/winbox
94 stars 28 forks source link

Wine error since second start #32

Closed Routhgen closed 1 year ago

Routhgen commented 1 year ago

Since second start after successfull first (very slow init wine conf) its unable to start - please see detail below.

To Reproduce Steps to reproduce the behavior:

  1. snap install winbox
  2. w8 zillion of seconds to bring few MB simple APP to be installed - under wine, not snap
  3. PS: import of wbx/wba files do nothing - another issue
  4. the actual disconnect close the app - why?
  5. app is closed, its not running but cant be opened anymore with such a stupid nonsense error:
    notify-send: relocation error: /snap/winbox/97/wine-runtime/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0: symbol inflateGetHeader version ZLIB_1.2.2 not defined in file libz.so.1 with link time reference
    wine: failed to initialize: /opt/wine-stable/lib64/wine/ntdll.dll.so: cannot open shared object file: No such file or directory
    0009:err:environ:run_wineboot failed to start wineboot c00000e5
    wine: failed to initialize: /opt/wine-stable/lib64/wine/ntdll.dll.so: cannot open shared object file: No such file or directory
    Application could not be started, or no application associated with the specified file.
    ShellExecuteEx failed: Internal error.

Expected behavior Import of regular previous export to be working Disconnect shall just disconnect - NOT close the app It could work at least for a while when its freshly installed & running

Distribution (please complete the following information):

snap version

snap    2.56.2-4.fc36
snapd   2.56.2-4.fc36
series  16
fedora  36
kernel  6.0.5-200.fc36.x86_64

snap info winbox

name:      winbox
summary:   small utility that allows administration of MikroTik RouterOS
publisher: ThePanaceya
store-url: https://snapcraft.io/winbox
license:   unset
description: |
  Winbox is a small utility that allows administration of MikroTik RouterOS using a fast and simple
  GUI.

  Snap conatins Wine runtime and winbox client.

  Readme: https://github.com/panaceya/winbox/blob/main/README.md
commands:
  - winbox
snap-id:      UdK6K4ZjRfjL0wRFh0tWGO7vPhA4Qge4
tracking:     latest/stable
refresh-date: today at 11:59 CET
channels:
  latest/stable:    3.37 2022-10-06 (97) 47MB -
  latest/candidate: ↑                         
  latest/beta:      ↑                         
  latest/edge:      ↑                         
installed:          3.37            (97) 47MB -

snap list winbox

Name    Version  Rev  Tracking       Publisher    Notes
winbox  3.37     97   latest/stable  thepanaceya  -
panaceya commented 1 year ago

Cannot reproduce under Neon (ubuntu 22.04)

This issue not related for winbox package, check snap bugtracker for you distro.