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

Added help entry for File already exists error #2997

Merged
merged 5 commits into from Feb 26, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 15 additions & 1 deletion warehouse/templates/pages/help.html
Expand Up @@ -37,7 +37,7 @@
{% macro mirroring() %}How can I run a mirror of PyPI?{% endmacro %}
{% macro private_indices() %}How can I publish my private packages to PyPI?{% endmacro %}
{% macro admin_intervention() %}Why did my package or user registration get blocked?{% endmacro %}

{% macro file_name_reuse() %}Why am I getting "File already exists" error?{% endmacro %}
{% block title %}Help{% endblock %}

{% block content %}
Expand All @@ -63,6 +63,7 @@ <h1 class="page-title">Common Questions</h1>
<li><a href="#mirroring">{{ mirroring() }}</a></li>
<li><a href="#private-indices">{{ private_indices() }}</a></li>
<li><a href="#admin-intervention">{{ admin_intervention() }}</a></li>
<li><a href="#file-name-reuse">{{ file_name_reuse() }}</a></li>
</ul>

<section id="packages" class="common-question">
Expand Down Expand Up @@ -268,6 +269,19 @@ <h2>{{ admin_intervention() }}</h2>
When the PyPI Administrators are overwhelmed by spam <b>or</b> determine that there is some other threat to PyPI, new user registration and/or new project registration may be disabled. Check <a href="https://status.python.org">our status page</a> for more details, as we'll likely have updated it with reasoning for the intervention.
</p>
</section>
<section id="file-name-reuse" class="common-question">
<h2>{{ file_name_reuse() }}</h2>
<p>
The error <i>HTTPError: 400 Client Error: File already exists</i> is caused because of one of the below two reasons:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest you rephrase as:

The error HTTPError: 400 Client Error: File already exists happens for one of two reasons:

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure - Will rephrase

</p>
<ul>
<li>Filename has been used and file exists</li>
<li>Filename has been used but file no longer exists</li>
</ul>
<p>
PyPI does not allow for a filename to be reused, even once a project has been deleted and recreated.
</p>
</section>
</div>
</section>

Expand Down