Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upBuild failing with no error output when switching hg -> git #807
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
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? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
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. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
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 |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
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. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
This should be fixed with the latest PR. |
baldwint commentedApr 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:
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?