2010/7/21 Shawn Milochik <sh...@milochik.com> > Are you using the default version of Python that came with Snow Leopard?
I tried with that too, with no success. Now I'm using a macports pthon version, with the same results. > If so, try a virtualenv. I did some searching on Google and saw similar > errors reported but it seems that bugs which would cause them have been > patched in current versions. I always been inside a virtualenv. > I do all my development in virtualenvs with official download versions of > Python from python.org and I've never had this problem, and I do use > iPython. > > This doesn't answer your question, but it should solve your problem. > It doesn't and I have more details: If I launch iPython alone, using bin/IPython, shell is working. If I launch IPython using python manage.py shell (django should use IPython if it finds that) i get the error. The error is exactly into this line: (status, result) = commands.getstatusoutput( "otool -L %s | grep libedit" % _rl.__file__ ) and it happens because i can import commands, but there are no methods called getstatusoutput. It's really strange that it happens only if I launch python manage.py shell, but not if I launch IPython standalone. I checked sys.path in both executions, but it should be fine (in fact i can import commands), why should a method be not available if I use manage.py? Thank you. Dario Ghilardi -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.