-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Long project names fail with shell error. #994
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
Comments
Strange. If you try to build it again (using the 'Build' button on your project page) does it still fail? May have just been a temporary server issue. |
@maelstrom59 I just triggered another build and it also failed for the same reason. |
Looks like this is something for @ericholscher. Sorry I can't be of any help. |
This is really odd. The pip inside the virtualenv is giving this error:
I'm looking into it, but it's something odd. |
I think this might be a line length limit error on the shebang that is included at the top of the pip file >:x |
I think the name of your project is too long, if it was shorter it would work... I don't really know what to do about it on the OS side :/ |
@ericholscher Interesting. Did something change in the last couple of months with the paths? I see that this was working about two months ago, but the paths were similar to the following in those logs:
Is there a way to rename the path used without changing the actual name/title of the document itself? |
Yea, used to use /var/build/user_builds instead -- I never realized that having the paths in there would cause issues >:x The path is from the slug, which is what will be in the URL, and is generated from the title on import, you can rename the title (what displays in the UI) after the slug is created, but we don't let users change slugs. I could also change the slug for you, if that made sense, but it would break the old URLs if those are already in wide use. |
@ericholscher Can you change the slug to "rackspace-core-infra-user-guide"? We're fine with the existing URLs being broken as these aren't in use by a large number of users yet. Thanks! |
Great, thanks. That fixed it. I'll keep this ticket open for researching a real fix to the actual problem On Mon, Oct 27, 2014 at 2:00 PM, Christopher Kuehl <[email protected]
Eric Holscher |
@ericholscher Awesome - looks good now. Thanks for getting our docs taken care of. |
I run into this same issue as well. After trying and trying, finally I found this issue and created the same project with a shorter name. It works now. Maybe it is a good idea to limit the length of the project name until this issue is solved. Many thanks for the awesome project, in any case. |
This also appears to be an issue when building a branch of a project where the branch-name is long. |
We should find out about the maximum path length that we can support and fix this in the code. |
I'll take this on. For background information here, the shebang max length is set in the kernel by |
This fixes #994, where the 127 character limit on shebang line lengths was triggering failures of commands inside virtualenvs that had long names or long branch names. This PR adds some path environment variable handling to allow for shorter commands, and makes all python script call wrapped by a call to the virtual env symlinked python binary.
This fixes #994, where the 127 character limit on shebang line lengths was triggering failures of commands inside virtualenvs that had long names or long branch names. This PR adds some path environment variable handling to allow for shorter commands, and makes all python script call wrapped by a call to the virtual env symlinked python binary.
This fixes #994, where the 127 character limit on shebang line lengths was triggering failures of commands inside virtualenvs that had long names or long branch names. This PR adds some path environment variable handling to allow for shorter commands, and makes all python script call wrapped by a call to the virtual env symlinked python binary.
I am seeing the following build error:
I also see:
No settings have changed on our project, so can someone please take a look and see what is preventing our builds?
Thanks!
The text was updated successfully, but these errors were encountered: