You are not logged in.

#1 2015-10-25 01:05:01

nogz
Member
Registered: 2015-10-15
Posts: 13

[SOLVED] (ish) cinnamon-settings unable to load

When trying to load the settings panel for cinnamon i get this error output:

/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 <module>
    modules = map(__import__, mod_files)
  File "/usr/lib/cinnamon-settings/modules/cs_user.py", line 9, in <module>
    import pexpect
  File "/usr/lib/python2.7/site-packages/pexpect/__init__.py", line 75, in <module>
    from .pty_spawn import spawn, spawnu
  File "/usr/lib/python2.7/site-packages/pexpect/pty_spawn.py", line 11, in <module>
    import ptyprocess
ImportError: No module named ptyprocess

I've tried the solution from this thread but it doesn't work: https://bbs.archlinux.org/viewtopic.php?id=160165

Last edited by nogz (2015-10-25 11:09:25)

Offline

#2 2015-10-25 03:25:37

AntsyAipom
Member
Registered: 2015-10-25
Posts: 1

Re: [SOLVED] (ish) cinnamon-settings unable to load

I also got this problem after upgrading to python2-pexpect-4.0-1. Downgrading to python2-pexpect-3.3-2 fixes the issue.

Offline

#3 2015-10-25 08:59:57

fromminttoarch
Member
From: Germany
Registered: 2015-10-25
Posts: 14

Re: [SOLVED] (ish) cinnamon-settings unable to load

I can confirm the problem and the workaround from AntsyAipom. I am running Cinnamon 2.6.13-3.

Offline

#4 2015-10-25 09:48:18

loqs
Member
Registered: 2014-03-06
Posts: 17,327

Re: [SOLVED] (ish) cinnamon-settings unable to load

python2-pexpect-4.0-1 now calls ptyprocess.  Installing python2-ptyprocess fixes the error.

Offline

#5 2015-10-25 09:55:45

nowahn
Member
From: elsewhere
Registered: 2008-12-05
Posts: 75

Re: [SOLVED] (ish) cinnamon-settings unable to load

Hi, duplicity triggers the same bug here, Installing python2-ptyprocess fixes it.
I filled a bug report: https://bugs.archlinux.org/task/46868


take time to daydream, inspiration comes ...

Offline

#6 2015-10-25 10:39:20

xxvirusxx
Member
From: Romania
Registered: 2013-09-09
Posts: 41

Re: [SOLVED] (ish) cinnamon-settings unable to load

Tested in virtualkbox Cinnamon using latest ISO, same errors but System Settings start

[arch@arch ~]$ cinnamon-settings
/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
Could not find bluetooth module; is the cinnamon-control-center package installed?
__init__ took 97.345 ms

Last edited by xxvirusxx (2015-10-25 10:44:27)

Offline

Board footer

Powered by FluxBB