[winswitch] RHEL 6/Xpra 1.x - Problems with python2-pillow

Antoine Martin antoine at nagafix.co.uk
Fri Nov 23 12:57:08 GMT 2018

On 23/11/2018 19:49, Antoine Martin via shifter-users wrote:
> On 23/11/2018 19:13, Thomas Mainka via shifter-users wrote:
>> Hello,
>> for some reason after an upgrade to Xpra on RHEL 6 went a bit flakey,
>> sometimes displaying white/black windows. From digging around in the
>> log files there seems to be an unmet dependency in the
>> python2-pillow-4.3.0-1.el6_10.x86_64.rpm package that gets installed:
>> Traceback (most recent call last):
>>   File "/usr/lib64/python2.6/site-packages/xpra/server/source.py",
>> line 1687, in do_send_cursor
>>     from PIL import Image
>>   File "/usr/lib64/python2.6/site-packages/PIL/Image.py", line 56, in <module>
>>     from . import _imaging as core
>> ImportError: /usr/lib64/python2.6/site-packages/PIL/_imaging.so:
>> undefined symbol: PyCapsule_New
>> PyCapsules are a Python 2.7 thing, while the Python on RHEL 6 is still
>> 2.6.6 - am I missing something, or is Xpra on EL6 supposed to run with
>> a different Python version?
> That's odd, but it does ring a bell.
> Can you try downgrading python-pillow to version 3.4.2 to see if that
> fixes it?
In fact, you should not have installed 4.3.0 as it was not in the CentOS
6.10 repository metadata, only in the download folder.

And the reason for that is that although the package does build OK, it
does not run, as you found out.


More information about the shifter-users mailing list