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

anaconda upload fails silently if the user's storage limit is exceeded #516

Open
stuarteberg opened this issue Mar 21, 2019 · 2 comments · May be fixed by #564
Open

anaconda upload fails silently if the user's storage limit is exceeded #516

stuarteberg opened this issue Mar 21, 2019 · 2 comments · May be fixed by #564

Comments

@stuarteberg
Copy link

stuarteberg commented Mar 21, 2019

When a user's storage limit for anaconda.org is exceeded, anaconda upload fails. Fair enough! :-)

But it would be nice to see an error message. There is no obvious clue that the upload failed, unless you notice that the Upload complete message wasn't printed, or if you happen to check the exit code. Here's what you see:

$$ anaconda upload -u flyem-forge /miniforge/conda-bld/noarch/flyemflows-0.0.post.dev171-py_0.tar.bz2
Using Anaconda API: https://api.anaconda.org
Using "flyem-forge" as upload username
Processing '/miniforge/conda-bld/noarch/flyemflows-0.0.post.dev171-py_0.tar.bz2'
Detecting file type...
File type is "conda"
Extracting conda package attributes for upload
Creating package "flyemflows"
Creating release "0.0.post.dev171"
Uploading file "flyem-forge/flyemflows/0.0.post.dev171/noarch/flyemflows-0.0.post.dev171-py_0.tar.bz2"

$$ echo $?
1

cc @tingzhao

@stefdoerr
Copy link

Yes please! I just spent 3 hours trying to figure out why it would not upload.

@bkreider
Copy link
Contributor

This is very similar to #501. It looks it fails at a slightly different spot, but I'm betting it is not catching the exception like the problem in #501 and then the stack trace gets eaten at the cli level.

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

Successfully merging a pull request may close this issue.

3 participants