{"action":"created","issue":{"url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/1595","repository_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues","labels_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/1595/labels{/name}","comments_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/1595/comments","events_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/1595/events","html_url":"https://github.com/ContinuumIO/anaconda-issues/issues/1595","id":220854511,"number":1595,"title":"Conda Commands and Navigator not working","user":{"login":"Sayan97","id":26685910,"avatar_url":"https://avatars1.githubusercontent.com/u/26685910?v=4","gravatar_id":"","url":"https://api.github.com/users/Sayan97","html_url":"https://github.com/Sayan97","followers_url":"https://api.github.com/users/Sayan97/followers","following_url":"https://api.github.com/users/Sayan97/following{/other_user}","gists_url":"https://api.github.com/users/Sayan97/gists{/gist_id}","starred_url":"https://api.github.com/users/Sayan97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sayan97/subscriptions","organizations_url":"https://api.github.com/users/Sayan97/orgs","repos_url":"https://api.github.com/users/Sayan97/repos","events_url":"https://api.github.com/users/Sayan97/events{/privacy}","received_events_url":"https://api.github.com/users/Sayan97/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2017-04-11T06:45:26Z","updated_at":"2018-04-11T10:47:41Z","closed_at":"2017-04-11T20:52:58Z","author_association":"NONE","body":"## The conda commands as input in Command Prompt, as well as the navigator are not opening and show specific errors when the input is provided.\r\n\r\n### On opening anaconda prompt:-\r\n**Anaconda Prompt Error: -**\r\n```\r\nTraceback (most recent call last):\r\n  File \"C:\\ProgramData\\Anaconda3\\Scripts\\conda-script.py\", line 5, in <module>\r\n    sys.exit(conda.cli.main())\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\cli\\main.py\", line 151, in main\r\n    activate.main()\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\cli\\activate.py\", line 118, in main\r\n    from conda.utils import shells\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\utils.py\", line 13, in <module>\r\n    from .gateways.disk.read import compute_md5sum\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\gateways\\disk\\read.py\", line 22, in <module>\r\n    from ...models.channel import Channel\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\models\\channel.py\", line 9, in <module>\r\n    from ..base.context import context\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\base\\context.py\", line 584, in <module>\r\n    context = Context(SEARCH_PATH, APP_NAME, None)\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\common\\configuration.py\", line 715, in __init__\r\n    self._set_search_path(search_path)\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\common\\configuration.py\", line 733, in _set_search_path\r\n    self._set_raw_data(load_file_configs(search_path))\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\common\\configuration.py\", line 368, in load_file_configs\r\n    raw_data = odict(kv for kv in chain.from_iterable(load_paths))\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\common\\configuration.py\", line 368, in <genexpr>\r\n    raw_data = odict(kv for kv in chain.from_iterable(load_paths))\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\common\\configuration.py\", line 343, in _file_yaml_loader\r\n    yield fullpath, YamlRawParameter.make_raw_parameters_from_file(fullpath)\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\common\\configuration.py\", line 331, in make_raw_parameters_from_file\r\n    ruamel_yaml = yaml_load(fh)\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\common\\yaml.py\", line 26, in yaml_load\r\n    return yaml.load(string, Loader=yaml.RoundTripLoader, version=\"1.2\")\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\ruamel_yaml\\main.py\", line 73, in load\r\n    loader = Loader(stream, version, preserve_quotes=preserve_quotes)\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\ruamel_yaml\\loader.py\", line 56, in __init__\r\n    Reader.__init__(self, stream)\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\ruamel_yaml\\reader.py\", line 98, in __init__\r\n    self.determine_encoding()\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\ruamel_yaml\\reader.py\", line 149, in determine_encoding\r\n    self.update(1)\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\ruamel_yaml\\reader.py\", line 189, in update\r\n    self.check_printable(data)\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\ruamel_yaml\\reader.py\", line 160, in check_printable\r\n    'unicode', \"special characters are not allowed\")\r\nruamel_yaml.reader.ReaderError: unacceptable character #x0000: special characters are not allowed\r\n  in \"C:\\Users\\Sayan\\.condarc\", position 0\r\n```\r\n\r\n## Conda Commands not working in CMD:-\r\n### Steps to produce: -\r\n```\r\nMicrosoft Windows [Version 10.0.14393]\r\n(c) 2016 Microsoft Corporation. All rights reserved.\r\n\r\nC:\\WINDOWS\\system32>conda list\r\nTraceback (most recent call last):\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\exceptions.py\", line 573, in conda_exception_handler\r\n    return_value = func(*args, **kwargs)\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\cli\\main.py\", line 85, in _main\r\n    from ..base.context import context\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\base\\context.py\", line 584, in <module>\r\n    context = Context(SEARCH_PATH, APP_NAME, None)\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\common\\configuration.py\", line 715, in __init__\r\n    self._set_search_path(search_path)\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\common\\configuration.py\", line 733, in _set_search_path\r\n    self._set_raw_data(load_file_configs(search_path))\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\common\\configuration.py\", line 368, in load_file_configs\r\n    raw_data = odict(kv for kv in chain.from_iterable(load_paths))\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\common\\configuration.py\", line 368, in <genexpr>\r\n    raw_data = odict(kv for kv in chain.from_iterable(load_paths))\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\common\\configuration.py\", line 343, in _file_yaml_loader\r\n    yield fullpath, YamlRawParameter.make_raw_parameters_from_file(fullpath)\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\common\\configuration.py\", line 331, in make_raw_parameters_from_file\r\n    ruamel_yaml = yaml_load(fh)\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\common\\yaml.py\", line 26, in yaml_load\r\n    return yaml.load(string, Loader=yaml.RoundTripLoader, version=\"1.2\")\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\ruamel_yaml\\main.py\", line 73, in load\r\n    loader = Loader(stream, version, preserve_quotes=preserve_quotes)\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\ruamel_yaml\\loader.py\", line 56, in __init__\r\n    Reader.__init__(self, stream)\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\ruamel_yaml\\reader.py\", line 98, in __init__\r\n    self.determine_encoding()\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\ruamel_yaml\\reader.py\", line 149, in determine_encoding\r\n    self.update(1)\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\ruamel_yaml\\reader.py\", line 189, in update\r\n    self.check_printable(data)\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\ruamel_yaml\\reader.py\", line 160, in check_printable\r\n    'unicode', \"special characters are not allowed\")\r\nruamel_yaml.reader.ReaderError: unacceptable character #x0000: special characters are not allowed\r\n  in \"C:\\Users\\Sayan\\.condarc\", position 0\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"C:\\ProgramData\\Anaconda3\\Scripts\\conda-script.py\", line 5, in <module>\r\n    sys.exit(conda.cli.main())\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\cli\\main.py\", line 164, in main\r\n    return conda_exception_handler(_main, *args)\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\exceptions.py\", line 589, in conda_exception_handler\r\n    print_unexpected_error_message(e)\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\exceptions.py\", line 526, in print_unexpected_error_message\r\n    from conda.base.context import context\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\base\\context.py\", line 584, in <module>\r\n    context = Context(SEARCH_PATH, APP_NAME, None)\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\common\\configuration.py\", line 715, in __init__\r\n    self._set_search_path(search_path)\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\common\\configuration.py\", line 733, in _set_search_path\r\n    self._set_raw_data(load_file_configs(search_path))\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\common\\configuration.py\", line 368, in load_file_configs\r\n    raw_data = odict(kv for kv in chain.from_iterable(load_paths))\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\common\\configuration.py\", line 368, in <genexpr>\r\n    raw_data = odict(kv for kv in chain.from_iterable(load_paths))\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\common\\configuration.py\", line 343, in _file_yaml_loader\r\n    yield fullpath, YamlRawParameter.make_raw_parameters_from_file(fullpath)\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\common\\configuration.py\", line 331, in make_raw_parameters_from_file\r\n    ruamel_yaml = yaml_load(fh)\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\conda\\common\\yaml.py\", line 26, in yaml_load\r\n    return yaml.load(string, Loader=yaml.RoundTripLoader, version=\"1.2\")\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\ruamel_yaml\\main.py\", line 73, in load\r\n    loader = Loader(stream, version, preserve_quotes=preserve_quotes)\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\ruamel_yaml\\loader.py\", line 56, in __init__\r\n    Reader.__init__(self, stream)\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\ruamel_yaml\\reader.py\", line 98, in __init__\r\n    self.determine_encoding()\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\ruamel_yaml\\reader.py\", line 149, in determine_encoding\r\n    self.update(1)\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\ruamel_yaml\\reader.py\", line 189, in update\r\n    self.check_printable(data)\r\n  File \"C:\\ProgramData\\Anaconda3\\lib\\site-packages\\ruamel_yaml\\reader.py\", line 160, in check_printable\r\n    'unicode', \"special characters are not allowed\")\r\nruamel_yaml.reader.ReaderError: unacceptable character #x0000: special characters are not allowed\r\n  in \"C:\\Users\\Sayan\\.condarc\", position 0\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/comments/380409360","html_url":"https://github.com/ContinuumIO/anaconda-issues/issues/1595#issuecomment-380409360","issue_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/1595","id":380409360,"user":{"login":"tiagosgc","id":2456447,"avatar_url":"https://avatars1.githubusercontent.com/u/2456447?v=4","gravatar_id":"","url":"https://api.github.com/users/tiagosgc","html_url":"https://github.com/tiagosgc","followers_url":"https://api.github.com/users/tiagosgc/followers","following_url":"https://api.github.com/users/tiagosgc/following{/other_user}","gists_url":"https://api.github.com/users/tiagosgc/gists{/gist_id}","starred_url":"https://api.github.com/users/tiagosgc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiagosgc/subscriptions","organizations_url":"https://api.github.com/users/tiagosgc/orgs","repos_url":"https://api.github.com/users/tiagosgc/repos","events_url":"https://api.github.com/users/tiagosgc/events{/privacy}","received_events_url":"https://api.github.com/users/tiagosgc/received_events","type":"User","site_admin":false},"created_at":"2018-04-11T10:47:41Z","updated_at":"2018-04-11T10:47:41Z","author_association":"NONE","body":"I had the same problem with a previous bad installation. Your fix worked for me also. "}}
{"actor":{"display_login":"tiagosgc"}}