Describe the bug
running an app with pillow crashes with the following error
[helloworld] Starting app...
Traceback (most recent call last):
File "/tmp/.mount_Hello_dZoYVA/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/tmp/.mount_Hello_dZoYVA/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/tmp/.mount_Hello_dZoYVA/usr/app/helloworld/__main__.py", line 4, in <module>
main()
File "/tmp/.mount_Hello_dZoYVA/usr/app/helloworld/app.py", line 9, in main
from PIL import Image
File "/tmp/.mount_Hello_dZoYVA/usr/app_packages/PIL/Image.py", line 94, in <module>
from . import _imaging as core
ImportError: libxcb-2dfad6c3.so.1.1.0: ELF load command address/offset not properly aligned
To Reproduce
Steps to reproduce the behavior:
- clone https://github.com/jgirardet/briefpil
- create env, activate, pip install briefcase
- briefcase create && briefcase build && briefcase run
- See error
Environment:
- Operating System: ubuntu 19.10
- Python version: 3.8
- Software versions:
- Briefcase: 0.3.3
- Pillow: 7.2
Additional context
adding line 184
:
so_folders.remove(self.appdir_path(app) / "usr/app_packages/PIL")
fixes the crash, I have no clear idea why.
full log: scratch_1.txt
Describe the bug
running an app with pillow crashes with the following error
To Reproduce
Steps to reproduce the behavior:
Environment:
Additional context
adding line 184
briefcase/src/briefcase/platforms/linux/appimage.py
Line 184 in 2259199
fixes the crash, I have no clear idea why.
full log: scratch_1.txt