← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 1687023] [NEW] Installed on Ubuntu 14.04 LTS and the program fails on startup

 

Public bug reported:

There were no installation issues. I am using python 2.7.3. When I run
phatch from the command line I get this error:

mark@tsunami:~$ phatch
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14665, in <lambda>
    lambda event: event.callable(*event.args, **event.kw) )
  File "/usr/share/phatch/phatch/pyWx/gui.py", line 1221, 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/local/lib/python2.7/dist-packages/PIL/Image.py", line 746, in fromstring
    "Please call frombytes() instead.")
Exception: fromstring() has been removed. Please call frombytes() instead.

An icon for the program appears on my screen, but that is all. I have to
kill the program from the command line to get rid if the icon.

** Affects: phatch (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to phatch in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/1687023

Title:
  Installed on Ubuntu 14.04 LTS and the program fails on startup

Status in phatch package in Ubuntu:
  New

Bug description:
  There were no installation issues. I am using python 2.7.3. When I run
  phatch from the command line I get this error:

  mark@tsunami:~$ phatch
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14665, in <lambda>
      lambda event: event.callable(*event.args, **event.kw) )
    File "/usr/share/phatch/phatch/pyWx/gui.py", line 1221, 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/local/lib/python2.7/dist-packages/PIL/Image.py", line 746, in fromstring
      "Please call frombytes() instead.")
  Exception: fromstring() has been removed. Please call frombytes() instead.

  An icon for the program appears on my screen, but that is all. I have
  to kill the program from the command line to get rid if the icon.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/phatch/+bug/1687023/+subscriptions


Follow ups