Das Forum

Play on linux downloads freeze

Autor Antworten
oamarfaolan Tuesday 31 December 2013 at 1:07
oamarfaolanAnonymous

Hello! I'm pretty new to linux, and I was doing alright with play on linux until recently. I was trying to install VegaStrike and in the course of getting it to work, I downloaded a few things, including python.

I'm running on Ubuntu 12.04, PoL 4.2.1.

The problem I'm having is whenever I'm trying to download anything into PlayOnLinux(Steam for example) the download freezes about five percent or so away from finishing and will never finish downloading.
I tried running PoL from the cli and everything works until the same spot in the download, where it gives me this error

Traceback (most recent call last):
  File "/usr/share/playonlinux/python/guiv3.py", line 275, in TimerAction
    self.gauge.SetValue(self.downloader.nb_blocs)
  File "/usr/local/lib/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py", line 900, in SetValue
    return _controls_.Gauge_SetValue(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "pos <= m_rangeMax" failed at ../src/gtk/gauge.cpp(94) in SetValue(): invalid value in wxGauge::SetValue()


It repeats this error in an endless loop until I cancel the download.

I would really appreciate help on this one. Play on linux and steam were both working just fine a  few hours ago. I was on steam and it was running fine, then it locked up and I quit the program, and when I restarted it it wouldn't do anything but crash. So I uninstalled and it wouldn't let me re download the msi installer.

Thanks in advance!
petch Tuesday 31 December 2013 at 1:20
petch
Developer

Mmmmh did they backport something to make wxPython 2.8 crash like only wxPython 2.9 crashed before?
http://www.playonlinux.com/en/issue-2123.html

Editiert von: petch

oamarfaolan Tuesday 31 December 2013 at 1:44
oamarfaolanAnonymous

I'm not sure, thanks for the quick answer!
I tried to look it up but I'm not sure how to download the two items that poster said fixed his problem.

Like I said, I'm a super beginner when it comes to linux.
Rotis Monday 13 January 2014 at 2:23
RotisAnonymous

I had a similar problem when trying to install a different wine version in playonlinux.
The fix for me was to downgrade wxpython from 3.0.0.0-2 to 2.8.12.1-4
(running Arch Linux)

horsemanoffaith Monday 13 January 2014 at 4:58
horsemanoffaithAnonymous

Hey, Oamarfaolan, I just posted about this issue here on the POL forums. I have Ubuntu 12.04.3 LTS newly installed on my laptop, and I checked the versions of python-wxgtk and python-wxversion on my system and they are both listed at 2.8.12.1-6ubuntu2. I'm not sure how to check the versions of packages by command line (although I know it can be done), so I'll tell you how to find out the way I DO know how. You will need to install Synaptic Package Manager, because Ubuntu does not come with it by default. Ubuntu wants you to use the Software Center, and I find it to be EXTREMELY slow, so here is the command-line interface (CLI) version to get it done. Open a terminal (use Control-Alt-T), and type in sudo apt-get install synaptic. Once it's done, type in sudo synaptic. Once the software is open, you will have an information screen. Just click OK to close it. Once you do this, in the quick filter box (upper right hand portion of the window), type in wxPython. You should see a list of results in the box below where it says Package. Look for python-wxgtk and python-wxversion and see what versions are installed on your system- a green box to the left of the package says the package is installed, and to the right it gives you the installed version. If you have more than one version of python-wxgtk and python-wxversion, my bet is that you have the higher version installed and you need to downgrade. To do this using Synaptic, click on the green box next to the package you want to uninstall, and it will give you the option to mark the package for removal. Get those packages removed, then click on the empty boxes next to the packages you want to install. This will give you an option to install those packages, as well as telling you any dependencies those files need. Hopefully that will solve your problem!
horsemanoffaith Monday 13 January 2014 at 4:58
horsemanoffaithAnonymous

Sorry, for some reason it sent my last post twice! Weird!

Editiert von: horsemanoffaith

oamarfaolan Thursday 16 January 2014 at 7:52
oamarfaolanAnonymous

Thanks for the reply horsemanoffaith, I had given up hope haha. I tried this, it said I had 2.6 and 2.8, I tried to unistall 2.8 but then play on linux wouldn't work, and I tried to remove 2.6 and below is the error the terminal gave me when I tried installing anything through play on linux with just 2.8 and also with 2.6.

Oops, didn't notice but its giving me the same error except the line was line275, in timer action but its 281 in this one.

Traceback (most recent call last):
File "/usr/share/playonlinux/python/guiv3.py", line 281, in TimerAction
self.gauge.SetValue(self.downloader.nb_blocs)
File "/usr/local/lib/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py", line 900, in SetValue
return _controls_.Gauge_SetValue(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "pos <= m_rangeMax" failed at ../src/gtk/gauge.cpp(94) in SetValue(): invalid value in wxGauge::SetValue()

Editiert von: oamarfaolan