{"action":"created","issue":{"url":"https://api.github.com/repos/FluVigilanciaBR/fludashboard/issues/100","repository_url":"https://api.github.com/repos/FluVigilanciaBR/fludashboard","labels_url":"https://api.github.com/repos/FluVigilanciaBR/fludashboard/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/FluVigilanciaBR/fludashboard/issues/100/comments","events_url":"https://api.github.com/repos/FluVigilanciaBR/fludashboard/issues/100/events","html_url":"https://github.com/FluVigilanciaBR/fludashboard/issues/100","id":268170297,"number":100,"title":"Conda cerate env error with requirements-dev.txt","user":{"login":"marfcg","id":8262366,"avatar_url":"https://avatars0.githubusercontent.com/u/8262366?v=4","gravatar_id":"","url":"https://api.github.com/users/marfcg","html_url":"https://github.com/marfcg","followers_url":"https://api.github.com/users/marfcg/followers","following_url":"https://api.github.com/users/marfcg/following{/other_user}","gists_url":"https://api.github.com/users/marfcg/gists{/gist_id}","starred_url":"https://api.github.com/users/marfcg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marfcg/subscriptions","organizations_url":"https://api.github.com/users/marfcg/orgs","repos_url":"https://api.github.com/users/marfcg/repos","events_url":"https://api.github.com/users/marfcg/events{/privacy}","received_events_url":"https://api.github.com/users/marfcg/received_events","type":"User","site_admin":false},"labels":[{"id":433112583,"url":"https://api.github.com/repos/FluVigilanciaBR/fludashboard/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-24T20:13:54Z","updated_at":"2017-10-24T20:18:38Z","closed_at":"2017-10-24T20:18:38Z","author_association":"COLLABORATOR","body":"I've tried to create a conda env using requirements-dev.txt, to install fludashboard-dev, and got an error at the shell requirement:\r\n```\r\nmarfcg@marfcg-Satellite-L840:~/codes/FluVigilanciaBR/fludashboard$ conda env create -f requirements-dev.txt -n fludashboard-dev\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.3.29\r\n       conda is private : False\r\n      conda-env version : 4.3.29\r\n    conda-build version : not installed\r\n         python version : 3.6.3.final.0\r\n       requests version : 2.18.4\r\n       root environment : /home/marfcg/miniconda3  (writable)\r\n    default environment : /home/marfcg/miniconda3\r\n       envs directories : /home/marfcg/miniconda3/envs\r\n                          /home/marfcg/.conda/envs\r\n          package cache : /home/marfcg/miniconda3/pkgs\r\n                          /home/marfcg/.conda/pkgs\r\n           channel URLs : https://conda.anaconda.org/conda-forge/linux-64\r\n                          https://conda.anaconda.org/conda-forge/noarch\r\n                          https://repo.continuum.io/pkgs/main/linux-64\r\n                          https://repo.continuum.io/pkgs/main/noarch\r\n                          https://repo.continuum.io/pkgs/free/linux-64\r\n                          https://repo.continuum.io/pkgs/free/noarch\r\n                          https://repo.continuum.io/pkgs/r/linux-64\r\n                          https://repo.continuum.io/pkgs/r/noarch\r\n                          https://repo.continuum.io/pkgs/pro/linux-64\r\n                          https://repo.continuum.io/pkgs/pro/noarch\r\n            config file : /home/marfcg/.condarc\r\n             netrc file : /home/marfcg/.netrc\r\n           offline mode : False\r\n             user-agent : conda/4.3.29 requests/2.18.4 CPython/3.6.3 Linux/4.4.0-97-generic debian/stretch/sid glibc/2.23    \r\n                UID:GID : 1000:1000\r\n\r\n`$ /home/marfcg/miniconda3/bin/conda-env create -f requirements-dev.txt -n fludashboard-dev`\r\n\r\n\r\n\r\n\r\n    Traceback (most recent call last):\r\n      File \"/home/marfcg/miniconda3/lib/python3.6/site-packages/conda/exceptions.py\", line 640, in conda_exception_handler\r\n        return_value = func(*args, **kwargs)\r\n      File \"/home/marfcg/miniconda3/lib/python3.6/site-packages/conda_env/cli/main_create.py\", line 78, in execute\r\n        directory=os.getcwd())\r\n      File \"/home/marfcg/miniconda3/lib/python3.6/site-packages/conda_env/specs/__init__.py\", line 20, in detect\r\n        if spec.can_handle():\r\n      File \"/home/marfcg/miniconda3/lib/python3.6/site-packages/conda_env/specs/yaml_file.py\", line 14, in can_handle\r\n        self._environment = env.from_file(self.filename)\r\n      File \"/home/marfcg/miniconda3/lib/python3.6/site-packages/conda_env/env.py\", line 80, in from_file\r\n        return from_yaml(yamlstr, filename=filename)\r\n      File \"/home/marfcg/miniconda3/lib/python3.6/site-packages/conda_env/env.py\", line 68, in from_yaml\r\n        data = yaml.load(yamlstr)\r\n      File \"/home/marfcg/miniconda3/lib/python3.6/site-packages/ruamel_yaml/main.py\", line 75, in load\r\n        return loader.get_single_data()\r\n      File \"/home/marfcg/miniconda3/lib/python3.6/site-packages/ruamel_yaml/constructor.py\", line 60, in get_single_data\r\n        node = self.get_single_node()\r\n      File \"/home/marfcg/miniconda3/lib/python3.6/site-packages/ruamel_yaml/composer.py\", line 56, in get_single_node\r\n        if not self.check_event(StreamEndEvent):\r\n      File \"/home/marfcg/miniconda3/lib/python3.6/site-packages/ruamel_yaml/parser.py\", line 116, in check_event\r\n        self.current_event = self.state()\r\n      File \"/home/marfcg/miniconda3/lib/python3.6/site-packages/ruamel_yaml/parser.py\", line 194, in parse_document_start\r\n        self.peek_token().start_mark)\r\n    ruamel_yaml.parser.ParserError: expected '<document start>', but found '<scalar>'\r\n      in \"<unicode string>\", line 7, column 1:\r\n        sh\r\n        ^\r\n```\r\nSetting up an env with requirements.txt went ok, though."},"comment":{"url":"https://api.github.com/repos/FluVigilanciaBR/fludashboard/issues/comments/339118118","html_url":"https://github.com/FluVigilanciaBR/fludashboard/issues/100#issuecomment-339118118","issue_url":"https://api.github.com/repos/FluVigilanciaBR/fludashboard/issues/100","id":339118118,"user":{"login":"marfcg","id":8262366,"avatar_url":"https://avatars0.githubusercontent.com/u/8262366?v=4","gravatar_id":"","url":"https://api.github.com/users/marfcg","html_url":"https://github.com/marfcg","followers_url":"https://api.github.com/users/marfcg/followers","following_url":"https://api.github.com/users/marfcg/following{/other_user}","gists_url":"https://api.github.com/users/marfcg/gists{/gist_id}","starred_url":"https://api.github.com/users/marfcg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marfcg/subscriptions","organizations_url":"https://api.github.com/users/marfcg/orgs","repos_url":"https://api.github.com/users/marfcg/repos","events_url":"https://api.github.com/users/marfcg/events{/privacy}","received_events_url":"https://api.github.com/users/marfcg/received_events","type":"User","site_admin":false},"created_at":"2017-10-24T20:18:38Z","updated_at":"2017-10-24T20:18:38Z","author_association":"COLLABORATOR","body":"Ok. I see what the problem is. I assumed it was the same file as conda uses for setting up the environment, which it is not. My bad."}}
{"actor":{"display_login":"marfcg"}}