[Python-apps-team] Bug#811184: Phatch not loading Debian Stretch

john info at scotlandsartists.com
Sat Jan 16 16:06:35 UTC 2016


Package: phatch
Version: 0.2.7.1-3.1
Severity: serious
Justification: renders package unusable

Dear Maintainer,
  
On Clean install of 'Stretch'

     Problem:  'Phatch' fails to load displaying only the 'Phatch'
     icon in centre of screen.

     


     Repeatable: Yes, same problem on laptop running 'Stretch'

     

     Tried from Command line,  same, output below.

     

     /usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py:8196:
     GtkWarning: gtk_disable_setlocale() must be called before gtk_init()

     return _core_.PyApp__BootstrapApp(*args, **kwargs)

     Traceback (most recent call last):

     File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py",
     line 16765, in <lambda>

     lambda event: event.callable(*event.args, **event.kw) )

     File "/usr/share/phatch/phatch/pyWx/gui.py", line 1218, in
     show_frame

     frame = Frame(self.filename, None, -1, ct.TITLE)

     File "/usr/share/phatch/phatch/pyWx/gui.py", line 327, in __init__

     frame.Frame.__init__(self, *args, **keyw)

     File "/usr/share/phatch/phatch/pyWx/wxGlade/frame.py", line 141, in
     __init__

     self.tree = Tree(self, -1,
style=wx.TR_HAS_BUTTONS|wx.TR_NO_LINES|wx.TR_FULL_ROW_HIGHLIGHT|wx.TR_HIDE_ROOT|wx.TR_DEFAULT_STYLE|wx.SUNKEN_BORDER)

     File "/usr/share/phatch/phatch/pyWx/wxGlade/frame.py", line 26, in
     __init__

     set_dirty = parent.set_dirty,

     File "/usr/share/phatch/phatch/lib/pyWx/treeEdit.py", line 96, in
     __init__

     self.CreateImageList(icon_size)

     File "/usr/share/phatch/phatch/lib/pyWx/treeEdit.py", line 111, in
     CreateImageList

     self._AddFormToImageList(form, icon_size, icon_disabled)

     File "/usr/share/phatch/phatch/lib/pyWx/treeEdit.py", line 120, in
     _AddFormToImageList

     wx_image = pil_wxImage(wxImage_pil(wx_image).resize(icon_size,\

     File "/usr/share/phatch/phatch/lib/pyWx/wxPil.py", line 46, in
     wxImage_pil

     image.fromstring(wx_image.GetData())

     File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 737, in 
fromstring "Please call frombytes() instead.") Exception: fromstring() 
has been removed. Please call frombytes() instead.

     

     

     Posted on Debian > 'General Questions' Forum advised by
     Stevepusser "try editing line 737 in that file, replacing fromstring
     with frombytes"

     

     This failed replacing text red above with:

     

     File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 626, in
     __getattr__

         raise AttributeError(name)

     AttributeError: fromstring

     

     Advised to post Bug report.  Apologies if this report is not in the
     correct format but this is my first.

     

     Regards

     John




-
www.scotlandsartists.com - A directory of Scotland's Visual Artists
Prints for sale from a selection of artists on website
Original Art
Giclée printing up to A1
Print mounting
Art Cards in various sizes
Artwork Photography
Websites
Find us on Facebook 
<http://www.facebook.com/pages/Scotlands-Artists/199154623500755>
Follow us on Twitter <https://twitter.com/ScotlandsArtist>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20160116/21c59e4a/attachment.html>


More information about the Python-apps-team mailing list