• Cinnamon Settings no longer working


    My Cinnamon settings are no longer working. This appears to have occurred after an upgrade of python (this was the last update I did). Here is the output from cinnamon-settings panel:

    Python module
    /usr/lib/cinnamon-settings/cinnamon-settings.py:12: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
      from gi.repository import Gio, Gtk, GObject, GdkPixbuf, GLib, Pango, Gdk, cairo
    /usr/lib/cinnamon-settings/modules/cs_notifications.py:4: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
      from gi.repository import GObject, Notify
    /usr/lib/cinnamon-settings/modules/cs_power.py:4: PyGIWarning: CinnamonDesktop was imported without specifying a version first. Use gi.require_version('CinnamonDesktop', '3.0') before import to ensure that the right version gets loaded.
      from gi.repository import CinnamonDesktop, Gdk, UPowerGlib
    /usr/lib/cinnamon-settings/modules/cs_power.py:4: PyGIWarning: UPowerGlib was imported without specifying a version first. Use gi.require_version('UPowerGlib', '1.0') before import to ensure that the right version gets loaded.
      from gi.repository import CinnamonDesktop, Gdk, UPowerGlib
    /usr/lib/cinnamon-settings/modules/cs_user.py:4: PyGIWarning: AccountsService was imported without specifying a version first. Use gi.require_version('AccountsService', '1.0') before import to ensure that the right version gets loaded.
      from gi.repository import AccountsService, GLib
    Traceback (most recent call last):
      File "/usr/lib/cinnamon-settings/cinnamon-settings.py", line 38, in 
        modules = map(__import__, mod_files)
      File "/usr/lib/cinnamon-settings/modules/cs_user.py", line 9, in 
        import pexpect
      File "/usr/lib/python2.7/site-packages/pexpect/__init__.py", line 75, in 
        from .pty_spawn import spawn, spawnu
      File "/usr/lib/python2.7/site-packages/pexpect/pty_spawn.py", line 11, in 
        import ptyprocess
    ImportError: No module named ptyprocess
    

    Here are the list of packages that were updated:
    [2015-10-24 13:10] [ALPM] upgraded pygobject-devel (3.18.0-1 -> 3.18.1-1)
    [2015-10-24 13:10] [ALPM] upgraded python-gobject (3.18.0-1 -> 3.18.1-1)
    [2015-10-24 13:10] [ALPM] upgraded python2-gobject (3.18.0-1 -> 3.18.1-1)
    [2015-10-24 13:10] [ALPM] upgraded python2-pexpect (3.3-2 -> 4.0.1-1)
    [2015-10-24 13:10] [ALPM] transaction completed

  • @bmeister Confirm that.

    Unfortunately, neither cinnamon-settings nor any of its submodules (backgrounds, effects, fonts, themes, accessibility, desktop, etc.) can be executed anymore.

    I think the problem is caused by the python2-pexpect package, which was upgraded from 3.3-2 to 4.0.1-1.

    Downgrading the package back to 3.3-2 makes cinnamon-settings and all its submodules work again.

    If you opt for this temporarily workaround, remember to pin the downgraded package with IgnorePkg= in /etc/pacman.conf. Otherwise, Antergos will re-propose to upgrade it to 4.0.1-1 on every login into Cinnamon.

  • It looks like a required part of the python-pexpect module was split off into its own module. You can resolve the issue by installing the new module:

    sudo pacman -S python2-ptyprocess
    

    Cheers!

  • @lots.0.logs Very elegant and perfectly working solution!

    Thank you, Dustin.

  • @lots.0.logs Thank you! That solved the issue.

settings4 Posts 5Views 1928
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.