Forums

can't install PlayOnLinux...

wine installed and working!

Auteur Réponses
HogFather Dimanche 27 Janvier 2008 à 20:10
HogFatherAnonymous

Hi all,
i'm using Slackware 12 kernel 2.6.23.12 KDE 3.5.7. i have the following installed:\
Python 2.5.1
Compiz + Compiz Fusion
Wine 0.9.54
wxPython 2.8.7.1
libmspack-0.0.20060920alpha
Winetools
and i have the following err when i try to install PON:

~/Desktop/downloads/wine/playonlinux$ ./playonlinux

PlayOnLinux v2.0
----------------
Checking python : [ Ok ]
Traceback (most recent call last):
File "/home/osiris/Desktop/downloads/wine/playonlinux/python/mainwindow.py", line 417, in <module>
app = PlayOnLinuxApp()
File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7836, in __init__
self._BootstrapApp()
File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7433, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/home/osiris/Desktop/downloads/wine/playonlinux/python/mainwindow.py", line 410, in OnInit
frame = MainWindow(None, -1, "PlayOnLinux"
File "/home/osiris/Desktop/downloads/wine/playonlinux/python/mainwindow.py", line 183, in __init__
self.Reload(self)
File "/home/osiris/Desktop/downloads/wine/playonlinux/python/mainwindow.py", line 345, in Reload
game_exec = self.list_game.GetItemText(self.list_game.GetSelection())
File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py", line 5250, in GetItemText
return _controls_.TreeCtrl_GetItemText(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "item.IsOk()" failed at ../src/generic/treectlg.cpp(935) in GetItemText(): invalid tree item
Quentin PÂRIS Dimanche 27 Janvier 2008 à 20:12
Quentin PÂRISAnonymous

Your version of wxPython seems to have a problem...

What happen when you type python --version ?

And ls /usr/lib/python2.4/site-packages/ ?
HogFather Dimanche 27 Janvier 2008 à 21:08
HogFatherAnonymous

python --version
Python 2.5.1

ls /usr/lib/python2.4/site-packages/
i dint have such dir

i have /usr/lib/python2.5/site-packages/

Pyrex exo-0.3 libxml2.py pykdeconfig.py
Pyrex-0.9.6.4-py2.5.egg-info faqwiz libxml2mod.a pynche
_dbus_bindings.la fetchmailconf.py libxml2mod.la pyqtconfig.py
_dbus_bindings.so fetchmailconf.pyc libxml2mod.so python_libpisock-0.12.2-py2.5.egg-info
_dbus_glib_bindings.la fetchmailconf.pyo libxslt.py qt.so
_dbus_glib_bindings.so framer libxsltmod.a qtcanvas.so
_gamin.la freeze libxsltmod.la qtgl.so
_gamin.so gamin.py libxsltmod.so qtnetwork.so
_pisock.so getmail-4.7.4-py2.5.egg-info mercurial qtsql.so
audiopy getmailcore mercurial-0.9.4-py2.5.egg-info qttable.so
avahi gpod modulator qtui.so
bgen gtk-2.0 msi qtxml.so
buildbot hgext obexftp scripts
cairo i18n pcardext.la sip.so
ccm ieee1284module.a pcardext.so sipconfig.py
ccsm-0.6.0-py2.5.egg-info ieee1284module.la pcop.la unicode
compiler ieee1284module.so pcop.so versioncheck
compizconfig.la kdecore.so pisock.py webchecker
compizconfig.so kdefx.so pisock.pyc world
cupsext.la kdeprint.so pisockextras.py wx-2.8-gtk2-unicode
cupsext.so kdesu.so pisockextras.pyc wx.pth
dbus kdeui.so pybench wxPython_common-2.8.7.1-py2.5.egg-info
dbus_bindings.py kfile.so pyexo.py wxaddons
dbus_bindings.pyc khtml.so pyexo.pyc wxaddons-2.8.7.1-py2.5.egg-info
dbus_bindings.pyo kio.so pyexo.pyo wxversion.py
dcop.so kmdi.so pygtk.pth wxversion.pyc
dcopexport.py kparts.so pygtk.py
dcopext.py kspell.so pygtk.pyc
drv_libxml2.py kutils.so pygtk.pyo
Quentin PÂRIS Dimanche 27 Janvier 2008 à 21:12
Quentin PÂRISAnonymous

Oops... I don't know where is the problem.

I think your version of wxgtk is wrong. Try to have an other one
HogFather Lundi 28 Janvier 2008 à 8:14
HogFatherAnonymous

i read somewhere that wxPython interfears with wxGTK, so i'll try to uninstall wxPython, and than install newer wxGTK and post the result.
HogFather Lundi 28 Janvier 2008 à 8:35
HogFatherAnonymous

OK, i installed wxGTK 2.6.4 and i got:
PlayOnLinux v2.0
----------------
Checking python : [ Ok ]
Traceback (most recent call last):
File "/home/osiris/Desktop/downloads/wine/playonlinux/python/mainwindow.py", line 22, in <module>
import wxversion, os, getopt, sys, urllib, signal, socket
ImportError: No module named wxversion
Quentin PÂRIS Lundi 28 Janvier 2008 à 15:45
Quentin PÂRISAnonymous

You have to install python-wxgtk2.8 and python-wxversion
Ghostofkendo Lundi 28 Janvier 2008 à 18:45
Ghostofkendo

Hi,

I don't know Slackware but in openSUSE, python-wxgtk and python-wxversion are provided by the wxGTK package.

Bye
HogFather Mardi 29 Janvier 2008 à 12:26
HogFatherAnonymous

OK, i installed wxGTK 2.8.7, which should include /as far as i understand/ the python-wxgtk and wxversion. there are no indipendent python-wxversion and python-wxgtk2.8 packages. As a read wxGTK is part of wxWidges (http://www.wxwidgets.org/downloads/), and python-wxgtk and python-wxversion is part of wxGTK...
or am i wrong?

EDIT:
if i install wxPython (which may conflicts with wxGTK ) i get:
./playonlinux

PlayOnLinux v2.0
----------------
Checking python : [ Ok ]
Traceback (most recent call last):
File "/home/osiris/Desktop/downloads/wine/playonlinux/python/mainwindow.py", line 417, in <module>
app = PlayOnLinuxApp()
File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7836, in __init__
self._BootstrapApp()
File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7433, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/home/osiris/Desktop/downloads/wine/playonlinux/python/mainwindow.py", line 410, in OnInit
frame = MainWindow(None, -1, "PlayOnLinux"
File "/home/osiris/Desktop/downloads/wine/playonlinux/python/mainwindow.py", line 183, in __init__
self.Reload(self)
File "/home/osiris/Desktop/downloads/wine/playonlinux/python/mainwindow.py", line 345, in Reload
game_exec = self.list_game.GetItemText(self.list_game.GetSelection())
File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py", line 5250, in GetItemText
return _controls_.TreeCtrl_GetItemText(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "item.IsOk()" failed at ../src/generic/treectlg.cpp(935) in GetItemText(): invalid tree item

Edité par HogFather