Solved!
Workaround: Modify "tostring" for "tobytes" and "fromstring" for
"frombytes" in the file /usr/share/phatch/phatch/lib/pyWx/wxPil.py
27c27
< wx_image.SetData(image.convert("RGB").tostring())
---
> wx_image.SetData(image.convert("RGB").tobytes())
30c30
< image.convert("RGBA").split()[-1].tostring())
---
> image.convert("RGBA").split()[-1].tobytes())
34c34
< data = new_image.tostring()
---
> data = new_image.tobytes()
46c46
< image.fromstring(wx_image.GetData())
---
> image.frombytes(wx_image.GetData())
50c50
< alpha.fromstring(wx_alpha)
---
> alpha.frombytes(wx_alpha)
Thanks to Francesc Busquets
https://launchpad.net/~francesc.busquets
** Patch added: "phatch.diff"
https://bugs.launchpad.net/ubuntu/+source/phatch/+bug/1567827/+attachment/4654235/+files/phatch.diff
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1567827
Title:
on ubuntu 16.04, phatch freezes at startup
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/phatch/+bug/1567827/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs