Skip to content
This repository has been archived by the owner on Jan 7, 2018. It is now read-only.

If curl is not installed build script fails on Chrome OS Fonts install #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

davisford
Copy link

Here's the python traceback you'll get if curl is not installed:

Installing Chrome OS fonts to /usr/local/share/fonts/chromeos.
Traceback (most recent call last):
  File "build/linux/install-chromeos-fonts.py", line 79, in <module>
    sys.exit(main(sys.argv[1:]))
  File "build/linux/install-chromeos-fonts.py", line 56, in main
    subprocess.check_call(['curl', '-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 1259, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

…Chrome OS Fonts

Here's the python traceback you'll get if curl is not installed:

```sh
Installing Chrome OS fonts to /usr/local/share/fonts/chromeos.
Traceback (most recent call last):
  File "build/linux/install-chromeos-fonts.py", line 79, in <module>
    sys.exit(main(sys.argv[1:]))
  File "build/linux/install-chromeos-fonts.py", line 56, in main
    subprocess.check_call(['curl', '-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 1259, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant