Description of problem: Phatch fails to launch the gui that makes the program software usable. Below is the error when launching from commandline: /usr/lib/python2.7/site-packages/phatch/lib/notify.py:24: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded. import gi.repository.Notify as pynotify Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk3/wx/_core.py", line 16765, in <lambda> lambda event: event.callable(*event.args, **event.kw) ) File "/usr/lib/python2.7/site-packages/phatch/pyWx/gui.py", line 1218, in show_frame frame = Frame(self.filename, None, -1, ct.TITLE) File "/usr/lib/python2.7/site-packages/phatch/pyWx/gui.py", line 327, in __init__ frame.Frame.__init__(self, *args, **keyw) File "/usr/lib/python2.7/site-packages/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/lib/python2.7/site-packages/phatch/pyWx/wxGlade/frame.py", line 26, in __init__ set_dirty = parent.set_dirty, File "/usr/lib/python2.7/site-packages/phatch/lib/pyWx/treeEdit.py", line 96, in __init__ self.CreateImageList(icon_size) File "/usr/lib/python2.7/site-packages/phatch/lib/pyWx/treeEdit.py", line 111, in CreateImageList self._AddFormToImageList(form, icon_size, icon_disabled) File "/usr/lib/python2.7/site-packages/phatch/lib/pyWx/treeEdit.py", line 120, in _AddFormToImageList wx_image = pil_wxImage(wxImage_pil(wx_image).resize(icon_size,\ File "/usr/lib/python2.7/site-packages/phatch/lib/pyWx/wxPil.py", line 45, in wxImage_pil image = Image.new('RGB', size) File "/usr/lib64/python2.7/site-packages/PIL/Image.py", line 2287, in new _check_size(size) File "/usr/lib64/python2.7/site-packages/PIL/Image.py", line 2262, in _check_size raise ValueError("Size must be a tuple") ValueError: Size must be a tuple Version-Release number of selected component (if applicable):0.2.7 How reproducible: Very reproducible Steps to Reproduce: 1. Install phatch 2. Launch phatch 3. Actual results: All you will see from the eye logo floating in space. There will be no window or menus in which to interact with. Workaround: Add 'Get()' to the end of line 44 in the file below /usr/lib/python2.7/site-packages/phatch/lib/pyWx/wxPil.py The edited line should look like: size = wx_image.GetSize().Get() Save, relaunch phatch and now it works.
> Workaround: Add 'Get()' to the end of line 44 in the file below > > /usr/lib/python2.7/site-packages/phatch/lib/pyWx/wxPil.py > > The edited line should look like: > > size = wx_image.GetSize().Get() > > Save, relaunch phatch and now it works. Thanks for that Lucious ! That worked very well. RolandC.
This bug also exist on F29 Thanks to Lucious, your workaround did also well on F29. Eric
Code is here, but looks abandoned: https://code.launchpad.net/phatch Any volunteers? I don't know Python.
This message is a reminder that Fedora 28 is nearing its end of life. On 2019-May-28 Fedora will stop maintaining and issuing updates for Fedora 28. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '28'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 28 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.