LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   PlayOnLinux broken in current (http://www.linuxquestions.org/questions/slackware-14/playonlinux-broken-in-current-4175413534/)

Bindestreck 06-26-2012 04:38 PM

PlayOnLinux broken in current
 
Hi,

after upgrading to current I cannot launch Playonlinux anymore, I get following error:

Code:

bash-4.2$ playonlinux
Traceback (most recent call last):
  File "mainwindow.py", line 31, in <module>
    import wxversion
ImportError: No module named wxversion
/usr/share/playonlinux/playonlinux: line 89: python2.6: command not found

Now, I understand that Python 2.7.x was included in the current, but what exactly happened here? Or maybe POL does not support Python 2.7?

mats_b_tegner 06-26-2012 05:22 PM

Looks like playonlinux explicitly require python2.6. What happens if you create a symlink to python2.7? Otherwise I guess you could try to build a Python 2.6.8 package using the SlackBuild-script from 13.37.

After a quick Google-search it looks like wxpython is the culprit.

Bindestreck 06-26-2012 05:34 PM

Quote:

Originally Posted by mats_b_tegner (Post 4712807)
Looks like playonlinux explicitly require python2.6. What happens if you create a symlink to python2.7? Otherwise I guess you could try to build a Python 2.6.8 package using the SlackBuild-script from 13.37.

I believe "python" is already symlinked to python2.7:


Code:

lrwxrwxrwx  1 root    root            9 Jun 26 21:50 python -> python2.7

Bindestreck 06-26-2012 05:43 PM

Well, I guess I have to start using Wine manually then...

D1ver 06-26-2012 06:19 PM

I know it's 40 bucks a year, but I can't recommend Crossover Games enough.. If you've got the money to spare, then I'd check it out. With a mix of cxgames and plain ol Wine I've had a pretty good experience gaming on my Slackware box.

ppr:kut 06-27-2012 01:23 AM

Quote:

Originally Posted by eXpander_ (Post 4712780)
Hi,

after upgrading to current I cannot launch Playonlinux anymore, I get following error:

Code:

bash-4.2$ playonlinux
Traceback (most recent call last):
  File "mainwindow.py", line 31, in <module>
    import wxversion
ImportError: No module named wxversion
/usr/share/playonlinux/playonlinux: line 89: python2.6: command not found

Now, I understand that Python 2.7.x was included in the current, but what exactly happened here? Or maybe POL does not support Python 2.7?

You need to recompile wxPython for the new python (and potential other non-core packages)

Bindestreck 06-27-2012 02:37 AM

Quote:

Originally Posted by ppr:kut (Post 4713058)
You need to recompile wxPython for the new python (and potential other non-core packages)

Ok, that was easy! Thanks! Now it works.


All times are GMT -5. The time now is 03:24 AM.