LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 04:38 PM   #1
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 820

Rep: Reputation: 440Reputation: 440Reputation: 440Reputation: 440Reputation: 440
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, 05:22 PM   #2
mats_b_tegner
Member
 
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware
Posts: 946

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
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 05:38 PM.
 
Old 06-26-2012, 05:34 PM   #3
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 820

Original Poster
Rep: Reputation: 440Reputation: 440Reputation: 440Reputation: 440Reputation: 440
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, 05:43 PM   #4
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 820

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

Rep: Reputation: 194Reputation: 194
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, 01:23 AM   #6
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 631

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
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, 02:37 AM   #7
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 820

Original Poster
Rep: Reputation: 440Reputation: 440Reputation: 440Reputation: 440Reputation: 440
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



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 09:16 PM
rpm broken in -current and -current64? rvdboom Slackware 11 06-17-2009 05:05 AM
Java compiler broken in -current? Yalla-One Slackware 3 04-21-2009 01:12 AM
libxslt in -current broken? Slim Backwater Slackware 8 06-23-2006 11:14 PM
slackware current broken? sweetnsourbkr Slackware 8 03-11-2006 06:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:08 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
Open Source Consulting | Domain Registration