Failed to upload to Anaconda CloudSee original GitHub issue
And then, I tried it manually in my Ubuntu VM to first build the conda package, and then upload it using anaconda upload.
$ anaconda -v -t <anaconda_token> upload ~/miniconda3/conda-bld/linux-64/cate-cli-2.0.0.dev10-py36_0.tar.bz2 -u ccitools Using Anaconda API: https://api.anaconda.org [DEBUG] Using token from command line args Using "ccitools" as upload username Detecting file type... [DEBUG] Testing if conda package .. [DEBUG] This is a conda package File type is "conda" Extracting package attributes for upload Creating package "cate-cli" Creating release "2.0.0.dev10" Uploading file "ccitools/cate-cli/2.0.0.dev10/linux-64/cate-cli-2.0.0.dev10-py36_0.tar.bz2"
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?
- Created 5 years ago
Top GitHub Comments
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