The forum

PoL can no longer launch

Author Replies
rasb23 Saturday 11 April 2015 at 2:44
rasb23Anonymous

Linux version: Kubuntu VERSION="14.04.2 LTS, Trusty Tahr"

Version of POL: Version: 4.2.6

Full computer specs: i7, 6 GB ram, GTX 650 ti on a kingston ssdon 240GB

Desciption:

I've been using Playonlinux for over a month now and has been working very well. I went to launch it yesterday and it would not come up. I tried it from the terminal and got the following error repeating

Error and dependencies:

$ playonlinux

Looking for python... 2.7.6 - selected
Traceback (most recent call last):
  File "mainwindow.py", line 34, in <module>
    import wx, wx.aui
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/__init__.py", line 45, in <module>
    from wx._core import *
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 4, in <module>
    import _core_
ImportError: /usr/lib/x86_64-linux-gnu/libXrandr.so.2: undefined symbol: _XEatDataWords

$ sudo apt-get install unzip wget xterm python python-wxgtk2.8 imagemagick cabextract icoutils p7zip-full curl
Reading package lists... Done
Building dependency tree      
Reading state information... Done
imagemagick is already the newest version.
imagemagick set to manually installed.
python is already the newest version.
xterm is already the newest version.
xterm set to manually installed.
cabextract is already the newest version.
cabextract set to manually installed.
icoutils is already the newest version.
p7zip-full is already the newest version.
python-wxgtk2.8 is already the newest version.
curl is already the newest version.
curl set to manually installed.
unzip is already the newest version.
wget is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.

 

I noticed it was looking for python 2.7.6 and I'm running 2.7.5-5ubuntu3. Why the change to a version I can not get yet? can I change PoL to use 2.7.5?

 

 

petch Saturday 11 April 2015 at 10:38
petch

Hi,

The way I interpret it, PoL finds that "python" command launches Python 2.7.6, the version is ok so it decides to go with it; But then wxPython is not installed (with this Python version at least), so it crashes.

Development version is a bit more clever, and also checks that wxPython works before it goes with some version of Python.

But the root problem here is that somehow you have Python 2.7.6 installed when you thought you didn't. Maybe some recent system update broke something?

 

rasb23 Sunday 12 April 2015 at 4:19
rasb23Anonymous

You are correct. I was able to reproduce the issue by just running an import wx in python. I found others with the issue here:
https://bbs.archlinux.org/viewtopic.php?id=175561

and here

http://stackoverflow.com/questions/27240143/installing-wxpython-on-ubuntu-14-04

Tried a down grade of wxpython and got the same results. There was a system update that upgraded python. I finally decided to remove all the wx packages and playonlinx and let the reinstall handle to correct packages. Same issue again.


$ python
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named wx
>>>
KeyboardInterrupt
>>>
reid@uber-tower:/etc/apt/sources.list.d$ sudo apt-get install playonlinux
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libwxbase2.8-0 libwxgtk-media2.8-0 libwxgtk2.8-0 python-wxgtk2.8
  python-wxversion
Suggested packages:
  editra
The following NEW packages will be installed:
  libwxbase2.8-0 libwxgtk-media2.8-0 libwxgtk2.8-0 playonlinux python-wxgtk2.8
  python-wxversion
0 upgraded, 6 newly installed, 0 to remove and 6 not upgraded.
Need to get 473 kB/9,848 kB of archives.
After this operation, 43.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y

I thinking about downgrading python at this point. Anyone else have any suggestions?

Deleted Deleted
Deleted Reply to a deleted post
rasb23 Saturday 18 April 2015 at 16:18
rasb23Anonymous

After 8 hours I gave up. wanted to move my home to a separate partition anyway so I did the extreme measure and reinstalled my system. After some fun times with root owning all my files and needing to clear out my .playonlinux directory I got it working with Diablo 3 and LoL installed.

I think the problem has to do with experimenting with Warframe and trying to get it working. Sadly in the end it did not work. Will image my machine now before I try straying too far from the path.

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com