You are not logged in.

#1 2017-01-06 15:08:49

achilleas8095
Member
Registered: 2015-08-21
Posts: 5

Cinnamon settings doesn't work after last update

Hello guys
After last update cinnamon (cinnamon 3.2.7-1) i can't launch system settings.
When i try to run command cinnamon-settings i get:

❯ cinnamon-settings 
Traceback (most recent call last):
  File "/usr/bin/cinnamon-settings", line 26, in <module>
    os.execvp("/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", ("",) + tuple(sys.argv[1:]))
  File "/usr/lib/python3.6/os.py", line 559, in execvp
    _execvpe(file, args)
  File "/usr/lib/python3.6/os.py", line 583, in _execvpe
    exec_func(file, *argrest)
ValueError: execv() arg 2 first element cannot be empty

It looks like python related problem but as a newbie i don't know what to do!
Any advice?

Offline

#2 2017-01-06 16:54:54

Podesta
Member
Registered: 2017-01-06
Posts: 2

Re: Cinnamon settings doesn't work after last update

Downgrading python (3.6.0-1=>3.5.2-3) worked for me. You may have to downgrade some other stuff as well that depend on the newest version of python.

Offline

#3 2017-01-06 17:07:31

vitalogy
Member
Registered: 2017-01-06
Posts: 1

Re: Cinnamon settings doesn't work after last update

Offline

#4 2017-01-06 17:49:39

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

Re: Cinnamon settings doesn't work after last update

Offline

#5 2017-01-06 18:34:29

achilleas8095
Member
Registered: 2015-08-21
Posts: 5

Re: Cinnamon settings doesn't work after last update

Podesta wrote:

Downgrading python (3.6.0-1=>3.5.2-3) worked for me. You may have to downgrade some other stuff as well that depend on the newest version of python.

Thanks a lot you saved my day!!

Offline

#6 2017-01-06 19:06:04

zquestz
Member
Registered: 2017-01-06
Posts: 1

Re: Cinnamon settings doesn't work after last update

Better solution is just to apply this patch for now. https://github.com/linuxmint/Cinnamon/c … a9d2855f45

It takes about 2 minutes to fix, then the next release of the cinnamon packages should work fine.

Offline

#7 2017-01-06 19:08:30

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: Cinnamon settings doesn't work after last update

Downgrading python is going to break a LOT of other things. zquestz's solution is much better until the maintainer fixes it.

Offline

#8 2017-01-06 20:33:04

nathanb
Member
Registered: 2011-11-28
Posts: 101
Website

Re: Cinnamon settings doesn't work after last update

I can verify that by manually editing the files and applying the fixes in the patch, everything works again. I have yet to notice any negative side effects.

Thanks zquestz!

Offline

#9 2017-01-06 21:27:10

Batou
Member
Registered: 2017-01-03
Posts: 259

Re: Cinnamon settings doesn't work after last update

Anyone tried linking python to python2 instead of python3? I know that Arch is one of the few distros that defaults to python3 so I wonder if that would break something else.


Please vote for all the AUR packages you're using. You can mass-vote for all of them by doing: "pacman -Qqm | xargs aurvote -v" (make sure to run "aurvote --configure"  first)

Offline

#10 2017-01-06 21:32:07

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: Cinnamon settings doesn't work after last update

Batou wrote:

Anyone tried linking python to python2 instead of python3?

That would break even more things than the downgrading suggestion.

Offline

#11 2017-01-06 21:42:27

Batou
Member
Registered: 2017-01-03
Posts: 259

Re: Cinnamon settings doesn't work after last update

Scimmia wrote:
Batou wrote:

Anyone tried linking python to python2 instead of python3?

That would break even more things than the downgrading suggestion.

I tried it. Didn't fix the issue at all but I have no idea what else it broke. I went back to python3. Hope the changes appear in AUR soon.


Please vote for all the AUR packages you're using. You can mass-vote for all of them by doing: "pacman -Qqm | xargs aurvote -v" (make sure to run "aurvote --configure"  first)

Offline

#12 2017-01-06 22:20:52

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

Re: Cinnamon settings doesn't work after last update

Offline

#13 2017-01-06 22:23:57

Batou
Member
Registered: 2017-01-03
Posts: 259

Re: Cinnamon settings doesn't work after last update

Beautiful! Thank you so much!


Please vote for all the AUR packages you're using. You can mass-vote for all of them by doing: "pacman -Qqm | xargs aurvote -v" (make sure to run "aurvote --configure"  first)

Offline

#14 2017-01-07 11:20:24

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

Re: Cinnamon settings doesn't work after last update

@Batoo re https://bbs.archlinux.org/viewtopic.php … 8#p1681738
you appear to have missed reading https://wiki.archlinux.org/index.php/ABS or the further links covering maekpkg and PKGBUILD
Assuming you have abs base and base-devel installed (and python3.6 is the currently installed version) then

# abs community/cinnamon
$ cp -r /var/abs/community/cinnamon .
$ cd cinnamon

edit PKGBUILD
add new source

        "https://github.com/linuxmint/Cinnamon/commit/3936ac1e355e9a5f1c2edd1aae4e6da9d2855f45.patch"

its checksum

            '83b6c41300a90ab8c758f028abba3f51155614b4e86ceb8ac4f0e012447ef58d'

apply patch in prepare fucntion

  patch -Np1 -i ../3936ac1e355e9a5f1c2edd1aae4e6da9d2855f45.patch

finally build package applying -s optional to install dependancies you might want to add -r and -i options see makepkg manpage

$ makepkg -s

Offline

Board footer

Powered by FluxBB