From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: TheLonelyStar Newsgroups: gmane.emacs.help Subject: Trouble using ipython Date: Thu, 8 Jul 2010 07:23:22 -0700 (PDT) Message-ID: <29107591.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1278599048 16887 80.91.229.12 (8 Jul 2010 14:24:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 8 Jul 2010 14:24:08 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 08 16:24:06 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OWs1E-0007mf-AO for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Jul 2010 16:24:04 +0200 Original-Received: from localhost ([127.0.0.1]:37853 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWs1D-0003Rr-HA for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Jul 2010 10:24:03 -0400 Original-Received: from [140.186.70.92] (port=46051 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWs0b-0003Qw-5n for Help-gnu-emacs@gnu.org; Thu, 08 Jul 2010 10:23:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OWs0Z-0000X3-Dr for Help-gnu-emacs@gnu.org; Thu, 08 Jul 2010 10:23:25 -0400 Original-Received: from kuber.nabble.com ([216.139.236.158]:37030) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OWs0Z-0000Wq-9d for Help-gnu-emacs@gnu.org; Thu, 08 Jul 2010 10:23:23 -0400 Original-Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1OWs0Y-0008If-Em for Help-gnu-emacs@gnu.org; Thu, 08 Jul 2010 07:23:22 -0700 X-Nabble-From: nabble2@lonely-star.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:74137 Archived-At: Hi I am trying to use ipython.el, my setup is: (add-to-list 'load-path "~/emacs/ipython/") (require 'ipython) (setq py-python-command-args '( "-colors" "Linux")) (defadvice py-execute-buffer (around python-keep-focus activate) "return focus to python code buffer" (save-excursion ad-do-it)) Now, when I do python->execute buffer in a python file, I get: An Ipython buffer, looking really strange: =01=1B[0;32m=02In [=01=1B[1;32m=021=01=1B[0;32m=02]: =01=1B[0m=02=01=1B[0;3= 2m=02 ...: =01=1B[0m=02=01=1B[0;32m=02 =20 ...: =01=1B[0m=02=01=1B[0;32m=02 ...: =01=1B[0m=02 =01=1B[0;32m=02In [=01=1B[1;32m=022=01=1B[0;32m=02]: =01=1B[0m=02=01=1B[0;3= 2m=02 ...: =01=1B[0m=02=01=1B[0;32m=02 =20 ...: =01=1B[0m=02 =01=1B[0;32m=02In [=01=1B[1;32m=023=01=1B[0;32m=02]: =01=1B[0m=02 =01=1B[0;32m=02In [=01=1B[1;32m=024=01=1B[0;32m=02]: =01=1B[0m=02=01=1B[0;3= 2m=02 ...: =01=1B[0m=02=01=1B[0;32m=02 =20 ...: =01=1B[0m=02=01=1B[0;32m=02 ...: =01=1B[0m=02 =01=1B[0;32m=02In [=01=1B[1;32m=025=01=1B[0;32m=02]: =01=1B[0m=02=01=1B[0;3= 2m=02 ...: =01=1B[0m=02=01=1B[0;32m=02 =20 ...: =01=1B[0m=02 =01=1B[0;32m=02In [=01=1B[1;32m=026=01=1B[0;32m=02]: =01=1B[0m=02=01=1B[0;3= 2m=02 ...: =01=1B[0m=02=01=1B[0;32m=02 =20 ...: =01=1B[0m=02 =01=1B[0;32m=02In [=01=1B[1;32m=027=01=1B[0;32m=02]: =01=1B[0m=02 =01=1B[0;32m=02In [=01=1B[1;32m=028=01=1B[0;32m=02]: =01=1B[0m=02 =01=1B[0;32m=02In [=01=1B[1;32m=029=01=1B[0;32m=02]: =01=1B[0m=02 =01=1B[0;32m=02In [=01=1B[1;32m=0210=01=1B[0;32m=02]: =01=1B[0m=02 =01=1B[0;32m=02In [=01=1B[1;32m=0211=01=1B[0;32m=02]: =01=1B[0m=02=1B[1;31m------------------------------------------------------= ---------------------=1B[0m =1B[1;31mAttributeError=1B[0m Traceback (most re= cent call last) What could be wrong? Thanks! Nathan --=20 View this message in context: http://old.nabble.com/Trouble-using-ipython-t= p29107591p29107591.html Sent from the Emacs - Help mailing list archive at Nabble.com.