{"action":"created","issue":{"url":"https://api.github.com/repos/conda/conda/issues/4010","repository_url":"https://api.github.com/repos/conda/conda","labels_url":"https://api.github.com/repos/conda/conda/issues/4010/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda/issues/4010/comments","events_url":"https://api.github.com/repos/conda/conda/issues/4010/events","html_url":"https://github.com/conda/conda/issues/4010","id":193657821,"number":4010,"title":"Strange Http error when using Conda 4.2.x with Python 2.7.12","user":{"login":"mingwandroid","id":1042804,"avatar_url":"https://avatars.githubusercontent.com/u/1042804?v=3","gravatar_id":"","url":"https://api.github.com/users/mingwandroid","html_url":"https://github.com/mingwandroid","followers_url":"https://api.github.com/users/mingwandroid/followers","following_url":"https://api.github.com/users/mingwandroid/following{/other_user}","gists_url":"https://api.github.com/users/mingwandroid/gists{/gist_id}","starred_url":"https://api.github.com/users/mingwandroid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mingwandroid/subscriptions","organizations_url":"https://api.github.com/users/mingwandroid/orgs","repos_url":"https://api.github.com/users/mingwandroid/repos","events_url":"https://api.github.com/users/mingwandroid/events{/privacy}","received_events_url":"https://api.github.com/users/mingwandroid/received_events","type":"User","site_admin":false},"labels":[{"id":413890457,"url":"https://api.github.com/repos/conda/conda/labels/cio","name":"cio","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-12-06T01:21:44Z","updated_at":"2016-12-06T16:22:05Z","closed_at":null,"body":"`conda search libffi` (though any package and any network request at all seems to trigger it) on `linux-64` is giving me trouble at present:\r\n\r\n```\r\nCurrent conda install:\r\n\r\n               platform : linux-64\r\n          conda version : 4.2.13.dev8+3484810\r\n       conda is private : False\r\n      conda-env version : 4.2.13.dev8+3484810\r\n    conda-build version : 2.0.11+6.g43b927b\r\n         python version : 2.7.12.final.0\r\n       requests version : 2.11.1\r\n       root environment : /home/ray/mc-x64-2.7  (writable)\r\n    default environment : /home/ray/mc-x64-2.7\r\n       envs directories : /home/ray/mc-x64-2.7/envs\r\n          package cache : /home/ray/mc-x64-2.7/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                          file:///home/ray/mc-x64-2.7/conda-bld/linux-64\r\n                          file:///home/ray/mc-x64-2.7/conda-bld/noarch\r\n            config file : /home/ray/.condarc\r\n           offline mode : False\r\n```\r\n\r\n```\r\n.DEBUG conda.fetch:fetch_repodata(87): Opening repodata cache for https://repo.continuum.io/pkgs/pro/noarch at /home/ray/mc-x64-2.7/pkgs/cache/XXXXXXXX.json\r\nDEBUG requests.packages.urllib3.connectionpool:_make_request(401): \"GET /pkgs/pro/noarch/repodata.json.bz2 HTTP/1.1\" 304 0\r\nDEBUG conda.fetch:fetch_repodata(119): \r\n> GET /pkgs/pro/noarch/repodata.json.bz2 HTTPS\r\n> User-Agent: conda/4.2.13.dev8+3484810 requests/2.11.1 CPython/2.7.12 Linux/2.6.18-412.el5 CentOS/5.11 glibc/2.5\r\n> Accept: */*\r\n> Accept-Encoding: identity\r\n> Connection: keep-alive\r\n> Cookie: __cfduid=XXXXXXXXXXXXXXXXXXXXXXXXXXXX\r\n> If-Modified-Since: Fri, 12 Feb 2016 07:52:34 GMT\r\n> If-None-Match: \"56bd8f42-46\"\r\n\r\n< HTTPS 304 Not Modified\r\n> Cache-Control: public, max-age=300\r\n> CF-Cache-Status: HIT\r\n> CF-RAY: XXXXXXXXXXXXXXXX-XXX\r\n> Date: Tue, 06 Dec 2016 01:08:34 GMT\r\n> ETag: \"XXXXXXXX-XX\"\r\n> Expires: Tue, 06 Dec 2016 01:13:34 GMT\r\n> Last-Modified: Fri, 12 Feb 2016 07:52:34 GMT\r\n> Server: cloudflare-nginx\r\n> Vary: Accept-Encoding\r\n> Connection: keep-alive\r\n\r\n.DEBUG conda.fetch:fetch_repodata(87): Opening repodata cache for file:///home/ray/mc-x64-2.7/conda-bld/linux-64 at /home/ray/mc-x64-2.7/pkgs/cache/XXXXXXXX.json\r\nERROR conda._vendor.auxlib.logz:stringify(140): 'NoneType' object has no attribute 'method'\r\nTraceback (most recent call last):\r\n  File \"/home/ray/mc-x64-2.7/lib/python2.7/site-packages/conda/_vendor/auxlib/logz.py\", line 133, in stringify\r\n    requests_models_PreparedRequest_builder(builder, obj.request)\r\n  File \"/home/ray/mc-x64-2.7/lib/python2.7/site-packages/conda/_vendor/auxlib/logz.py\", line 102, in requests_models_PreparedRequest_builder\r\n    builder.append(\"> {0} {1} {2}\".format(request_object.method, request_object.path_url,\r\nAttributeError: 'NoneType' object has no attribute 'method'\r\nDEBUG conda.fetch:fetch_repodata(119): None\r\nAn unexpected error has occurred.\r\n\r\n\r\n...\r\n\r\n\r\n    Traceback (most recent call last):\r\n      File \"/home/ray/mc-x64-2.7/lib/python2.7/site-packages/conda/exceptions.py\", line 479, in conda_exception_handler\r\n        return_value = func(*args, **kwargs)\r\n      File \"/home/ray/mc-x64-2.7/lib/python2.7/site-packages/conda/cli/main.py\", line 145, in _main\r\n        exit_code = args.func(args, p)\r\n      File \"/home/ray/mc-x64-2.7/lib/python2.7/site-packages/conda/cli/main_search.py\", line 126, in execute\r\n        execute_search(args, parser)\r\n      File \"/home/ray/mc-x64-2.7/lib/python2.7/site-packages/conda/cli/main_search.py\", line 174, in execute_search\r\n        unknown=args.unknown)\r\n      File \"/home/ray/mc-x64-2.7/lib/python2.7/site-packages/conda/api.py\", line 24, in get_index\r\n        index = fetch_index(channel_urls, use_cache=use_cache, unknown=unknown)\r\n      File \"/home/ray/mc-x64-2.7/lib/python2.7/site-packages/conda/fetch.py\", line 295, in fetch_index\r\n        for url in urls]\r\n      File \"/home/ray/mc-x64-2.7/lib/python2.7/site-packages/conda/fetch.py\", line 75, in func\r\n        res = f(*args, **kwargs)\r\n      File \"/home/ray/mc-x64-2.7/lib/python2.7/site-packages/conda/fetch.py\", line 223, in fetch_repodata\r\n        e.response.reason if e.response else None)\r\n    CondaHTTPError: HTTP 404 None\r\n    for url <None>\r\n    \r\n    The remote server could not find the channel you requested.\r\n    \r\n    You will need to adjust your conda configuration to proceed.\r\n    Use `conda config --show` to view your configuration's current state.\r\n    Further configuration help can be found at <http://conda.pydata.org/docs/config.html>.\r\n```\r\n\r\nI changed checksums to X's here.\r\n\r\nOn Python 3.5, I do get `ERROR conda._vendor.auxlib.logz:stringify(140): 'NoneType' object has no attribute 'method' but not the final:\r\n\r\n```\r\nCondaHTTPError: HTTP 404 None\r\n    for url <None>\r\n```\r\n\r\nand on 3.5 I get the list of packages found.\r\n"},"comment":{"url":"https://api.github.com/repos/conda/conda/issues/comments/265195012","html_url":"https://github.com/conda/conda/issues/4010#issuecomment-265195012","issue_url":"https://api.github.com/repos/conda/conda/issues/4010","id":265195012,"user":{"login":"kalefranz","id":1418419,"avatar_url":"https://avatars.githubusercontent.com/u/1418419?v=3","gravatar_id":"","url":"https://api.github.com/users/kalefranz","html_url":"https://github.com/kalefranz","followers_url":"https://api.github.com/users/kalefranz/followers","following_url":"https://api.github.com/users/kalefranz/following{/other_user}","gists_url":"https://api.github.com/users/kalefranz/gists{/gist_id}","starred_url":"https://api.github.com/users/kalefranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalefranz/subscriptions","organizations_url":"https://api.github.com/users/kalefranz/orgs","repos_url":"https://api.github.com/users/kalefranz/repos","events_url":"https://api.github.com/users/kalefranz/events{/privacy}","received_events_url":"https://api.github.com/users/kalefranz/received_events","type":"User","site_admin":false},"created_at":"2016-12-06T16:22:05Z","updated_at":"2016-12-06T16:22:05Z","body":"If 4.3.x is broken and you're blocked, just temporarily flip back to 4.2.x. \n\nFor sure if it's still broken in 12 hours, ping me again. \n\n> On Dec 6, 2016, at 2:20 AM, Ray Donnelly <notifications@github.com> wrote:\n> \n> I tried to see the state of the different branches wrt whether I can use them at present:\n> \n> master branch doesn't work due to shell changes\n> 4.3.x branch also doesn't work due to incompat. with conda-build:\n> \n>   File \"/home/ray/mc-x64-2.7/lib/python2.7/site-packages/conda_build/conda_interface.py\", line 13, in <module>\n>     from conda.compat import (PY3, StringIO, configparser, input, iteritems, lchmod, string_types,  # NOQA\n> Can I ask why conda_interface.py is in conda-build and not in conda?\n> \n> —\n> You are receiving this because you commented.\n> Reply to this email directly, view it on GitHub, or mute the thread.\n> \n"}}
{"actor":{"display_login":"kalefranz"}}