{"action":"closed","issue":{"url":"https://api.github.com/repos/conda/conda/issues/2826","repository_url":"https://api.github.com/repos/conda/conda","labels_url":"https://api.github.com/repos/conda/conda/issues/2826/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda/issues/2826/comments","events_url":"https://api.github.com/repos/conda/conda/issues/2826/events","html_url":"https://github.com/conda/conda/issues/2826","id":161872402,"number":2826,"title":"possible bugs in \"conda env\" and \"conda create\"","user":{"login":"megies","id":1842780,"avatar_url":"https://avatars.githubusercontent.com/u/1842780?v=3","gravatar_id":"","url":"https://api.github.com/users/megies","html_url":"https://github.com/megies","followers_url":"https://api.github.com/users/megies/followers","following_url":"https://api.github.com/users/megies/following{/other_user}","gists_url":"https://api.github.com/users/megies/gists{/gist_id}","starred_url":"https://api.github.com/users/megies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megies/subscriptions","organizations_url":"https://api.github.com/users/megies/orgs","repos_url":"https://api.github.com/users/megies/repos","events_url":"https://api.github.com/users/megies/events{/privacy}","received_events_url":"https://api.github.com/users/megies/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-23T08:58:26Z","updated_at":"2016-06-23T14:23:36Z","closed_at":"2016-06-23T14:23:36Z","body":"I've come across this problem recently (might be connected to/triggered by ContinuumIO/anaconda-issues#838?):\r\n```\r\n~$ $CONDAMAINBIN/conda create -y -n $CONDATMPNAME --clone py3-docs-master\r\nUsing Anaconda Cloud api site https://api.anaconda.org\r\nFetching package metadata: ....\r\nsrc_prefix: '/home/obspy/anaconda3/envs/py3-docs-master'\r\ndst_prefix: '/home/obspy/anaconda3/envs/tmp_build_docs-pr'\r\nPackages: 163\r\nFiles: 532\r\nAn unexpected error has occurred, please consider sending the\r\nfollowing traceback to the conda GitHub issue tracker at:\r\n\r\n    https://github.com/conda/conda/issues\r\n\r\nInclude the output of the command 'conda info' in your report.\r\n\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/obspy/anaconda3/bin/conda\", line 6, in <module>\r\n    sys.exit(main())\r\n  File \"/home/obspy/anaconda3/lib/python3.5/site-packages/conda/cli/main.py\", line 139, in main\r\n    args_func(args, p)\r\n  File \"/home/obspy/anaconda3/lib/python3.5/site-packages/conda/cli/main.py\", line 146, in args_func\r\n    args.func(args, p)\r\n  File \"/home/obspy/anaconda3/lib/python3.5/site-packages/conda/cli/main_create.py\", line 49, in execute\r\n    install.install(args, parser, 'create')\r\n  File \"/home/obspy/anaconda3/lib/python3.5/site-packages/conda/cli/install.py\", line 247, in install\r\n    clone(args.clone, prefix, json=args.json, quiet=args.quiet, index=index)\r\n  File \"/home/obspy/anaconda3/lib/python3.5/site-packages/conda/cli/install.py\", line 84, in clone\r\n    quiet=quiet, index=index)\r\n  File \"/home/obspy/anaconda3/lib/python3.5/site-packages/conda/misc.py\", line 246, in clone_env\r\n    sorted_dists = r.dependency_sort(dists)\r\n  File \"/home/obspy/anaconda3/lib/python3.5/site-packages/conda/resolve.py\", line 729, in dependency_sort\r\n    depends = lookup(value)\r\n  File \"/home/obspy/anaconda3/lib/python3.5/site-packages/conda/resolve.py\", line 724, in lookup\r\n    return set(ms.name for ms in self.ms_depends(value + '.tar.bz2'))\r\n  File \"/home/obspy/anaconda3/lib/python3.5/site-packages/conda/resolve.py\", line 573, in ms_depends\r\n    deps = [MatchSpec(d) for d in self.index[fn].get('depends', [])]\r\nKeyError: 'proj.4-4.9.1-0.tar.bz2'\r\n\r\n~$ $CONDAMAINBIN/conda info\r\nUsing Anaconda Cloud api site https://api.anaconda.org\r\nCurrent conda install:\r\n\r\n             platform : linux-32\r\n        conda version : 4.0.5\r\n  conda-build version : 1.19.0\r\n       python version : 3.5.1.final.0\r\n     requests version : 2.9.1\r\n     root environment : /home/obspy/anaconda3  (writable)\r\n  default environment : /home/obspy/anaconda3\r\n     envs directories : /home/obspy/anaconda3/envs\r\n        package cache : /home/obspy/anaconda3/pkgs\r\n         channel URLs : https://repo.continuum.io/pkgs/free/linux-32/\r\n                        https://repo.continuum.io/pkgs/free/noarch/\r\n                        https://repo.continuum.io/pkgs/pro/linux-32/\r\n                        https://repo.continuum.io/pkgs/pro/noarch/\r\n          config file : None\r\n    is foreign system : False\r\n\r\n```\r\n\r\nBefore filing an issue I tried updating `conda`, but this triggers a different error now:\r\n\r\n```\r\n~$ $CONDAMAINBIN/conda env remove -y -n $CONDATMPNAME\r\nFetching package metadata .......\r\nAn unexpected error has occurred, please consider sending the\r\nfollowing traceback to the conda GitHub issue tracker at:\r\n\r\n    https://github.com/conda/conda/issues\r\n\r\nInclude the output of the command 'conda info' in your report.\r\n\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/obspy/anaconda3/bin/conda-env\", line 6, in <module>\r\n    sys.exit(conda_env.cli.main.main())\r\n  File \"/home/obspy/anaconda3/lib/python3.5/site-packages/conda_env/cli/main.py\", line 68, in main\r\n    return args_func(args, parser)\r\n  File \"/home/obspy/anaconda3/lib/python3.5/site-packages/conda/cli/main.py\", line 127, in args_func\r\n    args.func(args, p)\r\n  File \"/home/obspy/anaconda3/lib/python3.5/site-packages/conda_env/cli/main_remove.py\", line 73, in execute\r\n    plan.PREFIX: prefix,\r\nAttributeError: module 'conda.plan' has no attribute 'PREFIX'\r\n\r\n~$ $CONDAMAINBIN/conda info\r\nCurrent conda install:\r\n\r\n             platform : linux-32\r\n        conda version : 4.1.2\r\n  conda-build version : 1.19.0\r\n       python version : 3.5.1.final.0\r\n     requests version : 2.9.1\r\n     root environment : /home/obspy/anaconda3  (writable)\r\n  default environment : /home/obspy/anaconda3\r\n     envs directories : /home/obspy/anaconda3/envs\r\n        package cache : /home/obspy/anaconda3/pkgs\r\n         channel URLs : https://repo.continuum.io/pkgs/free/linux-32/\r\n                        https://repo.continuum.io/pkgs/free/noarch/\r\n                        https://repo.continuum.io/pkgs/pro/linux-32/\r\n                        https://repo.continuum.io/pkgs/pro/noarch/\r\n          config file : None\r\n    is foreign system : False\r\n\r\n```"}}
{"actor":{"display_login":"megies"}}