-
Notifications
You must be signed in to change notification settings - Fork 732
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cinnamon-settings: No module named Image #2495
Comments
Unfortunately the problem still persists with |
I think it's a distro issue - they should change the dependency to python2-imaging. |
On Arch Linux python2-imaging was entirely replaced by python2-pillow and the first is considered depreciated. See this: https://www.archlinux.org/todo/replace-pil-with-pillow/ I still believe the error must be somewhere in the settings daemon. Because if I run the python2 interpreter, then I can import the Image module:
Any comments on that? I just noticed that there is also a repo for the cinnamon-settings-daemon. Should I file the report there [1]? |
Hmm... so are you saying you use python 3 normally? We use python 2 still for everything. |
nevermind... it works in python3 here, if i fix the /usr/bin/cinnamon-settings file print statements. I'm a bit stumped, I'd have to set up an arch vm to figure it out - have you spoken with the arch maintainer? He hasn't mentioned any issues that I know of. |
https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/cinnamon#n40 Looks like the repo version is changing all calls from python to python2 |
On Arch Linux We already discussed the issue on the Arch Linux bugtracker [1] but nobody can reproduce the error. That is why I believe the problem must be somewhere in the settings daemon and I lack an explanation why the interpreter can import the Image module but the settings-daemon cannot. |
cinnamon-settings-daemon is sort of a misnomer - it's not directly interacting with cinnamon-settings at all. Its job is to map various system configuration settings, and map them to gsettings, as well as provide handlers for things like media keys, etc... I'm not sure what's going on - if it works from an interpreter, it should work in the program itself. |
Bummer. If even you run out of ideas, then I don't know what else to try. I remember that the whole issue started with Cinnamon 2.0. Was there any major change related to PIL between 1.x and 2.0? |
There aren't any arch VM images floating around I could quickly setup are there? |
Can you use Virtualbox Images? Have a look here: http://virtualboxes.org/images/archlinux/#arch20130801 Thanks for your effort! 👍 |
I don't understand this. I have all of your python2 packages installed:
I also tried removing and reinstalling all of them. But the same result:
Argh! |
I created a new test user but the same error occurs there. Thus I would assume it is not a direct problem of my user config. Can it be a Can it be caused by some orphan I found these ones on my system:
|
Yes! I resolved the issue. 👍 It was indeed caused by these old Should probably Cinnamon itself take care of outdated pyc files? |
Issue:
Installed packages:
If I install
python2-imaging
, I can start cinnamon-settings. However, it conflicts withpython2-pillow
which is pulled as a dependency of cinnamon:The issue is further described in the Arch Linux bugtracker:
https://bugs.archlinux.org/task/37289
However, we did not come to a solution. Therefore I would like to hear what upstream says on this.
Thanks!
The text was updated successfully, but these errors were encountered: