Comments (11)
This line is causing segfault:
Line 17 in 9464764
Adding
import sys;sys.exit(1)
in front of it stops segfaults.Looks like it's not azote issue.
Though this works:
$ python
Python 3.9.6 (default, Jun 30 2021, 10:22:16)
[GCC 11.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from PIL import Image, ImageOps
>>>
from azote.
Haven't you by any chance installed the PIL library with pip install pil
?
from azote.
What do you mean? I have Pillow
installed.
from PIL import __version__
>>> print(__version__)
8.3.1
from azote.
python-pillow is the fork of the PIL library, which we need. PIL is in conflict with python-pillow.
from azote.
I don't have old 2006 library as I shown in previous message
from azote.
Well, no idea at the moment. Works for me as well on sway, as X11. Since it dies for you that early, I suppose you have nothing in ~/.local/share/azote/log.txt
?
from azote.
No, nothing, since it dies on import phase, not even getting to main()
from azote.
So this sequence of imports reliably produces segfault for me:
from PIL import Image
from gi.repository import Gtk
from PIL import ImageOps
I created issue in Pillow repo: python-pillow/Pillow#5637
from azote.
BTW: ImageOps seems to be unnecessary. I'll check again to make sure, but it seems I should delete it.
from azote.
Yeah, they are not used. Removing ImageOps fixes issue for me
from azote.
Very well. I'll remove them.
from azote.
Related Issues (20)
- Azote crashes if a display is connected but not enabled. HOT 6
- Screen turns black when the app launch HOT 4
- [python 3.9] No Such File or Directory HOT 10
- It doesn't launch on River HOT 10
- Newer sway/wlroots name certain outputs randomly causing displays not to have a bg image HOT 13
- Python setup.py test Error with [email protected]:No module named 'gi',No module named 'common' HOT 2
- Support XDG Base Directory specification HOT 3
- Make azote work with swaylock somehow HOT 4
- [Future] Port To GTK4 HOT 8
- `KeyError: 'generic-name'` when trying to set wallpaper from an image HOT 5
- Using generic display names doesn't work for my laptop's built-in display HOT 1
- Animated wallpapers HOT 1
- Regression: .azotebg broken due to #166 HOT 2
- Cant run azote HOT 2
- setup.py installation error HOT 5
- Add recursive wallpaper search HOT 1
- cannot use "Split selection between displays" HOT 3
- Set screens with wildcard [FEATURE REQUEST] HOT 2
- Monitor identifiers wrong/reversed HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azote.