The forum

cannot open any gane from pol gui

Author Replies
pakos Monday 6 February 2017 at 17:10
pakosAnonymous

Hi,

i was using pol for a long time without any major issues however since few days (maybe more, i'm not very acttive lately) i cannot open any soft/game from gui.

I'm on debian sid Linux baza 4.9.0-1-amd64 with pol version PlayOnLinux 4.2.10.

Pol client starts fine but choosing anything to run does nothing, trying to open any game wine configuration doesn't work, looks like nothing works.

 

Tried to see in shell if nothing shows as error but looks fine except that as you can see i have to ctrl-c it at checks to move it on but this does nothing in fact.

pakos@baza:~$ playonlinux
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
[Check_OpenGL] Warning: check_dd_x86 missing, test skipped
[Check_OpenGL] Warning: check_dd_amd64 missing, test skipped
[POL_System_CheckFS] Message: Checking filesystem for /home/pakos/.PlayOnLinux/
[main] Message: Filesystem is compatible
^C[install_plugins] Message: Checking plugin: ScreenCap...
[install_plugins] Message: Checking plugin: PlayOnLinux Vault...
^C
Ctrl+C pressed. Killing all processes...


Going further i've tried to run game from terminal and it works but once again i have to ctrl-c it at the middle to proceed.

 

pakos@baza:~$ 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.playonmac.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

Any ideas what's going on?

 

shmerl Wednesday 8 February 2017 at 3:19
shmerlAnonymous

I'm on Debian testing, and POL stopped working for me as well a few days ago. I suppose it's some regression in Debian itself. Not only that, but I can't even install any version of Wine inside POL.

pakos Wednesday 8 February 2017 at 16:47
pakosAnonymous

Ah ok, this at least gives us something, maybe issue with python or similar. Tried now and cannot dl wine as well.

Is it possible to get pol somehow in debug mode to provide some more input here?

shmerl Thursday 9 February 2017 at 3:38
shmerlAnonymous

I found this: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852765

Looks like something related to nc (netcat-openbsd). Really weird. And I'd rather not uninstall netcat-openbsd for that.

I suppose POL is using nc there were some breaking changes? Are thre some POL developers here who can investigate this?

UPDATE: This seems related: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849192

Edited by shmerl

shmerl Thursday 9 February 2017 at 4:00
shmerlAnonymous

Using the bug opened for netcat-openbsd, I was able to patch POL, to work around this issue. Here is a patch which you can apply to /usr/share/playonlinux/lib/setupwindow.lib (it basically changes nc -q to 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
 }

Edited by shmerl