Opened 8 years ago

Last modified 7 years ago

#27670 closed Bug

Genuine ImportError masked by exception handling code when loading shell — at Initial Version

Reported by: Peter Inglesby Owned by: nobody
Component: Core (Management commands) Version: 1.10
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

When I run ./manage.py shell, I get ImportError: Couldn't load any of the specified interfaces.

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.

Pull request incoming.

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top