[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13906: 24.3; Display problems in Python shell
From: |
Glenn Morris |
Subject: |
bug#13906: 24.3; Display problems in Python shell |
Date: |
Fri, 08 Mar 2013 13:15:28 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
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