#13979: Django manage.py doesn’t work with IPython
-------------------------------------+--------------------------------------
Reporter: ingo86 | Owner: nobody
Status: new | Milestone:
Component: Core framework | Version: 1.2
Keywords: manage.py shell ipython | Stage: Unreviewed
Has_patch: 0 |
-------------------------------------+--------------------------------------
I am on MacOSX Snow Leopard and I'm using python 2.6.5 installed with
macports. I'm inside a virtualenv.
I can't run python manage.py shell after installing IPython but I can run
IPython standalone.
I figured out that the following line, contained into IPython is what
causes the issue:
{{{
(status, result) = commands.getstatusoutput( "otool -L %s | grep libedit"
% _rl.__file__ )
}}}
This happens because for a strange reason, the method getstatusoutput is
not available when i launch python manage.py shell but it's available when
I launch ipython. I can import the commands module in both cases. I tried
looking at the sys.path during the execution of both, but there are no
differences.
--
Ticket URL: <http://code.djangoproject.com/ticket/13979>
Django <http://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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.