Created attachment 1113300 [details] Patch to solve the problem Description of problem: phatch doesn't start, I attached the patch to solve the problem Version-Release number of selected component (if applicable): phatch-cli-0.2.7-22.fc23.noarch How reproducible: Steps to Reproduce: 1.start phatch 2. 3. Actual results: Expected results: Additional info: 11:55:36: Warning: Mismatch between the program and library build versions detected. The library used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8), and wxPython used 3.0 (wchar_t,compiler with C++ ABI 1008,wx containers,compatible with 2.8). /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 16762, 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 46, in wxImage_pil image.fromstring(wx_image.GetData()) File "/usr/lib64/python2.7/site-packages/PIL/Image.py", line 737, in fromstring "Please call frombytes() instead.") Exception: fromstring() has been removed. Please call frombytes() instead.
Created attachment 1113308 [details] Patch the correct one Sorry the previous patch included things from the patch in the rpm, I uploaded a new one
Hi, We have encountered the same issue on Mageia and I confirm that the proposed patch fixes properly this issue. For reference: http://svnweb.mageia.org/packages/cauldron/phatch/current/SOURCES/phatch-deprecated-fromstring-and-tostring-call.patch?view=markup&pathrev=1037737
It's possible someone update this package with the patch? two releases of Fedora and the bug is still there, there are no reason to ship a software that doesn't run for so long when there are a patch and is trivial to apply :( Thanks
Maybe this helps: https://fedoraproject.org/wiki/Package_maintainer_policy#What_to_do_if_a_maintainer_is_absent
Dear Jaromír Cápík, This is the last attempt to contact you, I already sent you a mail without success, if this ticket is not updated, I will start the procedure "What to do if a maintainer is absent". Thanks
Hello Nuno. The patch looks ok.
I'll apply the patch this evening. Sorry for the delay.
In my case the patch doesn't work like expected. Going to update to the latest versions of components.
Well. It looks like your patch modifies just a backup of the wxPil.py source, called wxPil.py.orig. What needs to be modified is the wxPil.py source.
Created attachment 1192561 [details] phatch-0.2.7-fromstring-tostring-deprecated.patch This one would work.
phatch-0.2.7-26.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-7347e3f695
phatch-0.2.7-26.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-7b0204f056
phatch-0.2.7-26.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-71d885a072
*** Bug 1327151 has been marked as a duplicate of this bug. ***
Koji build tested and works. Hope you're doing well. I'm not.
phatch-0.2.7-26.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-7347e3f695
phatch-0.2.7-26.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-71d885a072
phatch-0.2.7-26.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-7b0204f056
phatch-0.2.7-26.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
phatch-0.2.7-26.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
phatch-0.2.7-26.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.