You are not logged in.
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
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
Offline
Offline
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
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
Downgrading python is going to break a LOT of other things. zquestz's solution is much better until the maintainer fixes it.
Offline
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
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
Anyone tried linking python to python2 instead of python3?
That would break even more things than the downgrading suggestion.
Offline
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
Offline
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
@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