Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails with non-informative traceback from subprocess #894

Closed
cdeil opened this issue Aug 20, 2014 · 4 comments
Closed

Build fails with non-informative traceback from subprocess #894

cdeil opened this issue Aug 20, 2014 · 4 comments

Comments

@cdeil
Copy link

cdeil commented Aug 20, 2014

I think this is the same issue as #627 from January.

It happened to the PDF build for me today after I wiped my project earlier today:
https://readthedocs.org/builds/gammapy/1615772/

The only error message displayed is this which doesn't give me any clue what the problem is or what I have to do to fix it:

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/readthedocs/projects/utils.py", line 85, in run
    stderr=subprocess.PIPE, env=environment)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
@ericholscher
Copy link
Member

Yea, we have a plan to fix the build output. Not sure why that particular error is happening though. I will look into it.

@barnumbirr
Copy link

Hi there,

I'm encountering the same error and the error message:

Traceback (most recent call last):
  File "/www/readthedocs.org/readthedocs/projects/utils.py", line 85, in run
    stderr=subprocess.PIPE, env=environment)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
Traceback (most recent call last):
  File "/www/readthedocs.org/readthedocs/projects/utils.py", line 85, in run
    stderr=subprocess.PIPE, env=environment)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Cheers.

@kwisatz
Copy link

kwisatz commented Dec 5, 2014

Having the same issue here and I saw that we're not alone in this. Looking at some Google search results, many builds on readthedocs.org seem to experience this as well.
Does anybody know whether this is an issue with pip (as was mentioned in some related issues) or rather with pdflatex?
From the error trace, it is not really clear which file or directory is missing, so I'm not too sure where to start looking.

@ericholscher
Copy link
Member

Closing this, but in general we're working to fix the build system so these issues won't happen anymore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants