{"action":"created","issue":{"url":"https://api.github.com/repos/conda/conda/issues/3824","repository_url":"https://api.github.com/repos/conda/conda","labels_url":"https://api.github.com/repos/conda/conda/issues/3824/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda/issues/3824/comments","events_url":"https://api.github.com/repos/conda/conda/issues/3824/events","html_url":"https://github.com/conda/conda/issues/3824","id":187620248,"number":3824,"title":"`conda env upload` to an org does not appear to be possible","user":{"login":"ijstokes","id":293525,"avatar_url":"https://avatars.githubusercontent.com/u/293525?v=3","gravatar_id":"","url":"https://api.github.com/users/ijstokes","html_url":"https://github.com/ijstokes","followers_url":"https://api.github.com/users/ijstokes/followers","following_url":"https://api.github.com/users/ijstokes/following{/other_user}","gists_url":"https://api.github.com/users/ijstokes/gists{/gist_id}","starred_url":"https://api.github.com/users/ijstokes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ijstokes/subscriptions","organizations_url":"https://api.github.com/users/ijstokes/orgs","repos_url":"https://api.github.com/users/ijstokes/repos","events_url":"https://api.github.com/users/ijstokes/events{/privacy}","received_events_url":"https://api.github.com/users/ijstokes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-07T03:55:22Z","updated_at":"2016-11-08T07:31:01Z","closed_at":null,"body":"I just tried to upload a conda-env `environment.yml` file to an organization I am a part of.  I can upload notebooks there, so I know I am authorized.  But when I tried the following command it failed with a stack trace and I was told to report it here.\r\n\r\n```\r\n$ conda env upload -f dspyr.yml datasciencepythonr/dspyr\r\nUsing Anaconda API: https://api.anaconda.org\r\nUploading environment datasciencepythonr/dspyr to anaconda-server (https://api.anaconda.org)... \r\nAn unexpected error has occurred.\r\nPlease consider posting the following information to the\r\nconda GitHub issue tracker at:\r\n\r\n    https://github.com/conda/conda/issues\r\n\r\n\r\n\r\nCurrent conda install:\r\n\r\n               platform : osx-64\r\n          conda version : 4.2.12\r\n       conda is private : False\r\n      conda-env version : 4.2.12\r\n    conda-build version : 2.0.2\r\n         python version : 2.7.12.final.0\r\n       requests version : 2.11.1\r\n       root environment : /Users/ijstokes/anaconda  (writable)\r\n    default environment : /Users/ijstokes/anaconda/envs/intro-ods\r\n       envs directories : /Users/ijstokes/anaconda/envs\r\n          package cache : /Users/ijstokes/anaconda/pkgs\r\n           channel URLs : https://conda.anaconda.org/r/osx-64\r\n                          https://conda.anaconda.org/r/noarch\r\n                          https://repo.continuum.io/pkgs/free/osx-64\r\n                          https://repo.continuum.io/pkgs/free/noarch\r\n                          https://repo.continuum.io/pkgs/pro/osx-64\r\n                          https://repo.continuum.io/pkgs/pro/noarch\r\n            config file : /Users/ijstokes/.condarc\r\n           offline mode : False\r\n\r\n\r\n\r\n`$ /Users/ijstokes/anaconda/bin/conda-env upload -f dspyr.yml datasciencepythonr/dspyr`\r\n\r\n\r\n\r\n\r\n    Traceback (most recent call last):\r\n      File \"/Users/ijstokes/anaconda/lib/python2.7/site-packages/conda/exceptions.py\", line 479, in conda_exception_handler\r\n        return_value = func(*args, **kwargs)\r\n      File \"/Users/ijstokes/anaconda/lib/python2.7/site-packages/conda_env/cli/main_upload.py\", line 101, in execute\r\n        info = uploader.upload()\r\n      File \"/Users/ijstokes/anaconda/lib/python2.7/site-packages/conda_env/utils/uploader.py\", line 81, in upload\r\n        if self.is_ready():\r\n      File \"/Users/ijstokes/anaconda/lib/python2.7/site-packages/conda_env/utils/uploader.py\", line 94, in is_ready\r\n        return self.ensure_package_namespace() and self.ensure_distribution()\r\n      File \"/Users/ijstokes/anaconda/lib/python2.7/site-packages/conda_env/utils/uploader.py\", line 103, in ensure_package_namespace\r\n        self.binstar.add_package(self.username, self.packagename, self.summary)\r\n      File \"/Users/ijstokes/anaconda/lib/python2.7/site-packages/binstar_client/__init__.py\", line 335, in add_package\r\n        self._check_response(res)\r\n      File \"/Users/ijstokes/anaconda/lib/python2.7/site-packages/binstar_client/__init__.py\", line 200, in _check_response\r\n        raise ErrCls(msg, res.status_code)\r\n    NotFound: (u'The requested URL was not found on the server.  If you entered the URL manually please check your spelling and try again.', 404)\r\n```"},"comment":{"url":"https://api.github.com/repos/conda/conda/issues/comments/259065731","html_url":"https://github.com/conda/conda/issues/3824#issuecomment-259065731","issue_url":"https://api.github.com/repos/conda/conda/issues/3824","id":259065731,"user":{"login":"jerowe","id":5555526,"avatar_url":"https://avatars.githubusercontent.com/u/5555526?v=3","gravatar_id":"","url":"https://api.github.com/users/jerowe","html_url":"https://github.com/jerowe","followers_url":"https://api.github.com/users/jerowe/followers","following_url":"https://api.github.com/users/jerowe/following{/other_user}","gists_url":"https://api.github.com/users/jerowe/gists{/gist_id}","starred_url":"https://api.github.com/users/jerowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerowe/subscriptions","organizations_url":"https://api.github.com/users/jerowe/orgs","repos_url":"https://api.github.com/users/jerowe/repos","events_url":"https://api.github.com/users/jerowe/events{/privacy}","received_events_url":"https://api.github.com/users/jerowe/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T07:31:01Z","updated_at":"2016-11-08T07:31:01Z","body":"I think it should be\r\n\r\n```\r\nconda env upload -f dspyr.yml datasciencepythonr\r\n```\r\n\r\nThe name of the environment is read in from the environment file."}}
{"actor":{"display_login":"jerowe"}}