{"action":"created","issue":{"url":"https://api.github.com/repos/cltk/cltk/issues/153","repository_url":"https://api.github.com/repos/cltk/cltk","labels_url":"https://api.github.com/repos/cltk/cltk/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/cltk/cltk/issues/153/comments","events_url":"https://api.github.com/repos/cltk/cltk/issues/153/events","html_url":"https://github.com/cltk/cltk/issues/153","id":137446627,"number":153,"title":"Various Build Errors","user":{"login":"nelson-liu","id":7272031,"avatar_url":"https://avatars.githubusercontent.com/u/7272031?v=3","gravatar_id":"","url":"https://api.github.com/users/nelson-liu","html_url":"https://github.com/nelson-liu","followers_url":"https://api.github.com/users/nelson-liu/followers","following_url":"https://api.github.com/users/nelson-liu/following{/other_user}","gists_url":"https://api.github.com/users/nelson-liu/gists{/gist_id}","starred_url":"https://api.github.com/users/nelson-liu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nelson-liu/subscriptions","organizations_url":"https://api.github.com/users/nelson-liu/orgs","repos_url":"https://api.github.com/users/nelson-liu/repos","events_url":"https://api.github.com/users/nelson-liu/events{/privacy}","received_events_url":"https://api.github.com/users/nelson-liu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cltk/cltk/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"kylepjohnson","id":1854968,"avatar_url":"https://avatars.githubusercontent.com/u/1854968?v=3","gravatar_id":"","url":"https://api.github.com/users/kylepjohnson","html_url":"https://github.com/kylepjohnson","followers_url":"https://api.github.com/users/kylepjohnson/followers","following_url":"https://api.github.com/users/kylepjohnson/following{/other_user}","gists_url":"https://api.github.com/users/kylepjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/kylepjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylepjohnson/subscriptions","organizations_url":"https://api.github.com/users/kylepjohnson/orgs","repos_url":"https://api.github.com/users/kylepjohnson/repos","events_url":"https://api.github.com/users/kylepjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/kylepjohnson/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2016-03-01T02:31:43Z","updated_at":"2016-03-02T00:07:45Z","closed_at":"2016-03-02T00:01:00Z","body":"I installed CLTK from source and ran nosetests, and got a few errors. Let me know if it's something I'm doing wrong on my end / these are skipped by travis for some reason / I have some installation issues.\r\nHere's the `nosetests` traceback:\r\n```\r\n======================================================================\r\nERROR: Test TLGU convert. This reads the file\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/Users/nelsonliu/Documents/Github/cltk/cltk/tests/test_corpus.py\", line 74, in test_tlgu_convert\r\n    new_text = out_file.read()\r\n  File \"/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/encodings/ascii.p\r\ny\", line 26, in decode                                                                                         \r\n    return codecs.ascii_decode(input, self.errors)[0]\r\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 1: ordinal not in range(128)\r\n-------------------- >> begin captured logging << --------------------\r\nCLTK: INFO: tlgu  /Users/nelsonliu/Documents/Github/cltk/cltk/tests/tlgu_test_text_beta_code.txt /Users/nelsonli\r\nu/cltk_data/tlgu_test_text_unicode.txt                                                                         \r\n--------------------- >> end captured logging << ---------------------\r\n\r\n======================================================================\r\nERROR: Test make_ner(), list, list.\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/Users/nelsonliu/Documents/Github/cltk/cltk/tests/test_tag.py\", line 160, in test_tag_ner_list_list_gree\r\nk                                                                                                              \r\n    tokens = ner.tag_ner('greek', input_text=text_list, output_type=list)\r\n  File \"/Users/nelsonliu/Documents/Github/cltk/cltk/tag/ner.py\", line 55, in tag_ner\r\n    ner_str = file_open.read()\r\n  File \"/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/encodings/ascii.p\r\ny\", line 26, in decode                                                                                         \r\n    return codecs.ascii_decode(input, self.errors)[0]\r\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 0: ordinal not in range(128)\r\n-------------------- >> begin captured logging << --------------------\r\nCLTK: INFO: Pulling latest 'greek_models_cltk' from 'https://github.com/cltk/greek_models_cltk.git'.\r\nCLTK: INFO: Pulling latest 'latin_models_cltk' from 'https://github.com/cltk/latin_models_cltk.git'.\r\n--------------------- >> end captured logging << ---------------------\r\n\r\n======================================================================\r\nERROR: Test make_ner(), list, str.\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/Users/nelsonliu/Documents/Github/cltk/cltk/tests/test_tag.py\", line 167, in test_tag_ner_list_str_greek\r\n    text = ner.tag_ner('greek', input_text=text_list, output_type=str)\r\n  File \"/Users/nelsonliu/Documents/Github/cltk/cltk/tag/ner.py\", line 55, in tag_ner\r\n    ner_str = file_open.read()\r\n  File \"/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/encodings/ascii.p\r\ny\", line 26, in decode                                                                                         \r\n    return codecs.ascii_decode(input, self.errors)[0]\r\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 0: ordinal not in range(128)\r\n-------------------- >> begin captured logging << --------------------\r\nCLTK: INFO: Pulling latest 'greek_models_cltk' from 'https://github.com/cltk/greek_models_cltk.git'.\r\nCLTK: INFO: Pulling latest 'latin_models_cltk' from 'https://github.com/cltk/latin_models_cltk.git'.\r\n--------------------- >> end captured logging << ---------------------\r\n\r\n======================================================================\r\nERROR: Test make_ner(), str, list.\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/Users/nelsonliu/Documents/Github/cltk/cltk/tests/test_tag.py\", line 153, in test_tag_ner_str_list_greek\r\n    tokens = ner.tag_ner('greek', input_text=text_str, output_type=list)\r\n  File \"/Users/nelsonliu/Documents/Github/cltk/cltk/tag/ner.py\", line 55, in tag_ner\r\n    ner_str = file_open.read()\r\n  File \"/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/encodings/ascii.p\r\ny\", line 26, in decode                                                                                         \r\n    return codecs.ascii_decode(input, self.errors)[0]\r\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 0: ordinal not in range(128)\r\n-------------------- >> begin captured logging << --------------------\r\nCLTK: INFO: Pulling latest 'greek_models_cltk' from 'https://github.com/cltk/greek_models_cltk.git'.\r\nCLTK: INFO: Pulling latest 'latin_models_cltk' from 'https://github.com/cltk/latin_models_cltk.git'.\r\n--------------------- >> end captured logging << ---------------------\r\n\r\n======================================================================\r\nERROR: Test make_ner(), str, str.\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/Users/nelsonliu/Documents/Github/cltk/cltk/tests/test_tag.py\", line 174, in test_tag_ner_str_str_greek\r\n    text = ner.tag_ner('greek', input_text=text_str, output_type=str)\r\n  File \"/Users/nelsonliu/Documents/Github/cltk/cltk/tag/ner.py\", line 55, in tag_ner\r\n    ner_str = file_open.read()\r\n  File \"/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/encodings/ascii.p\r\ny\", line 26, in decode                                                                                         \r\n    return codecs.ascii_decode(input, self.errors)[0]\r\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 0: ordinal not in range(128)\r\n-------------------- >> begin captured logging << --------------------\r\nCLTK: INFO: Pulling latest 'greek_models_cltk' from 'https://github.com/cltk/greek_models_cltk.git'.\r\nCLTK: INFO: Pulling latest 'latin_models_cltk' from 'https://github.com/cltk/latin_models_cltk.git'.\r\n--------------------- >> end captured logging << ---------------------\r\n\r\n======================================================================\r\nERROR: test_contribs_write_contribs (test_utils.TestSequenceFunctions)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/Users/nelsonliu/Documents/Github/cltk/cltk/tests/test_utils.py\", line 131, in test_contribs_write_contr\r\nibs                                                                                                            \r\n    contribs.write_contribs()\r\n  File \"/Users/nelsonliu/Documents/Github/cltk/cltk/utils/contributors.py\", line 100, in write_contribs\r\n    file_open.write(file_str)\r\nUnicodeEncodeError: 'ascii' codec can't encode character '\\xed' in position 1848: ordinal not in range(128)\r\n-------------------- >> begin captured stdout << ---------------------\r\nGensim not installed.\r\n\r\n--------------------- >> end captured stdout << ----------------------\r\n-------------------- >> begin captured logging << --------------------\r\nCLTK: INFO: Pulling latest 'greek_models_cltk' from 'https://github.com/cltk/greek_models_cltk.git'.\r\nCLTK: INFO: Pulling latest 'latin_models_cltk' from 'https://github.com/cltk/latin_models_cltk.git'.\r\n--------------------- >> end captured logging << ---------------------\r\n\r\n----------------------------------------------------------------------\r\nRan 126 tests in 86.816s\r\n\r\nFAILED (errors=6)\r\n\r\n```\r\nHere's the `pip list` traceback:\r\n```\r\ncltk (0.1.32)\r\nfuzzywuzzy (0.8.2)\r\ngitdb (0.6.4)\r\nGitPython (1.0.2)\r\nnltk (3.1)\r\nnose (1.3.7)\r\npip (8.0.3)\r\npython-Levenshtein (0.12.0)\r\nregex (2016.2.25)\r\nsetuptools (18.2)\r\nsmmap (0.9.0)\r\nWhoosh (2.7.2)\r\n```\r\nI'm running this in a virtualenv with python 3.5.1 on OSX El Capitan 10.11 (platform is `Darwin-15.0.0-x86_64-i386-64bit`)"},"comment":{"url":"https://api.github.com/repos/cltk/cltk/issues/comments/190981717","html_url":"https://github.com/cltk/cltk/issues/153#issuecomment-190981717","issue_url":"https://api.github.com/repos/cltk/cltk/issues/153","id":190981717,"user":{"login":"nelson-liu","id":7272031,"avatar_url":"https://avatars.githubusercontent.com/u/7272031?v=3","gravatar_id":"","url":"https://api.github.com/users/nelson-liu","html_url":"https://github.com/nelson-liu","followers_url":"https://api.github.com/users/nelson-liu/followers","following_url":"https://api.github.com/users/nelson-liu/following{/other_user}","gists_url":"https://api.github.com/users/nelson-liu/gists{/gist_id}","starred_url":"https://api.github.com/users/nelson-liu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nelson-liu/subscriptions","organizations_url":"https://api.github.com/users/nelson-liu/orgs","repos_url":"https://api.github.com/users/nelson-liu/repos","events_url":"https://api.github.com/users/nelson-liu/events{/privacy}","received_events_url":"https://api.github.com/users/nelson-liu/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T00:07:45Z","updated_at":"2016-03-02T00:07:45Z","body":"Great, will do. Also I failed to mention, but there seem to be some issues with `pip install codecov==1.6.4`. I don't see a 1.6.4 release on [its github page](https://github.com/codecov/codecov-python/releases) and the [link on pypi](https://pypi.python.org/pypi/codecov/1.6.4) is also a 404."}}