[Freewx-maint] Bug#698198: Reopen #698198 - img2py: fails when DISPLAY is unset

Olly Betts olly at survex.com
Tue Oct 21 01:29:10 UTC 2014


Control: reopen -1
Control: reassign -1 python-wxtools
Control: found -1 3.0.1.1+dfsg-2

On Sun, Jun 09, 2013 at 12:39:09AM +0000, Debian Bug Tracking System wrote:
> This is an automatic notification regarding your Bug report
> which was filed against the python-wxgtk2.8 package:
> 
> #698198: img2py: fails when DISPLAY is unset

This patch breaks converting any filetype other than PNG, which seems a
worse problem than requiring an X display, especially since the latter
can be easily worked around with xvfb like so:

xvfb-run img2py input.gif output.py

So I've reverted it in the latest wxpython3.0 upload.

I think this could be fixed by using wx.Image instead of wx.Bitmap, but
I'm not confident about making that change so close to the release
freeze.  I've sent a patch upstream for comments though:

http://trac.wxwidgets.org/ticket/15483#comment:6

Cheers,
    Olly



More information about the Freewx-maint mailing list