GNU bug report logs - #21431
24.5; Double outputs, weird elements while using python shell

Previous Next

Package: emacs;

Reported by: Johnny Zhao <dz357488639 <at> gmail.com>

Date: Tue, 8 Sep 2015 04:45:02 UTC

Severity: normal

Merged with 22796, 25753, 26326

Found in versions 24.5, 25.1, 25.2, 26.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21431 in the body.
You can then email your comments to 21431 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#21431; Package emacs. (Tue, 08 Sep 2015 04:45:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Johnny Zhao <dz357488639 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 08 Sep 2015 04:45:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Johnny Zhao <dz357488639 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.5; Double outputs, weird elements while using python shell
Date: Mon, 7 Sep 2015 23:42:02 -0400
[Message part 1 (text/plain, inline)]
Message-ID: <m2pp1tr3is.fsf <at> gmail.com>

--text follows this line--
This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU
bug tracker at debbugs.gnu.org. Please check that From: line contains a
valid email address. After a delay of up to one day, you should receive an
acknowledgment at that address.

Please write in English if possible, as the Emacs maintainers usually do
not have translators for other languages.

Please describe exactly what actions triggered the bug, and the precise
symptoms of the bug. If you can, give a recipe starting from 'emacs -Q':

*Description:* I first started creating a python file, L2_1.py. And I wrote
two lines of code in that file:

num = raw_input("Enter a num? ")
print num

Then, I pressed C-c C-c to send the code to python shell. And pressed
C-c C-z to activate the interactive python shell itself. Then there is
an error appeared after >>>.

*Error: *>>>import codecs, os;__pyfile =
codecs.open('''/var/folders/pp/f3d79ck56qg0vr86723zymtw0000gn/Tpy10804Poh''',
encoding = '''utf-8''');__code =
__pyfile.read().encode('''utf-8''');__pyfile.close();os.remove('''/var/folders/pp/f3d79ck56qg0vr86723zymtw0000gn/T/py10804Poh''');exec(compile(__code,
'''/Users/dongzhao/Documents/pyEnv/6.00.1x/L2_1.py''', 'exec'));
Enter a num? 2
2
2
>>>




In GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21)
 of 2015-04-10 on builder10-9.porkrind.org
Windowing system distributor `Apple', version 10.3.1348
Configured using:
 `configure --with-ns '--enable-locallisppath=/Library/Application
 Support/Emacs/${version}/site-lisp:/Library/Application
 Support/Emacs/site-lisp''

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  show-paren-mode: t
  pyvenv-mode: t
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
[yas] Prepared just-in-time loading for
/Users/dongzhao/.emacs.d/elpa/elpy-1.9.0/snippets/
[yas] Prepared just-in-time loading for
/Users/dongzhao/.emacs.d/elpa/yasnippet-0.8.0/snippets
[yas] Check your `yas-snippet-dirs': ~/.emacs.d/snippets is not a directory
[yas] Reloaded everything (snippets will load just-in-time)... (some
errors, check *Messages*).
Loading
/Users/dongzhao/.emacs.d/el-get/color-theme/themes/color-theme-example.el
(source)...done
Loading
/Users/dongzhao/.emacs.d/el-get/color-theme/themes/color-theme-library.el
(source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils afternoon-theme autopair byte-opt paren
switch-window quail ido-hacks buffer-move windmove cl-macs color-theme
.loaddefs el-get el-get-autoloading el-get-list-packages
el-get-dependencies el-get-build el-get-status pp el-get-methods
el-get-fossil el-get-svn el-get-pacman el-get-github-zip
el-get-github-tar el-get-http-zip el-get-http-tar el-get-hg el-get-go
el-get-git-svn el-get-fink el-get-emacswiki el-get-http el-get-notify
el-get-emacsmirror el-get-github el-get-git el-get-elpa el-get-darcs
el-get-cvs el-get-bzr el-get-brew el-get-builtin el-get-apt-get
el-get-recipes el-get-byte-compile el-get-custom el-get-core autoload
lisp-mnt bytecomp byte-compile cconv dired cl-extra yasnippet advice
help-mode cl gv highlight-indentation flymake eldoc company edmacro
kmacro help-fns elpy pyvenv elpy-refactor python json ido grep compile
comint ansi-color files-x etags ring cus-edit easymenu cus-start
cus-load wid-edit cl-loaddefs cl-lib package epg-config time-date
tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel
ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list
newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp
files text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
cocoa ns multi-tty emacs)

Memory information:
((conses 16 258336 8445)
 (symbols 48 27014 0)
 (miscs 40 40 203)
 (strings 32 46630 6814)
 (string-bytes 1 1106561)
 (vectors 16 18181)
 (vector-slots 8 458453 6340)
 (floats 8 201 204)
 (intervals 56 218 0)
 (buffers 960 11))
[Message part 2 (text/html, inline)]

Merged 21431 25753 26326. Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Sun, 04 Jun 2017 16:11:02 GMT) Full text and rfc822 format available.

Merged 21431 22796 25753 26326. Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Mon, 03 Jul 2017 15:26:01 GMT) Full text and rfc822 format available.

Merged 21431 22796 25753 26326 32042. Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 02 Jul 2018 20:33:02 GMT) Full text and rfc822 format available.

Disconnected #32042 from all other report(s). Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Wed, 11 Jul 2018 00:33:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 22 Sep 2023 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 232 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.