Forums

Install on OpenSuse 12.2

Auteur Réponses
bkarlan Jeudi 4 Octobre 2012 à 21:33
bkarlanAnonymous

I don't know how to run Python.  Instructions to install are to type ./playonlinux in Python.  I have gone to the proper directory -playonlinux- and typed python ./playonlinux and get and error.
petch Jeudi 4 Octobre 2012 à 22:13
petch

I guess you're quoting the instructions

You just have to extract these files and run "./playonlinux". PlayOnLinux is written in Python, so you have nothing to build, but Python must be installed first.

So to start it you just have to type "./playonlinux" (without the double quotes) from the directory that tarball extraction created, that's all!

(more detailed answer: PlayOnLinux is written part in Python and part in Bash script, and this ./playonlinux thingy happens to be a Bash script, so trying to make Python interpret it couldn't work. Too bad, that was a 1:2 chance of success ;) )

Edité par petch

bkarlan Jeudi 4 Octobre 2012 à 22:34
bkarlanAnonymous

I've tried that already.  I get an error.  I am pasting my directory and the input and the results for you below;

bryan@linux-bl35:~/Play_on_Linux/playonlinux> dir
total 140
drwxr-xr-x 3 bryan users  4096 Sep 21 05:47 bash
drwxr-xr-x 2 bryan users  4096 Sep 21 05:47 bin
-rw-r--r-- 1 bryan users 24514 Sep 21 05:47 CHANGELOG
drwxr-xr-x 5 bryan users  4096 Sep 21 05:47 etc
drwxr-xr-x 4 bryan users  4096 Sep 21 05:47 lang
drwxr-xr-x 2 bryan users  4096 Sep 21 05:47 lib
-rw-r--r-- 1 bryan users 35147 Sep 21 05:47 LICENCE
-rwxr-xr-x 1 bryan users  4659 Sep 21 05:47 playonlinux
-rwxr-xr-x 1 bryan users  1280 Sep 21 05:47 playonlinux-bash
-rwxr-xr-x 1 bryan users  1216 Sep 21 05:47 playonlinux-pkg
-rwxr-xr-x 1 bryan users  1216 Sep 21 05:47 playonlinux-shell
-rwxr-xr-x 1 bryan users  1216 Sep 21 05:47 playonlinux-url_handler
-rwxr-xr-x 1 bryan users  1468 Sep 21 05:47 playonmac
drwxr-xr-x 2 bryan users  4096 Sep 21 05:47 plugins
drwxr-xr-x 3 bryan users  4096 Sep 21 05:47 python
drwxr-xr-x 4 bryan users  4096 Sep 21 05:47 resources
drwxr-xr-x 2 bryan users  4096 Sep 21 05:47 src
-rw-r--r-- 1 bryan users 12791 Sep 21 05:47 TRANSLATORS
bryan@linux-bl35:~/Play_on_Linux/playonlinux> ./playonlinux
Traceback (most recent call last):
  File "mainwindow.py", line 30, in <module>
    import wxversion
ImportError: No module named wxversion
./playonlinux: line 138: python2.6: command not found
bryan@linux-bl35:~/Play_on_Linux/playonlinux> ^C
bryan@linux-bl35:~/Play_on_Linux/playonlinux> ^C

petch Jeudi 4 Octobre 2012 à 23:27
petch

You lack wxWindows bindings for Python.
I don't know if all the dependencies are documented somewhere, all I can think of is the dependencies in the Debian package:
Depends: unzip, wine | wine-stable | wine-unstable, wget, xterm, python, python-wxgtk2.8, imagemagick, cabextract, icoutils
Be sure to install the equivalent packages for OpenSuse 12; "|" means alternatives, but the distinction between wine, wine-stable and wine-unstable is really a Debian specific thing, all you need is some version of Wine (preferably 32bit) installed system-wide.
(Really, did nobody package PlayOnLinux 4.1.x for OpenSuse already?)
bkarlan Jeudi 4 Octobre 2012 à 23:43
bkarlanAnonymous

I show wine-32 bit, wine-gecko, qt4wine, qt4win-lang all installed.
antiphona Mercredi 10 Octobre 2012 à 22:46
antiphonaAnonymous

I have worked with PlayOnLinux in Ubuntu, but now I'm starting with OpenSuse and I have many problems to install PlayOnLinux. Obviously the first thing I did was follow your instructions, but they didn't work. Here I leave what I have in the terminal:

lucy@linux-khtl:~$ cd /home/lucy/Downloads/playonlinux/
lucy@linux-khtl:~/Downloads/playonlinux$ ./playonlinux
Traceback (most recent call last):
File "mainwindow.py", line 30, in
import wxversion
ImportError: No module named wxversion
./playonlinux: line 138: python2.6: command not found
lucy@linux-khtl:~/Downloads/playonlinux$

Thanks for your help!!
neramdaman Vendredi 12 Octobre 2012 à 9:03
neramdamanAnonymous

Thought I might mention, I downloaded and installed PoL from the packman repository. Much easier than trying to find a work around. However, it is only version 3.8.12.

Edité par neramdaman

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