id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 22256 Crash in find_program when PATH isn't defined Patrick Michaud nobody "In django/core/management/utils.py, the line that determines entries in the PATH looks like this: path = os.environ.get('PATH', []).split(os.pathsep) The problem is when PATH isn't defined, it calls [].split(), which leads to this exception: AttributeError: 'list' object has no attribute 'split' There is a pull request for this issue at https://github.com/django/django/pull/2422" Bug closed Core (Management commands) dev Normal fixed Accepted 1 0 0 1 0 0