Changes between Initial Version and Version 5 of Ticket #27670


Ignore:
Timestamp:
Jun 29, 2017, 6:34:13 AM (7 years ago)
Author:
Peter Inglesby
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27670

    • Property Owner changed from nobody to Peter Inglesby
    • Property Status newassigned
    • Property Has patch set
    • Property Patch needs improvement set
    • Property Triage Stage UnreviewedAccepted
    • Property Summary Genuine ImportError masked by exception handling code when loading shellLoading shell crashes when pythonrc file contains error
  • Ticket #27670 – Description

    initial v5  
    1 When I run `./manage.py shell`, I get `ImportError: Couldn't load any of the specified interfaces.`
     1If a pythonrc file (either `~/.pythonrc`, or `$PYTHONHOME`) causes an exception, then `./manage.py shell` crashes.
    22
    3 It turns out that there's a problem with my readline installation which causes an `ImportError`.  This `ImportError` is caught and discarded by the `except ImportError` in `django.core.management.commands.shell.Command.handle`.
    4 
    5 Pull request incoming.
     3By contrast, CPython prints the exception and continues.
Back to Top