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
Failed to upload to Anaconda Cloud #473
Comments
After a bit more digging and putting more debugging, we found out that the actual exception is
Actually we have two problems here:
|
I used the following dependencies:
|
the second issue was solved by removing the app section in the recipe. It would be nice if an explicit message is returned instead of just 403 error. |
@hans-permana I'm running into a similar issue. How did you get the stack-trace you give in this comment? |
@hdoupe , I modified the try-except block in binstar_client/commands/upload.py line 236: try:
upload_info = aserver_api.upload(username, package_name, version, file_attrs['basename'], fd,
binstar_package_type, args.description,
dependencies=file_attrs.get('dependencies'), attrs=file_attrs['attrs'],
channels=args.labels, callback=upload_print_callback(args))
except BaseException:
# logger.info('Distribution already exists. Please use the -i/--interactive or --force options or `anaconda '
# 'remove %s/%s/%s/%s', username, package_name, version, file_attrs['basename'])
# logger.info('error uploading: ', errors)
import sys
logger.error('error uploading: ', exc_info=sys.exc_info())
raise |
Nice, thanks! |
I was initially made aware of this issue when the Travis build of this project failed because the upload to Anaconda Cloud failed.
And then, I tried it manually in my Ubuntu VM to first build the conda package, and then upload it using anaconda upload.
At a glance it looked as if it was successful (no errors or warnings). However, the package was not really uploaded. I could not find it in Anaconda Cloud.
Any idea what is happening here?
The text was updated successfully, but these errors were encountered: