Error: Command '/usr/bin/python' returned non-zero exit status 1

1,078 views
Skip to first unread message

Ra

unread,
Jan 19, 2016, 6:35:38 AM1/19/16
to Chromium-dev

Hi,

My python version is 2.7.3.   I am using Ubuntu 12.04.1 LTS.
I am trying to download the webrtc code base using 'gclient sync' .
But I am getting the below error. Any idea why the below errors occurred ?? How to rectify this issue ??  I am stuck up with this error
 

________ running '/usr/bin/python src/build/landmines.py' in '/home/csk/webrtc-checkout/src/chromium'

________ running '/usr/bin/python src/build/download_nacl_toolchains.py --mode nacl_core_sdk sync --extract' in '/home/csk/webrtc-checkout/src/chromium'

________ running '/usr/bin/python src/build/android/play_services/update.py download' in '/home/csk/webrtc-checkout/src/chromium'

________ running '/usr/bin/python src/build/linux/sysroot_scripts/install-sysroot.py --running-as-hook' in '/home/csk/webrtc-checkout/src/chromium'
Error: Command '/usr/bin/python src/build/linux/sysroot_scripts/install-sysroot.py --running-as-hook' returned non-zero exit status 1 in /home/csk/webrtc-checkout/src/chromium
Installing Debian Wheezy i386 root image: /home/csk/webrtc-checkout/src/chromium/src/build/linux/debian_wheezy_i386-sysroot
Downloading http://commondatastorage.googleapis.com/chrome-linux-sysroot/toolchain/81463d905d9f7aa0153bae9f703728632ce8b0f6/debian_wheezy_i386_sysroot.tgz
Traceback (most recent call last):
  File "src/build/linux/sysroot_scripts/install-sysroot.py", line 219, in <module>
    sys.exit(main())
  File "src/build/linux/sysroot_scripts/install-sysroot.py", line 143, in main
    InstallDefaultSysroots()
  File "src/build/linux/sysroot_scripts/install-sysroot.py", line 124, in InstallDefaultSysroots
    InstallSysroot(host_arch)
  File "src/build/linux/sysroot_scripts/install-sysroot.py", line 199, in InstallSysroot
    subprocess.check_call(['curl', '--fail', '-L', url, '-o', tarball])
  File "/usr/lib/python2.7/subprocess.py", line 506, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 493, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
Error: Command '/usr/bin/python -u src/sync_chromium.py --target-revision 1c9621e940227de56b55f2da1c889a0bfc53e521' returned non-zero exit status 2
in /home/csk/webrtc-checkout
Hook '/usr/bin/python -u src/sync_chromium.py --target-revision 1c9621e940227de56b55f2da1c889a0bfc53e521' took 84471.96 secs


Tip Mao

unread,
Dec 14, 2016, 1:09:20 AM12/14/16
to Chromium-dev
 I have the same problem with you,How do you solve this problem?

Installing Debian Wheezy amd64 root image: /home/chrome/src/build/linux/debian_wheezy_amd64-sysroot


在 2016年1月19日星期二 UTC+8下午7:35:38,Ra写道:

ناطق القره غولي

unread,
Dec 15, 2016, 6:39:26 AM12/15/16
to Chromium-dev, stmao...@gmail.com
--


--


Chromium Developers mailing list: chromi...@chromium.org


View archives, change email options, or unsubscribe:


http://groups.google.com/a/chromium.org/group/chromium-dev


---


You received this message because you are subscribed to the Google Groups "Chromium-dev" group.


To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.


--
ناطق القرغولي.

Matt McMahon

unread,
Mar 5, 2017, 3:42:06 PM3/5/17
to Chromium-dev
did anyone find an answer to this?
Reply all
Reply to author
Forward
0 new messages