LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 06-26-2012, 05:38 PM   #1
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 337

Rep: Reputation: 75
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?
 
Old 06-26-2012, 06:22 PM   #2
mats_b_tegner
Member
 
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware64
Posts: 145

Rep: Reputation: 47
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.

Last edited by mats_b_tegner; 06-26-2012 at 06:38 PM.
 
Old 06-26-2012, 06:34 PM   #3
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 337

Original Poster
Rep: Reputation: 75
Quote:
Originally Posted by mats_b_tegner View Post
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
 
Old 06-26-2012, 06:43 PM   #4
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 337

Original Poster
Rep: Reputation: 75
Well, I guess I have to start using Wine manually then...
 
Old 06-26-2012, 07:19 PM   #5
D1ver
Member
 
Registered: Jan 2010
Distribution: Slackware 13.37
Posts: 527
Blog Entries: 3

Rep: Reputation: 126Reputation: 126
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.
 
Old 06-27-2012, 02:23 AM   #6
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 370

Rep: Reputation: 98
Quote:
Originally Posted by eXpander_ View Post
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)
 
Old 06-27-2012, 03:37 AM   #7
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 337

Original Poster
Rep: Reputation: 75
Quote:
Originally Posted by ppr:kut View Post
You need to recompile wxPython for the new python (and potential other non-core packages)
Ok, that was easy! Thanks! Now it works.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
playonlinux arch linux "PlayOnLinux is unable to find 32bits OpenGL libraries."(sic) xwjitftu Linux - Software 4 03-04-2012 10:16 PM
rpm broken in -current and -current64? rvdboom Slackware 11 06-17-2009 06:05 AM
Java compiler broken in -current? Yalla-One Slackware 3 04-21-2009 02:12 AM
libxslt in -current broken? Slim Backwater Slackware 8 06-24-2006 12:14 AM
slackware current broken? sweetnsourbkr Slackware 8 03-11-2006 07:26 AM


All times are GMT -5. The time now is 01:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration