From: Glenn Morris <rgm@gnu.org>
To: Fabian Ezequiel Gallina <fabian@anue.biz>
Cc: 13906@debbugs.gnu.org, Konrad Hinsen <googlegroups@khinsen.fastmail.net>
Subject: bug#13906: 24.3; Display problems in Python shell
Date: Fri, 08 Mar 2013 13:15:28 -0500 [thread overview]
Message-ID: <bgy5dx21xb.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <20793.61062.681490.981909@Konrad-Hinsens-MacBook-Pro.local> (Konrad Hinsen's message of "Fri, 8 Mar 2013 14:58:30 +0100")
Any ideas about recent changes which might have caused this?
Konrad Hinsen wrote:
> I have been using Python mode with the Python shell configured for
> IPython (as explained in the comments in python.el) for a while with
> Emacs 24.2.92 and now with 24.3rc2. It has worked perfectly fine in
> 24.2.92, but in 24.3rc2 I get frequent display problems which
> unfortunately I have not yet been able to make reproducible. The
> trouble always starts with the display of a Python
> traceback. Somewhere in the middle of the traceback, terminal escape
> characters (used by IPython for coloring) are shown instead of being
> executed. Here is an example (a screen capture is attached):
>
> /Users/hinsen/Programs/MMTK/main_python_path/MMTK/Trajectory.pyc in __getattr__(self, name)
> 254 var = self.trajectory.file.variables[name]
> 255 except KeyError:
> --> 256 raise AttributeError("no variable named " + name)
> 257 if 'atom_number' in var.dimensions:
> 258 return TrajectoryVariable(self.universe, self, name)
>
> AttributeError: no variable named file
>> /Users/hinsen/Programs/MMTK/main_python_path/MMTK/Trajectory.py(256)__getattr__()
> 255 except KeyError:
> --> 256 raise AttributeError("no variable named " + name)
> 257 if 'atom_number' in var.dimensions:
>
> ipdb>
>
> In GNU Emacs 24.3.1 (x86_64-apple-darwin11.4.2, NS apple-appkit-1138.51)
> of 2013-03-08 on Konrad-Hinsens-MacBook-Pro.local
> Windowing system distributor `Apple', version 10.3.1138
> Configured using:
> `configure '--with-ns''
>
> Important settings:
> value of $LC_ALL: en_US.UTF-8
> value of $LANG: en_US.UTF-8
> locale-coding-system: utf-8-unix
> default enable-multibyte-characters: t
>
> Major mode: Inferior Python
>
> Minor modes in effect:
> compilation-shell-minor-mode: t
> global-auto-revert-mode: t
> recentf-mode: t
> show-paren-mode: t
> shell-dirtrack-mode: t
> diff-auto-refine-mode: t
> global-undo-tree-mode: t
> undo-tree-mode: t
> yas-global-mode: t
> yas-minor-mode: t
> mouse-wheel-mode: t
> menu-bar-mode: t
> file-name-shadow-mode: t
> global-font-lock-mode: t
> font-lock-mode: t
> auto-composition-mode: t
> auto-encryption-mode: t
> auto-compression-mode: t
> line-number-mode: t
> transient-mark-mode: t
next prev parent reply other threads:[~2013-03-08 18:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-08 13:58 bug#13906: 24.3; Display problems in Python shell Konrad Hinsen
2013-03-08 18:15 ` Glenn Morris [this message]
2013-03-08 18:59 ` Fabián Ezequiel Gallina
2013-03-08 19:03 ` Glenn Morris
2013-03-08 21:42 ` Andreas Röhler
2013-12-12 4:01 ` bug#13906: Fabián Ezequiel Gallina
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bgy5dx21xb.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=13906@debbugs.gnu.org \
--cc=fabian@anue.biz \
--cc=googlegroups@khinsen.fastmail.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.