{"action":"created","issue":{"url":"https://api.github.com/repos/Anaconda-Server/docs.anaconda.org/issues/182","labels_url":"https://api.github.com/repos/Anaconda-Server/docs.anaconda.org/issues/182/labels{/name}","comments_url":"https://api.github.com/repos/Anaconda-Server/docs.anaconda.org/issues/182/comments","events_url":"https://api.github.com/repos/Anaconda-Server/docs.anaconda.org/issues/182/events","html_url":"https://github.com/Anaconda-Server/docs.anaconda.org/issues/182","id":115673141,"number":182,"title":"anaconda-command broken: AttributeError: 'NoneType' object has no attribute 'endswith'","user":{"login":"WouterVH","id":469509,"avatar_url":"https://avatars.githubusercontent.com/u/469509?v=3","gravatar_id":"","url":"https://api.github.com/users/WouterVH","html_url":"https://github.com/WouterVH","followers_url":"https://api.github.com/users/WouterVH/followers","following_url":"https://api.github.com/users/WouterVH/following{/other_user}","gists_url":"https://api.github.com/users/WouterVH/gists{/gist_id}","starred_url":"https://api.github.com/users/WouterVH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WouterVH/subscriptions","organizations_url":"https://api.github.com/users/WouterVH/orgs","repos_url":"https://api.github.com/users/WouterVH/repos","events_url":"https://api.github.com/users/WouterVH/events{/privacy}","received_events_url":"https://api.github.com/users/WouterVH/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Anaconda-Server/docs.anaconda.org/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-07T15:35:04Z","updated_at":"2015-11-07T19:17:39Z","closed_at":null,"body":"Just giving this tutorial a small testdrive\r\nhttp://docs.anaconda.org/#BuildingPackagesWithAnacondaCloud\r\n\r\n```\r\n > wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh\r\n > chmod u+x Miniconda2-latest-Linux-x86_64.sh\r\n\r\n > ./Miniconda2-latest-Linux-x86_64.sh -b -f -p .  \r\n > cd $HOME/miniconda2\r\n > bin/conda install anaconda-client anaconda-build conda-build\r\n```\r\n\r\n\r\nmy root-env:\r\n```\r\n>  bin/conda list     \r\n# packages in environment at /data2/opt/data/projects/miniconda:\r\n#\r\nanaconda-build            0.13.1                   py27_0    defaults\r\nanaconda-client           1.1.2                    py27_0    defaults\r\nclyent                    1.0.0                    py27_0    defaults\r\nconda                     3.18.3                   py27_0    defaults\r\nconda-build               1.18.1                   py27_0    defaults\r\nconda-env                 2.4.4                    py27_0    defaults\r\nfreetype                  2.5.5                         0    defaults\r\njinja2                    2.8                      py27_0    defaults\r\njpeg                      8d                            0    defaults\r\nlibpng                    1.6.17                        0    defaults\r\nlibtiff                   4.0.6                         0    defaults\r\nmarkupsafe                0.23                     py27_0    defaults\r\nopenssl                   1.0.2d                        0    defaults\r\npatchelf                  0.6                           0    defaults\r\npillow                    3.0.0                    py27_1    defaults\r\npip                       7.1.2                    py27_0    defaults\r\npsutil                    3.2.2                    py27_0    defaults\r\npycosat                   0.6.1                    py27_0    defaults\r\npycrypto                  2.6.1                    py27_0    defaults\r\npython                    2.7.10                        2    defaults\r\npython-dateutil           2.4.2                    py27_0    defaults\r\npytz                      2015.7                   py27_0    defaults\r\npyyaml                    3.11                     py27_1    defaults\r\nreadline                  6.2                           2    defaults\r\nrequests                  2.8.1                    py27_0    defaults\r\nsetuptools                18.4                     py27_0    defaults\r\nsix                       1.10.0                   py27_0    defaults\r\nsqlite                    3.8.4.1                       1    defaults\r\ntk                        8.5.18                        0    defaults\r\nwheel                     0.26.0                   py27_1    defaults\r\nyaml                      0.1.6                         0    defaults\r\nzlib                      1.2.8                         0    defaults\r\n```\r\n\r\n\r\n\r\nbut anaconda is broken:\r\n```\r\n>  bin/anaconda --help\r\n    Traceback (most recent call last):\r\n    File \"bin/anaconda\", line 6, in <module>\r\n        sys.exit(main())\r\n    File \"/data2/opt/data/projects/miniconda/lib/python2.7/site-packages/binstar_client/scripts/cli.py\", line 82, in main\r\n        description=__doc__, version=version)\r\n    File \"/data2/opt/data/projects/miniconda/lib/python2.7/site-packages/binstar_client/scripts/cli.py\", line 50, in binstar_main\r\n        add_subparser_modules(parser, sub_command_module, 'conda_server.subcommand')\r\n    File \"/data2/opt/data/projects/miniconda/lib/python2.7/site-packages/clyent/__init__.py\", line 132, in add_subparser_modules\r\n        add_parser(subparsers)\r\n    File \"/data2/opt/data/projects/miniconda/lib/python2.7/site-packages/binstar_build_client/scripts/worker.py\", line 37, in add_parser\r\n        add_subparser_modules(parser, worker_commands, 'conda_server_build.subcommand')\r\n    File \"/data2/opt/data/projects/miniconda/lib/python2.7/site-packages/clyent/__init__.py\", line 127, in add_subparser_modules\r\n        command_module.add_parser(subparsers)\r\n    File \"/data2/opt/data/projects/miniconda/lib/python2.7/site-packages/binstar_build_client/worker_commands/docker_run.py\", line 43, in add_parser\r\n        description, __doc__)\r\n    File \"/data2/opt/data/projects/miniconda/lib/python2.7/site-packages/binstar_build_client/worker_commands/run.py\", line 65, in add_parser\r\n        'conda-bld', '{platform}'),\r\n    File \"/data2/opt/data/projects/miniconda/lib/python2.7/posixpath.py\", line 70, in join\r\n        elif path == '' or path.endswith('/'):\r\n    AttributeError: 'NoneType' object has no attribute 'endswith'\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Anaconda-Server/docs.anaconda.org/issues/comments/154740898","html_url":"https://github.com/Anaconda-Server/docs.anaconda.org/issues/182#issuecomment-154740898","issue_url":"https://api.github.com/repos/Anaconda-Server/docs.anaconda.org/issues/182","id":154740898,"user":{"login":"srossross","id":741611,"avatar_url":"https://avatars.githubusercontent.com/u/741611?v=3","gravatar_id":"","url":"https://api.github.com/users/srossross","html_url":"https://github.com/srossross","followers_url":"https://api.github.com/users/srossross/followers","following_url":"https://api.github.com/users/srossross/following{/other_user}","gists_url":"https://api.github.com/users/srossross/gists{/gist_id}","starred_url":"https://api.github.com/users/srossross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srossross/subscriptions","organizations_url":"https://api.github.com/users/srossross/orgs","repos_url":"https://api.github.com/users/srossross/repos","events_url":"https://api.github.com/users/srossross/events{/privacy}","received_events_url":"https://api.github.com/users/srossross/received_events","type":"User","site_admin":false},"created_at":"2015-11-07T19:17:39Z","updated_at":"2015-11-07T19:17:39Z","body":"Hi @WouterVH, It looks like this bug is coming from here: https://github.com/Anaconda-Server/anaconda-build/blob/develop/binstar_build_client/utils/__init__.py#L7\r\n\r\nWe will work on finding a permanent solution, but for now:\r\n\r\n 1. Can you make sure the `conda` command is in your `PATH` variable?\r\n 2. OR uninstall anaconda-build\r\n\r\n\r\n"}}