Skip to content

Instantly share code, notes, and snippets.

@MauScheff
Created March 12, 2013 19:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MauScheff/5146147 to your computer and use it in GitHub Desktop.
Save MauScheff/5146147 to your computer and use it in GitHub Desktop.
Can't build documentation
(balanced-docs)[mauricio@macbookpro:~/work/balanced-docs](master)$ make api
sphinx-build -b singlehtml -c `pwd`/api api `pwd`/api/html
Running Sphinx v1.1.3
loading pickled environment... not yet created
building [singlehtml]: all documents
updating environment: 1 added, 0 changed, 0 removed
[Errno 2] No such file or directory: u'cache.json'
Could not open input file: composer.phar
Traceback (most recent call last):
File "scripts/dcode-scenario", line 531, in <module>
main()
File "scripts/dcode-scenario", line 428, in main
with Context(args.directory, args.storage) as ctx:
File "scripts/dcode-scenario", line 94, in __init__
self.BOOTSTRAPPERS[lang](workspace)
File "<string>", line 2, in bootstrap_php
File "/Users/mauricio/work/balanced-docs/_utils.py", line 113, in cd_to_path
return function(path, *args, **kwargs)
File "scripts/dcode-scenario", line 62, in bootstrap_php
['/usr/bin/env', 'php', 'composer.phar', 'install'],
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 537, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '[u'/usr/bin/env', u'php', u'composer.phar', u'install']' returned non-zero exit status 1
['scripts/dcode-scenario', '-d', 'scenarios', u'bank_account_create'] ended with code 1
Output:
Exception occurred:
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 537, in check_output
raise CalledProcessError(retcode, cmd, output=output)
CalledProcessError: Command '['scripts/dcode-scenario', '-d', 'scenarios', u'bank_account_create']' returned non-zero exit status 1
The full traceback has been saved in /var/folders/6j/j0hyw8415n51__xlb3md8t2r0000gn/T/sphinx-err-bTBaM7.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
Either send bugs to the mailing list at <http://groups.google.com/group/sphinx-dev/>,
or report them in the tracker at <http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
make: *** [api] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment