The forum

playonlinux won´t start

Author Replies
Jump to the page: 1 - 2
Rosika Saturday 7 October 2017 at 15:03
RosikaAnonymous

Hello altogether,

 

I have problems starting playonlinux and wonder whether you could help.

Ihave playonlinux v. 4.2.12. Yet when trying to start the programme via the terminal I get the following message:

 

Looking for python... 2.7.12 - wxversion(s): 3.0-gtk2
/usr/share/playonlinux/bash/find_python: Zeile 58:  9558 Ungültiger Maschinenbefehl   "$POL_PYTHON" "$POLDIR/python/check_python.py"
failed tests
Looking for python2.7... 2.7.12 - wxversion(s): 3.0-gtk2
/usr/share/playonlinux/bash/find_python: Zeile 58:  9564 Ungültiger Maschinenbefehl   "$POL_PYTHON" "$POLDIR/python/check_python.py"
failed tests
Looking for python2.6...
Looking for python2... 2.7.12 - wxversion(s): 3.0-gtk2
/usr/share/playonlinux/bash/find_python: Zeile 58:  9571 Ungültiger Maschinenbefehl   "$POL_PYTHON" "$POLDIR/python/check_python.py"
failed tests
Please install python before trying to run this program

According to the output of the terminal it seems that  python ist´t installed - which simply is not true.
Here are my python versions:

ii  python                                        2.7.11-1                                     amd64        interactive high-level object-oriented language (default version)
ii  python2.7                                   2.7.12-1ubuntu0~16.04.1      amd64        Interactive high-level object-oriented language (version 2.7)
ii  python3                                      3.5.1-3                                       amd64        interactive high-level object-oriented language (default python3 version)
ii  python3.5                                   3.5.2-2ubuntu0~16.04.3        amd64        Interactive high-level object-oriented language (version 3.5)



Is there any way to get playonlinux started?

Thanks a lot in advance for your help.
Greetings.

Rosika  blush


P.S.:
my system: Linux/Lubuntu 16.04.3 LTS, 64bit
 

 

booman Saturday 14 October 2017 at 1:34
booman

Have you tried installing PlayOnLinux again?

Did you install it from the package manager or from the download on the PlayOnLinux website?

Maybe uninstall all pythons found and re-install them.  also make sure Python 32-bit (i386) is installed too


† Booman †
Mint 18.3 64-bit | Nvidia 396.54 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
PlayOnLinux Guides | PlayOnLinux Explained
Rosika Sunday 15 October 2017 at 14:24
RosikaAnonymous

Hi booman,

thanks a lot for your answer.

>> Did you install it from the package manager or from the download on the PlayOnLinux website?

Alas I can´t remember. It´s been a while since I installed it and it´s only now that I´m trying to use it.

The thing is: I think after installation it worked. Yet now it won´t start.

 

>> also make sure Python 32-bit (i386) is installed too

As I have a 64bit system I´m not quite sure how to get this done.

It seems I need to "sudo apt-get install ia32-libs" in order to run 32bit applications on a 64bit ubuntu system

(https://askubuntu.com/questions/29253/how-can-i-install-a-32bit-python-on-64-bit-ubuntu).

But there seems to be no installation candidate.

 

Greetings.

Rosika

booman Monday 16 October 2017 at 18:10
booman

No problem... I'm here to help.

You will need to download and install the newest PlayOnLinux:  4.2.12
S
ave it to your desktop, double-click to install.  don't worry about uninstalling the current version.

Ubuntu no longer has the "ia32-libs" package, but you can install most of the 32-bit libraries yourself with these commands:

​sudo dpkg --add-architecture i386

sudo apt-get update

sudo apt-get install libasound2:i386 libasound2-plugins:i386 libfontconfig1:i386 lib32nss-mdns libgnutls26:i386 libxslt1.1:i386 libxcursor1:i386 libxcomposite1:i386 libosmesa6:i386 libopenal1:i386 libmpg123-0:i386 libldap-2.4-2:i386 liblcms2-2:i386 libgstreamer0.10-0:i386 libgstreamer-plugins-base0.10-0:i386 libgsm1:i386 libxinerama1:i386 libxi6:i386 libv4l-0:i386 libsane:i386 libudev1:i386 libxml2:i386 libcups2:i386 libxrandr2:i386 libice6:i386 libsm6:i386
 

† Booman †
Mint 18.3 64-bit | Nvidia 396.54 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
PlayOnLinux Guides | PlayOnLinux Explained
Rosika Thursday 26 October 2017 at 17:57
RosikaAnonymous

Hi booman,

thanks for your suggestion and sorry for the belated answer.

Thanks also for the commands with which I can install the respective binaries. 

Alas I´m a bit pressed for time with respect to other things right now.  Bit I´ll try them out as soon as possible.

I´m not quite sure why playonlinux worked at some point in the past though. Could me my imagination however.....

 

For the time being, thanks again and greetings.

Rosika

booman Thursday 26 October 2017 at 21:09
booman

That is a good question, if PlayOnLinux worked before, then you shouldn't need the 32-bit libraries.  I install them by habit, so I've never tested PlayOnLinux without them.


† Booman †
Mint 18.3 64-bit | Nvidia 396.54 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
PlayOnLinux Guides | PlayOnLinux Explained
Rosika Tuesday 1 January 2019 at 13:20
RosikaAnonymous

Hello again after quite a while and a Happy New Year.

In the meantime I tried the follwing:

I installed playonlinux on bodhilinux (32bit) which runs as a VM in VMWare Player. And there playonlinux runs flawlessly. So I thought it might be a good idea to compare the  find_python-files which are located at /usr/share/playonlinux/bash .

It turns out that both files (the one from my Lubuntu-system and the one from bodhlinux) are completely identical.

So there seems to be no need for manipulating that file (like I read elsewhere).

The problem seems to be related to other things although I can´t figure out what might be the trouble there.

 

Greetings.

Rosika

 

Edited by Rosika

Quentin PÂRIS Tuesday 1 January 2019 at 13:21
Quentin PÂRIS
Admin

What is your python version?

Rosika Tuesday 1 January 2019 at 13:28
RosikaAnonymous

Hi,

thanks for your very quick response and a Happy New Year again.

Here´s the data as far as python is concerned:

 python                                        2.7.12-1~16.04

python2.7                                     2.7.12-1ubuntu0~16.04.4

python3                                       3.5.1-3

python3.5                                     3.5.2-2ubuntu0~16.04.5

 

 

 

kreyren Tuesday 1 January 2019 at 15:54
kreyren

@Rosika Check process manager for playonlinux and sigkill it if present.

Check your dependencies based on gentoo's ebuild playonlinux needs following runtime deps (RDEPEND):
https://gitweb.gentoo.org/repo/gentoo.git/tree/app-emulation/playonlinux/playonlinux-4.2.12.ebuild#n22

Edited by kreyren

Rosika Tuesday 1 January 2019 at 16:12
RosikaAnonymous

Hi kreyren.

Tnx a lot. I found out that wxpython isn´t installed. No idea why. Plus apt-get install wxpython doesn´t seem to work. There´s no such packet.....

 

kreyren Tuesday 1 January 2019 at 17:17
kreyren

COMPILE IT FROM SOURCE! ... sorry instinct

Based on https://wiki.wxpython.org/How%20to%20install%20wxPython#GNU.2FLinux_-_Debian `apt-get install python-wxgtk2.8` should work

EDIT: present in ubuntu's repo as well https://packages.ubuntu.com/search?keywords=python-wxgtk2.8

EDIT2: You probably need to add 14.04 repo in your sources.list (https://wiki.debian.org/SourcesList) or to apt it from local file

Edited by kreyren

Rosika Tuesday 1 January 2019 at 17:37
RosikaAnonymous

Hi again and thanks.

I cannot install python-wxgtk2.8 as there seems to be be no installation candidate. However the highher version python-wxgtk3.0 is already installed on my system.

Nevertheles the problem persists.

 

kreyren Wednesday 2 January 2019 at 0:29
kreyren

@Rosika i see, please describe how did you install playonlinux ?

+ Attach output of `sudo apt list --installed` on pastebin (for example)

Edited by kreyren

kreyren Wednesday 2 January 2019 at 0:30
kreyren

Related: i can confirm that this ebuild is working on gentoo: https://github.com/gentoo/gentoo/pull/10719/commits/d4f78102078d7149c35ea567360b767bf78925cb

 

Terminal output: https://paste.pound-python.org/show/UhbMQqGpOhHxsWn9TPXi/

 

Edited by kreyren

Rosika Wednesday 2 January 2019 at 13:43
RosikaAnonymous

Hi kreyren,

It´s a real shame but I have to admit I don´t know how I installed playonliux. It´s been a while and I really can´t remember. I´m sorry. However I guess I downloaded a .deb-file and installed it manually as I don´t find any entries in my fish/bash-shell-history regarding installation of playonlinux.

On https://gist.github.com/Rosika2/f0eb11b9df79d642bd6d41ebc2379ab6  you´ll be able to find the output of 

`sudo apt list --installed` .

Sorry that I couldn´t help in a better way.

Rosika

Edited by Rosika

kreyren Wednesday 2 January 2019 at 17:36
kreyren

afaik python is very picky about it's version try installing python 2.7.12 (You have python 2.7.12-1)

From my point of view either:
1) python 2.7.12 != 2.7.12-1

2) python 2.7.12 == 2.7.12-1 -> PlayOnLinux lacks definition for 2.7.12-1 to be recognized as 2.7.12

Rosika Wednesday 2 January 2019 at 18:07
RosikaAnonymous

Hi again and tnx,

>>>   PlayOnLinux lacks definition for 2.7.12-1 to be recognized as 2.7.12

Well, to further look into that matter I once again booted my VM (bodhilinux). And even there:

ii  python                              2.7.12-1~16.04                                           i386         interactive high-level object-oriented language (default version)

and on my host Lubuntu:

ii  python                                        2.7.12-1~16.04                                           amd64        interactive high-level object-oriented language (default version)

So on bodhi playonlinux recognizes python 2.7.12-1.

And again: It works on bodhi and not on Lubuntu.

Plus: I also looked at https://packages.ubuntu.com/xenial/otherosfs/playonlinux  in order to verify the dependencies. Everything´s o.k. in that respect. Yet playonlinux still won´t start.  crying

 

 

Rosika Thursday 3 January 2019 at 17:33
RosikaAnonymous

Hi again,

I don´t know whether it helps in finding the cause of the problem. However I did the following:

I started playonlinux (which failed of course) and then looked in the log-messages.

I found this entry (actually three):

03.01.19 17:26 rosika-Lenovo-H520e kernel [15523.774286] traps: python[16111] trap invalid opcode ip:7f72239a1d92 sp:7ffcdb319bb8 error:0 in libwx_gtk2u_adv-3.0.so.0.2.0[7f7223892000+1c0000]

So that´s it I think. But does this give a hint to any potential problem? I cannot make head or tail of it.

 

Cheers

Rosika

pwnz Sunday 6 January 2019 at 15:33
pwnzAnonymous

I had the same issue and I solved it. It seems like python-wxgtk2.8 is separated and needs to be installed explicitly for some reason (atleast on my Mint 18 dist).
I followed this last post https://askubuntu.com/questions/789302/install-python-wxgtk2-8-on-ubuntu-16-04 to install python-wxgtk2.8 (which I wasn't able to by using 'apt').

Later I launched ./playonlinux and it requested some additional lib (such as 'cabextract') which is no issue to install. That's it.

pwnz. 

Edited by pwnz