{"action":"created","issue":{"url":"https://api.github.com/repos/radio-astro-tools/casa-python/issues/7","labels_url":"https://api.github.com/repos/radio-astro-tools/casa-python/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/radio-astro-tools/casa-python/issues/7/comments","events_url":"https://api.github.com/repos/radio-astro-tools/casa-python/issues/7/events","html_url":"https://github.com/radio-astro-tools/casa-python/issues/7","id":31248053,"number":7,"title":"error on initial python setup_casapy_pip.py","user":{"login":"brisbind","id":5940378,"avatar_url":"https://avatars.githubusercontent.com/u/5940378?v=3","gravatar_id":"","url":"https://api.github.com/users/brisbind","html_url":"https://github.com/brisbind","followers_url":"https://api.github.com/users/brisbind/followers","following_url":"https://api.github.com/users/brisbind/following{/other_user}","gists_url":"https://api.github.com/users/brisbind/gists{/gist_id}","starred_url":"https://api.github.com/users/brisbind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brisbind/subscriptions","organizations_url":"https://api.github.com/users/brisbind/orgs","repos_url":"https://api.github.com/users/brisbind/repos","events_url":"https://api.github.com/users/brisbind/events{/privacy}","received_events_url":"https://api.github.com/users/brisbind/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-04-10T14:35:22Z","updated_at":"2015-04-09T15:42:46Z","closed_at":null,"body":"I have casapy 4.2.0. When I try the initial python setup_casapy_pip.py\r\n\r\n```\r\n(yt-x86_64)[dbrisbin@mach Downloads]$ python setup_casapy_pip.py\r\nTraceback (most recent call last):\r\n  File \"setup_casapy_pip.py\", line 227, in <module>\r\n    python_version = get_python_version_linux()\r\n  File \"setup_casapy_pip.py\", line 53, in get_python_version_linux\r\n    casapy_path = get_casapy_path()\r\n  File \"setup_casapy_pip.py\", line 38, in get_casapy_path\r\n    return os.path.realpath(find_executable('casapy'))\r\n  File \"/export/data_1/dbrisbin/Downloads/yt-x86_64/lib/python2.7/posixpath.py\", line 367, in realpath\r\n    path, ok = _joinrealpath('', filename, {})\r\n  File \"/export/data_1/dbrisbin/Downloads/yt-x86_64/lib/python2.7/posixpath.py\", line 373, in _joinrealpath\r\n    if isabs(rest):\r\n  File \"/export/data_1/dbrisbin/Downloads/yt-x86_64/lib/python2.7/posixpath.py\", line 61, in isabs\r\n    return s.startswith('/')\r\nAttributeError: 'NoneType' object has no attribute 'startswith'\r\n```"},"comment":{"url":"https://api.github.com/repos/radio-astro-tools/casa-python/issues/comments/91267891","html_url":"https://github.com/radio-astro-tools/casa-python/issues/7#issuecomment-91267891","issue_url":"https://api.github.com/repos/radio-astro-tools/casa-python/issues/7","id":91267891,"user":{"login":"keflavich","id":143715,"avatar_url":"https://avatars.githubusercontent.com/u/143715?v=3","gravatar_id":"","url":"https://api.github.com/users/keflavich","html_url":"https://github.com/keflavich","followers_url":"https://api.github.com/users/keflavich/followers","following_url":"https://api.github.com/users/keflavich/following{/other_user}","gists_url":"https://api.github.com/users/keflavich/gists{/gist_id}","starred_url":"https://api.github.com/users/keflavich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keflavich/subscriptions","organizations_url":"https://api.github.com/users/keflavich/orgs","repos_url":"https://api.github.com/users/keflavich/repos","events_url":"https://api.github.com/users/keflavich/events{/privacy}","received_events_url":"https://api.github.com/users/keflavich/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T15:42:46Z","updated_at":"2015-04-09T15:42:46Z","body":"@astro313 - this should now be fixed by #14.  Could you test and let us know if it worked?"}}