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 failing with no error output when switching hg -> git #807

Closed
baldwint opened this Issue Apr 29, 2014 · 5 comments

Comments

Projects
None yet
3 participants
@baldwint

baldwint commented Apr 29, 2014

I am migrating my project from Bitbucket (Mercurial) to Github (Git). After changing the URL to point to the new location, builds are failing without any diagnostic output.

I see:

State: Finished
Outcome: Failed (Status Code: 0)
Version: latest
Type: html

There is nothing underneath the "Sphinx Standard Output" header. The "Sphinx Standard Error" header is missing entirely, which is strange.

I have tried different variations on the project URL (http/https, .git suffix / no .git suffix, etc), and have tried deleting and re-adding the project from RTD. I think it is failing to clone the project from GitHub, but without any error output that is just a guess.

Any idea how to fix this, or have it fail in a more informative way?

@felipelerena

This comment has been minimized.

Show comment
Hide comment
@felipelerena

felipelerena Jul 7, 2014

The same thing is happening to me. @baldwint where you able to solve the problem?

felipelerena commented Jul 7, 2014

The same thing is happening to me. @baldwint where you able to solve the problem?

@baldwint

This comment has been minimized.

Show comment
Hide comment
@baldwint

baldwint Jul 7, 2014

I gave up trying to fix this a while ago (last attempted build failed on May 12). However, I just now tried the build again, and it worked this time.

I realize this isn't terribly helpful, but I honestly have no idea what I did to make it work. It was certainly not any different from what I was trying two months ago.

baldwint commented Jul 7, 2014

I gave up trying to fix this a while ago (last attempted build failed on May 12). However, I just now tried the build again, and it worked this time.

I realize this isn't terribly helpful, but I honestly have no idea what I did to make it work. It was certainly not any different from what I was trying two months ago.

@felipelerena

This comment has been minimized.

Show comment
Hide comment
@felipelerena

felipelerena Jul 7, 2014

I changed the "repo type" to HG (with the git address on the repo URL) and it built it with the mercurial version but the link on top points to github. so I think it's a bug in the code. maybe it's using the same directory for both checkouts and it's getting a clone/pull error

felipelerena commented Jul 7, 2014

I changed the "repo type" to HG (with the git address on the repo URL) and it built it with the mercurial version but the link on top points to github. so I think it's a bug in the code. maybe it's using the same directory for both checkouts and it's getting a clone/pull error

@felipelerena

This comment has been minimized.

Show comment
Hide comment
@felipelerena

felipelerena Jul 7, 2014

I think the bug is here. https://github.com/rtfd/readthedocs.org/blob/master/readthedocs/vcs_support/base.py#L104 it checks that the repo exists but it doesn't check it's the same type so instead of cloning the repo again it runs an invalid git command in the hg repo.

felipelerena commented Jul 7, 2014

I think the bug is here. https://github.com/rtfd/readthedocs.org/blob/master/readthedocs/vcs_support/base.py#L104 it checks that the repo exists but it doesn't check it's the same type so instead of cloning the repo again it runs an invalid git command in the hg repo.

@ericholscher

This comment has been minimized.

Show comment
Hide comment
@ericholscher

ericholscher Aug 2, 2014

Member

This should be fixed with the latest PR.

Member

ericholscher commented Aug 2, 2014

This should be fixed with the latest PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment