Skip to content

traceback that is seen if casapy is not present as an alias to the CASA.app #6

@trhunter

Description

@trhunter
[oakenshield:~/Downloads] thunter% python setup_casapy_pip.py
Traceback (most recent call last):
  File "setup_casapy_pip.py", line 222, in <module>
    python_version = get_python_version_mac()
  File "setup_casapy_pip.py", line 42, in get_python_version_mac
    casapy_path = get_casapy_path()
  File "setup_casapy_pip.py", line 38, in get_casapy_path
    return os.path.realpath(find_executable('casapy'))
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py", line 367, in realpath
    path, ok = _joinrealpath('', filename, {})
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py", line 373, in _joinrealpath
    if isabs(rest):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py", line 61, in isabs
    return s.startswith('/')
AttributeError: 'NoneType' object has no attribute 'startswith'
[oakenshield:~/Downloads] thunter% which casapy
casapy: Command not found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions