Bug 22070 - Phatch block at beginning
Summary: Phatch block at beginning
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA6-32-OK MGA6-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2017-11-22 22:07 CET by Jean Louis Baule
Modified: 2017-12-02 00:14 CET (History)
5 users (show)

See Also:
Source RPM: phatch-0.2.7.1-14.mga6
CVE:
Status comment:


Attachments

Description Jean Louis Baule 2017-11-22 22:07:08 CET
Description of problem:


Phatch V0.2.7.1 rev 14.mga6 :

When it begin:

[papymag5@localhost ~]$ LC_ALL=C phatch
/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629: UserWarning: wxPython/wxWidgets release number mismatch
  warnings.warn("wxPython/wxWidgets release number mismatch")

(phatch:28790): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",

(phatch:28790): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
/usr/lib64/python2.7/site-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/lib64/python2.7/site-packages/wx-3.0-gtk2/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 45, in wxImage_pil
    image = Image.new('RGB', size)
  File "/usr/lib64/python2.7/site-packages/PIL/Image.py", line 2021, in new
    _check_size(size)
  File "/usr/lib64/python2.7/site-packages/PIL/Image.py", line 1997, in _check_size
    raise ValueError("Size must be a tuple")
ValueError: Size must be a tuple


I have make this command  and the result is : 
[root@localhost papymag5]# LC_ALL=C rpm -qa|grep -i wx
wxPython-3.0.2.0-8.mga6
lib64wxgtku2.8_0-2.8.12-19.mga6
wxgtk-3.0.3.1-1.mga6
wxPython-wxversion-3.0.2.0-8.mga6
lib64wxgtkugl3.0_0-3.0.3.1-1.mga6
wxgtk2.8-2.8.12-19.mga6
lib64wxgtku3.0_0-3.0.3.1-1.mga6
[root@localhost papymag5]# 

and the program is blocked
Comment 1 Marja Van Waes 2017-11-23 06:54:12 CET
Assigning to the registered phatch maintainer.

@ Jean Louis

You're using Mageia 6, right?

Version: unspecified => 6
CC: (none) => marja11
Assignee: sysadmin-bugs => geiger.david68210
Source RPM: Phatch V0.2.7.1 rev 14.mga6 => phatch-0.2.7.1-14.mga6
Product: Infrastructure => Mageia
Component: Bugzilla => RPM Packages

Marja Van Waes 2017-11-23 06:54:23 CET

CC: sysadmin-bugs => (none)

Comment 2 Jean Louis Baule 2017-11-23 08:55:45 CET
Hi Marja,
Yes, i'm using the last Mageia6
Comment 3 papoteur 2017-11-23 14:28:08 CET
Confirmed on my side.

CC: (none) => yves.brungard_mageia

Comment 4 David GEIGER 2017-11-23 18:36:31 CET
Should be fixed with phatch-0.2.7.1-14.1.mga6 in mga6/Core/Updates_testing repo.

Please test it!
Comment 5 Jean Louis Baule 2017-11-23 21:23:17 CET
I tested and
it's good, the program is working again
Thank's

What is the procedure now, are you going to put it in mageia6 mirrors?
Comment 6 David GEIGER 2017-11-24 18:53:22 CET
Assigning to QA,


Advisory:
========================

Our current phatch package doesn't work due to a breaking change to the PIL library:
The wxPython library wraps image sizes in a wx.Size object, a class
which provides the __len__ and accessor methods expected for a tuple.
There's been a breaking change to the PIL library, which now
explicitly checks the type of the size passed to it, and rejects
anything which is not a tuple or a list.

This update adds a call to wx.Size.Get(), which returns the size as a
tuple.


========================

Packages in 6/core/updates_testing:
========================
phatch-0.2.7.1-14.1.mga6.i586.rpm
phatch-0.2.7.1-14.1.mga6.x86-64.rpm

Source RPM: 
========================
phatch-0.2.7.1-14.1.mga6.src.rpm

Assignee: geiger.david68210 => qa-bugs

Comment 7 Herman Viaene 2017-11-30 12:13:12 CET
MGA6-32 on Dell Latitude D600 MATE
No installation issues.
Launching from CLI gives loads of:
find: ‘/proc/1219/fdinfo’: Toegang geweigerd
find: ‘/proc/1219/ns’: Toegang geweigerd
find: ‘/proc/1222/task/1222/fd’: Toegang geweigerd
find: ‘/proc/1222/task/1222/fdinfo’: Toegang geweigerd
find: ‘/proc/1222/task/1222/ns’: Toegang geweigerd
i.e. Access denied
but at the end the GUI starts and I could pick an action from the list, but where to apply it is not very obvious. I won't spend time on looking this up, it starts and I can do things, so should be OK.

CC: (none) => herman.viaene
Whiteboard: (none) => MGA6-32-OK

Comment 8 Dave Hodgins 2017-11-30 20:15:16 CET
Similar result on MGA6-64. Advisory committed to svn. Validating the update.

Whiteboard: MGA6-32-OK => MGA6-32-OK MGA6-64-OK
CC: (none) => davidwhodgins, sysadmin-bugs
Keywords: (none) => advisory, validated_update

Comment 9 Mageia Robot 2017-12-02 00:14:15 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2017-0121.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.