#16483: manage.py shell does not work with the latest IPython release (0.11.rc2)
-------------------------------------+-------------------------------------
               Reporter:  croach     |          Owner:  croach
                   Type:  Bug        |         Status:  new
              Milestone:             |      Component:  Core (Management
                Version:  SVN        |  commands)
             Resolution:             |       Severity:  Normal
           Triage Stage:  Accepted   |       Keywords:
    Needs documentation:  0          |      Has patch:  1
Patch needs improvement:  0          |    Needs tests:  0
                  UI/UX:  0          |  Easy pickings:  0
-------------------------------------+-------------------------------------

Comment (by croach):

 The reason that I added the fix that I did is because the manage.py shell
 command was not working with the latest IPython version. That said, I am
 running the master branch of the IPython 0.11 github repository and not
 one of the tagged versions. After much searching through the new
 documentation, I came across the code that you see in the patch as a way
 of starting up an IPython interactive session. It is possible that this is
 not the correct way to do this, but I've tried both what is in the current
 shell.py file and what you (minrk) mention at the end of your last comment
 and are failing at this time. For whatever reason, the import of
 TerminalInteractiveShell works just fine, but the instantiation of that
 class is not working. When I try to use the resultant shell variable, I
 get an object does not exist error. Calling the embed function, however,
 seems to work just fine.

 minrk, is there anything else that you would suggest I try? I will
 checkout a tagged version of the repo and test against that and post my
 results here. If you can think of anything else, please post your ideas
 here and I'll give them a try.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16483#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to