OSError: [Errno 2] No such file or directory
Traceback (most recent call last): File "/usr/bin/gnome-shell", line 264, in <module> shell = start_shell() File "/usr/bin/gnome-shell", line 112, in start_shell stdout=subprocess.PIPE) File "/usr/lib/python2.6/subprocess.py", line 595, in __init__ errread, errwrite) File "/usr/lib/python2.6/subprocess.py", line 1092, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory
Such is a not-so-helpful error message. But if you go across the traceback, you will see around line#112 in /usr/bin/gnome-shell that,
111 pkgconfig = subprocess.Popen(['pkg-config', '--variable=sdkdir', 'mozilla-js'], 112 stdout=subprocess.PIPE)
So the cause is that you don't have the command installed (pkg-config from the package pkgconfig:runtime).
I.e. if you see such a traceback, check the subprocess.Popen call.
