{"action":"created","issue":{"url":"https://api.github.com/repos/conda/conda/issues/5688","repository_url":"https://api.github.com/repos/conda/conda","labels_url":"https://api.github.com/repos/conda/conda/issues/5688/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda/issues/5688/comments","events_url":"https://api.github.com/repos/conda/conda/issues/5688/events","html_url":"https://github.com/conda/conda/issues/5688","id":242987064,"number":5688,"title":"An unexpected error has occurred.","user":{"login":"lavi937","id":30177507,"avatar_url":"https://avatars5.githubusercontent.com/u/30177507?v=4","gravatar_id":"","url":"https://api.github.com/users/lavi937","html_url":"https://github.com/lavi937","followers_url":"https://api.github.com/users/lavi937/followers","following_url":"https://api.github.com/users/lavi937/following{/other_user}","gists_url":"https://api.github.com/users/lavi937/gists{/gist_id}","starred_url":"https://api.github.com/users/lavi937/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lavi937/subscriptions","organizations_url":"https://api.github.com/users/lavi937/orgs","repos_url":"https://api.github.com/users/lavi937/repos","events_url":"https://api.github.com/users/lavi937/events{/privacy}","received_events_url":"https://api.github.com/users/lavi937/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-07-14T12:43:52Z","updated_at":"2017-07-14T15:50:45Z","closed_at":null,"body":"Current conda install:\r\n\r\n               platform : win-64\r\n          conda version : 4.3.21\r\n       conda is private : False\r\n      conda-env version : 4.3.21\r\n    conda-build version : not installed\r\n         python version : 3.6.1.final.0\r\n       requests version : 2.14.2\r\n       root environment : C:\\Users\\User\\Anaconda3  (writable)\r\n    default environment : C:\\Users\\User\\Anaconda3\r\n       envs directories : C:\\Users\\User\\Anaconda3\\envs\r\n                          C:\\Users\\User\\AppData\\Local\\conda\\conda\\envs\r\n                          C:\\Users\\User\\.conda\\envs\r\n          package cache : C:\\Users\\User\\Anaconda3\\pkgs\r\n                          C:\\Users\\User\\AppData\\Local\\conda\\conda\\pkgs\r\n           channel URLs : https://repo.continuum.io/pkgs/free/win-64\r\n                          https://repo.continuum.io/pkgs/free/noarch\r\n                          https://repo.continuum.io/pkgs/r/win-64\r\n                          https://repo.continuum.io/pkgs/r/noarch\r\n                          https://repo.continuum.io/pkgs/pro/win-64\r\n                          https://repo.continuum.io/pkgs/pro/noarch\r\n                          https://repo.continuum.io/pkgs/msys2/win-64\r\n                          https://repo.continuum.io/pkgs/msys2/noarch\r\n            config file : None\r\n             netrc file : None\r\n           offline mode : False\r\n             user-agent : conda/4.3.21 requests/2.14.2 CPython/3.6.1 Windows/10 Windows/10.0.14393\r\n          administrator : False\r\n\r\n`$ C:\\Users\\User\\Anaconda3\\Scripts\\conda-script.py ..checkenv cmd.exe C:\\Users\\User\\Anaconda3`\r\n\r\n\r\n\r\n\r\n    Traceback (most recent call last):\r\n      File \"C:\\Users\\User\\Anaconda3\\lib\\site-packages\\conda\\cli\\main.py\", line 167, in main\r\n        import conda.cli.activate as activate\r\n      File \"C:\\Users\\User\\Anaconda3\\lib\\site-packages\\conda\\cli\\activate.py\", line 12, in <module>\r\n        from ..utils import shells\r\n      File \"C:\\Users\\User\\Anaconda3\\lib\\site-packages\\conda\\utils.py\", line 13, in <module>\r\n        from .gateways.disk.read import compute_md5sum\r\n      File \"C:\\Users\\User\\Anaconda3\\lib\\site-packages\\conda\\gateways\\disk\\read.py\", line 22, in <module>\r\n        from ...models.channel import Channel\r\n      File \"C:\\Users\\User\\Anaconda3\\lib\\site-packages\\conda\\models\\channel.py\", line 9, in <module>\r\n        from ..base.context import context\r\n      File \"C:\\Users\\User\\Anaconda3\\lib\\site-packages\\conda\\base\\context.py\", line 21, in <module>\r\n        from ..common.configuration import (Configuration, LoadError, MapParameter, PrimitiveParameter,\r\n      File \"C:\\Users\\User\\Anaconda3\\lib\\site-packages\\conda\\common\\configuration.py\", line 42, in <module>\r\n        from cytoolz.dicttoolz import merge\r\n      File \"C:\\Users\\User\\Anaconda3\\lib\\site-packages\\cytoolz\\__init__.py\", line 18, in <module>\r\n        comp = compose\r\n    NameError: name 'compose' is not defined\r\n\r\n\r\nGetting this error while opening the anaconda command prompt.\r\n\r\nTeam, please help.\r\n"},"comment":{"url":"https://api.github.com/repos/conda/conda/issues/comments/315395038","html_url":"https://github.com/conda/conda/issues/5688#issuecomment-315395038","issue_url":"https://api.github.com/repos/conda/conda/issues/5688","id":315395038,"user":{"login":"ciacicode","id":6615030,"avatar_url":"https://avatars6.githubusercontent.com/u/6615030?v=4","gravatar_id":"","url":"https://api.github.com/users/ciacicode","html_url":"https://github.com/ciacicode","followers_url":"https://api.github.com/users/ciacicode/followers","following_url":"https://api.github.com/users/ciacicode/following{/other_user}","gists_url":"https://api.github.com/users/ciacicode/gists{/gist_id}","starred_url":"https://api.github.com/users/ciacicode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciacicode/subscriptions","organizations_url":"https://api.github.com/users/ciacicode/orgs","repos_url":"https://api.github.com/users/ciacicode/repos","events_url":"https://api.github.com/users/ciacicode/events{/privacy}","received_events_url":"https://api.github.com/users/ciacicode/received_events","type":"User","site_admin":false},"created_at":"2017-07-14T15:50:45Z","updated_at":"2017-07-14T15:50:45Z","body":"2 hours ago I did \r\n`conda update conda`\r\n\r\nand got this:\r\n\r\n```\r\nFetching package metadata .......\r\nSolving package specifications: ..........\r\n\r\nPackage plan for installation in environment /home/maria/miniconda2:\r\n\r\nThe following packages will be downloaded:\r\n\r\n    package                    |            build\r\n    ---------------------------|-----------------\r\n    conda-4.3.22               |           py27_0         493 KB\r\n\r\nThe following packages will be UPDATED:\r\n\r\n    conda: 4.3.11-py27_0 --> 4.3.22-py27_0\r\n\r\nProceed ([y]/n)? y\r\n\r\nFetching packages ...\r\nconda-4.3.22-p 100% |################################| Time: 0:00:00   3.29 MB/s\r\nExtracting packages ...\r\n[      COMPLETE      ]|###################################################| 100%\r\nUnlinking packages ...\r\n[      COMPLETE      ]|###################################################| 100%\r\nLinking packages ...\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 : linux-64\r\n          conda version : 4.2.7\r\n       conda is private : False\r\n      conda-env version : 4.2.7\r\n    conda-build version : not installed\r\n         python version : 2.7.13.final.0\r\n       requests version : 2.13.0\r\n       root environment : /home/maria/miniconda2  (writable)\r\n    default environment : /home/maria/miniconda2\r\n       envs directories : /home/maria/miniconda2/envs\r\n          package cache : /home/maria/miniconda2/pkgs\r\n           channel URLs : https://repo.continuum.io/pkgs/free/linux-64/\r\n                          https://repo.continuum.io/pkgs/free/noarch/\r\n                          https://repo.continuum.io/pkgs/pro/linux-64/\r\n                          https://repo.continuum.io/pkgs/pro/noarch/\r\n            config file : None\r\n           offline mode : False\r\n```\r\n\r\n`$ /home/maria/miniconda2/bin/conda update conda`\r\n\r\n\r\n```\r\n    Traceback (most recent call last):\r\n      File \"/home/maria/.local/lib/python2.7/site-packages/conda/exceptions.py\", line 472, in conda_exception_handler\r\n        return_value = func(*args, **kwargs)\r\n      File \"/home/maria/.local/lib/python2.7/site-packages/conda/cli/main.py\", line 144, in _main\r\n        exit_code = args.func(args, p)\r\n      File \"/home/maria/.local/lib/python2.7/site-packages/conda/cli/main_update.py\", line 65, in execute\r\n        install(args, parser, 'update')\r\n      File \"/home/maria/.local/lib/python2.7/site-packages/conda/cli/install.py\", line 420, in install\r\n        raise CondaRuntimeError('RuntimeError: %s' % e)\r\n    CondaRuntimeError: Runtime error: RuntimeError: Invalid mode: <conda.install.FileMode object at 0x7f3869e0a910>\r\n```\r\nI just tried this again, in the meantime I did no development nor fiddled with python at all and here is the output of a conda update command:\r\n\r\n`conda update conda`\r\n\r\n`bash: /home/maria/miniconda2/bin/conda: /opt/anaconda1anaconda2anaconda3/bin/python: bad interpreter: No such file or directory`\r\n\r\nIf I try to activate any env this is not working and I get the same message as conda update conda. \r\nI really haven't done anything to change my environment today so this is very odd.\r\n"}}
{"actor":{"display_login":"ciacicode"}}