Bug#757429: playonlinux: Please update to use wxpython3.0

2014-08-17 Thread Olly Betts
Control: severity -1 important

On Sat, Aug 16, 2014 at 01:57:26PM +0200, Marc Dequènes (Duck) wrote:
 Any run now goes wild in an infinite loop with this error message:
   Looking for python... 2.7.8 - selected
   Traceback (most recent call last):
 File mainwindow.py, line 34, in module
   import wx, wx.aui
   ImportError: No module named wx
 
 Reverting python-wxversion to 2.8.12.1+dfsg2-1 from snapshot fixed the
 problem, but currently this package is unusable.

This is due to a bug in python-wxversion, not playonlinux - see #758209,
which I've just uploaded a fix for to unstable.

The fix should be available very shortly.  Meanwhile, if you want a
simple workaround, installing python-wxgtk3.0 should allow playonlinux
to run.

Cheers,
Olly


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#757429: playonlinux: Please update to use wxpython3.0

2014-08-17 Thread Marc Dequènes (Duck)

Coin,

Quoting Olly Betts o...@survex.com:


This is due to a bug in python-wxversion, not playonlinux - see #758209,
which I've just uploaded a fix for to unstable.


Thanks for your reply. I though it was directly linked to this bug.


The fix should be available very shortly.  Meanwhile, if you want a
simple workaround, installing python-wxgtk3.0 should allow playonlinux
to run.


Working fine.

Regards.

--
Marc Dequènes (Duck)



pgp6qzCOIE7FQ.pgp
Description: PGP Digital Signature


Bug#757429: playonlinux: Please update to use wxpython3.0

2014-08-16 Thread Marc Dequènes (Duck)

Control: severity -1 grave


Coin,

Any run now goes wild in an infinite loop with this error message:
  Looking for python... 2.7.8 - selected
  Traceback (most recent call last):
File mainwindow.py, line 34, in module
  import wx, wx.aui
  ImportError: No module named wx

Reverting python-wxversion to 2.8.12.1+dfsg2-1 from snapshot fixed the  
problem, but currently this package is unusable.


Regards.

--
Marc Dequènes (Duck)



pgpLb1hNeRcFg.pgp
Description: PGP Digital Signature


Bug#757429: playonlinux: Please update to use wxpython3.0

2014-08-09 Thread Bertrand Marc
Hi Olly,

Thank for the patch. Unfortunately, a quick test shows a few blocking
issues. The layout of the windows is different with wxpython3.0 and
sometimes buttons or labels are hidden because of this. For instance,
labels in the install window are partly hidden and therefore
unreadable. But the worst is that it is not possible to install any
program, as the continue button is hidden in the installation process.

You could try to install Notepad++ for instance, this will only download
free (GPL) material. If you are too scared by third party script, I
suggest you use a VM.

I will submit the issue upstream, but I fear it won't be done before the
freeze.

Cheers,
Bertrand


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#757429: playonlinux: Please update to use wxpython3.0

2014-08-07 Thread Olly Betts
Package: playonlinux
Version: 4.2.3-1
Severity: important
Tags: patch sid jessie
User: freewx-ma...@lists.alioth.debian.org
Usertags: wxpy3.0
Control: block 755757 by -1

We're aiming to migrate the archive to using wxpython3.0 instead of
wxwidgets2.8, and hope to drop wxwidgets2.8 before jessie is released.

I've attached a patch which updates the dependency on python-wxgtk2.8 to
python-wxgtk3.0, and updates a constant to be compatible with
wxpython3.0.  I didn't test the rebuilt package due to the scary
disclaimer (and it would be much better tested by someone who actually
uses it and owns some windows games):

| Disclaimer: PlayOnLinux downloads and execute unchecked third-party
| scripts.

If you hit any problems you can't easily solve, let me know and I can
try to help.

Cheers,
Olly

diff -Nru playonlinux-4.2.3/debian/changelog playonlinux-4.2.3/debian/changelog
--- playonlinux-4.2.3/debian/changelog	2014-07-13 22:15:31.0 +1200
+++ playonlinux-4.2.3/debian/changelog	2014-08-08 12:46:55.0 +1200
@@ -1,3 +1,11 @@
+playonlinux (4.2.3-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Update to depend on python-wxgtk3.0 rather than python-wxgtk2.8.
++ New patch wxpy3.0-compat.patch.
+
+ -- Olly Betts o...@survex.com  Fri, 08 Aug 2014 12:46:39 +1200
+
 playonlinux (4.2.3-1) unstable; urgency=medium
 
   * New upstream release (Closes: #749135).
diff -Nru playonlinux-4.2.3/debian/control playonlinux-4.2.3/debian/control
--- playonlinux-4.2.3/debian/control	2014-01-26 00:54:03.0 +1300
+++ playonlinux-4.2.3/debian/control	2014-08-08 12:45:30.0 +1200
@@ -11,7 +11,7 @@
 
 Package: playonlinux
 Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, wine|wine-unstable, unzip, wget, xterm|x-terminal-emulator, python-wxgtk2.8, imagemagick, cabextract, mesa-utils, gettext-base, binutils, gnupg, icoutils, x11-utils, curl, netcat, bzip2, p7zip-full
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, wine|wine-unstable, unzip, wget, xterm|x-terminal-emulator, python-wxgtk3.0, imagemagick, cabextract, mesa-utils, gettext-base, binutils, gnupg, icoutils, x11-utils, curl, netcat, bzip2, p7zip-full
 Suggests: ttf-mscorefonts-installer, scrot
 Description: front-end for Wine
  PlayOnLinux is a front-end for wine. It permits you to easily install Windows
diff -Nru playonlinux-4.2.3/debian/patches/series playonlinux-4.2.3/debian/patches/series
--- playonlinux-4.2.3/debian/patches/series	2013-05-05 04:34:34.0 +1200
+++ playonlinux-4.2.3/debian/patches/series	2014-08-08 12:44:21.0 +1200
@@ -1,2 +1,3 @@
 set_debian_env.diff
 remove_binary_plugin.diff
+wxpy3.0-compat.patch
diff -Nru playonlinux-4.2.3/debian/patches/wxpy3.0-compat.patch playonlinux-4.2.3/debian/patches/wxpy3.0-compat.patch
--- playonlinux-4.2.3/debian/patches/wxpy3.0-compat.patch	1970-01-01 12:00:00.0 +1200
+++ playonlinux-4.2.3/debian/patches/wxpy3.0-compat.patch	2014-08-08 12:46:30.0 +1200
@@ -0,0 +1,17 @@
+Description: Compatibility fixes for wxPython 3.0
+ Note: This change maintains compatibility with 2.8.
+Author: Olly Betts o...@survex.com
+Forwarded: no
+Last-Update: 2014-08-07
+
+--- playonlinux-4.2.3.orig/python/mainwindow.py
 playonlinux-4.2.3/python/mainwindow.py
+@@ -688,7 +688,7 @@ class MainWindow(wx.Frame):
+ \|JPG (*.jpg)|*.jpg;*.JPG\
+ \|BMP (*.bmp)|*.bmp;*.BMP\
+ \|JPEG (*.jpeg)|*.jpeg;*JPEG
+-self.IconDialog = wx.FileDialog(self, Choose a icon file, self.IconDir, , self.SupprotedIconExt, wx.OPEN | wx.FD_PREVIEW)
++self.IconDialog = wx.FileDialog(self, Choose a icon file, self.IconDir, , self.SupprotedIconExt, wx.FD_OPEN | wx.FD_PREVIEW)
+ if self.IconDialog.ShowModal() == wx.ID_OK:
+ self.IconFilename=self.IconDialog.GetFilename()
+ self.IconDirname=self.IconDialog.GetDirectory()