-
Notifications
You must be signed in to change notification settings - Fork 241
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 silently fails #501
Comments
What version of anaconda client was your team member using? |
His is Command line client (version 1.6.14) But I can't see how that information would help me, if the client is not behaving properly. Surely it should have said that there is some problem, yet it does nothing. Does it make sense? Thank you. |
I did some more testing and was able to create (via I also tested that this package fails with older anaconda client (1.6.5). So it must be something about the package. You should be able to reproduce that on your side, since it was just the straightforward:
|
@stas00 could you attach the package so I can take a look :-) ? |
Were you able to get the package via dropbox, @goanpeca? |
@stas00 I did, but I will take a look on monday! |
some additional info:
|
So my guess is there is some sort of permissions failure that goes undetected by the client. |
@mcg1969 thanks for the tip. I will add some testing |
I have seen the same... I tried with anaconda-client 1.5.x and then I saw the issue, the token was expired... somehow the latest anaconda-client version eats that info when it fails, I think. |
@damianavila yes, the clien has been eating a lot of error messages lately, the exception handling needs to be fixed. |
This same issue (evidently) just botched a bokeh release. Tried restarting, did not help. |
I am also facing a similar issue while uploading package to anaconda cloud
The page at (https://anaconda.org/h2oai) lists that package Any help on how to resolve this issue would be greatly appreciated. |
I would consider this as a regression for anaconda clinet. Downgrading the client to 1.5.5 seems to resolve the issue. Now i see the package released to anaconda.org ... |
I think i have narrowed this down. If you do a In upload.py:245 it needs to catch the exception. This snippet shows catching the exception, logging it and re-raising it:
The output looks like this:
|
Just got caught by @bkreider same issue -- token expired overnight and uploads were silently failing. Would really help to get a better error. |
Also ran into this issue. Travis build finished successfully but uploads were not showing up on anaconda.org. Came across this and realized that the token had expired. Hopefully this can be fixed soon. |
I have a similar issue to upload a package to the organization where I have rights to upload, my token is valid. CMD error is 1 and no error message. Thanks to @bkreider and his snippet, I could get the exact error with exceeded storage size. |
Definitely annoying to have silent failures on permissions. Using your trick @bkreider I was able to pinpoint that I needed write access to the API in addition to: Maybe this is just a private package issue? |
@bkreider let's huddle on this very soon and work on getting a point release out there. |
Hello @mcg1969, I started to get silent failures a few days ago, without any changes in environment or package itself (tried building from the same branch). Upload looks like this:
Process returns Could you please help me with investigating? |
I figured it out using technique mentioned by @bkreider :
|
I just had this issue also, silent failure; added the code from @bkreider and got:
|
I'm also having
Python version 3.9.5, installed through conda. anaconda-client's version is 1.7.1 py39h06a4308_0. |
It's important to note that If this does not help, see my comment in #564 on how to monkey-patch anaconda-client within a temporary conda environment using the patch proposed by @bkreider. This should give you an error message. |
Hi,
I'm experiencing weird issues with anaconda upload silently failing.
all was successful (this is just a pure python one-file module).
that's it. Nothing happens, no error message, nothing gets uploaded. (nothing appears under https://anaconda.org/stason/repo)
Please note that another team member was able to successfully upload this same package from his setup, but it doesn't work on mine:
Thank you.
The text was updated successfully, but these errors were encountered: