debian testing/sid – playonlinux nie działa

Wygląda na to że PoL jako tako przestał działać na testingu i sidzie. Tzn sam program się uruchamia ale nic już więcej w nim nie można zrobić (zmienić ustawienia, pobrać nową wersję wine, itd).

Póki co nadal badam powód ale na szczęście można uruchamiać gry/programy wprost z terminala:

~$ playonlinux --run "Diablo II"
Looking for python... 2.7.13 - wxversion(s): 3.0-gtk2
selected
[main] Message: PlayOnLinux (4.2.10) is starting
[clean_tmp] Message: Cleaning temp directory
Script started /home/pakos/.PlayOnLinux/shortcuts/Diablo II
^C[POL_System_CheckFS] Message: Checking filesystem for Diablo II.exe
[POL_Wine] Message: Running wine-1.7.36 Diablo II.exe -w (Working directory : /home/pakos/.PlayOnLinux/wineprefix/DiabloII/drive_c/Program Files/Diablo II)
[POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See http://www.playonlinux.com/fr/page-26-Winemenubuilder.html
[POL_Wine] Error: Wine seems to have crashed

If your program is running, just ignore this message
[POL_SetupWindow_Init] Message: Creating new window for pid 10476
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/opensc-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/opensc-pkcs11.so: cannot open shared object file: No such file or directory
Killed

EDIT:

Wszystkiemu okazuje się winny netcat-openbsd (link) a zmiany wystarczy dokonać w pliku /usr/share/playonlinux/lib/setupwindow.lib z nc -q na nc -N:

--- setupwindow.lib     2017-02-08 21:55:43.000000000 -0500
+++ setupwindow.lib_fixed       2017-02-08 21:52:49.000000000 -0500
@@ -39,7 +39,7 @@
        if [ "$POL_OS" = "Mac" -o "$(POL_Config_Read FORCE_LEGACY_NETCAT)" = "TRUE" ]; then
                nc "$@"
        else
-               nc -q -1 "$@" 2> /dev/null || nc "$@"
+               nc -N -1 "$@" 2> /dev/null || nc "$@"
                # Differents possibilities
        fi
 }

Leave a comment

Your email address will not be published. Required fields are marked *