Error on py-execute-buffer: "let: Symbol's function definition is void: py-execute-region"

Bug #1456456 reported by Brian Z
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mode.el
Fix Released
High
Andreas Roehler

Bug Description

I am running the latest python-mode.el from ELPA. Even from a clean init (`emacs -Q`), when I run `py-execute-buffer` it gives me the error "Symbol's function definition is void: py-execute-region".

The output of `py-version` also seems a bit strange:
"Using `python-mode' version This is experimental `python-components-mode' not released yet, see https://code.launchpad.net/~a-roehler/python-mode/python-mode-components"

Revision history for this message
Brian Z (brian-zbr) wrote :
Download full text (3.7 KiB)

Here the info from `report-emacs-bug`:

In GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 3.10.7)
 of 2014-03-08 on toyol, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11501000
System Description: Ubuntu 14.04.2 LTS

Configured using:
 `configure '--build' 'i686-linux-gnu' '--build' 'i686-linux-gnu'
 '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
 '--localstatedir=/var/lib' '--infodir=/usr/share/info'
 '--mandir=/usr/share/man' '--with-pop=yes'
 '--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/site-lisp:/usr/share/emacs/site-lisp'
 '--with-crt-dir=/usr/lib/i386-linux-gnu' '--with-x=yes'
 '--with-x-toolkit=gtk3' '--with-toolkit-scroll-bars'
 'build_alias=i686-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector
 --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall'
 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'
 'CPPFLAGS=-D_FORTIFY_SOURCE=2''

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Py

Minor modes in effect:
  outline-minor-mode: t
  shell-dirtrack-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-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 input:
C-x C-f p y <tab> . <tab> <return> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <menu-bar> <emacs-lisp>
<eval-buffer> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <menu-bar> <file> <open-file> M-x p y t
<tab> <backspace> - e x <tab> e c u <tab> b u f f <tab>
<return> M-x e m a <tab> r e p <tab> <backspace> <backspace>
<backspace> b u <tab> <backspace> <backspace> <help-echo>
<down-mouse-1> <mouse-1> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> r e p o <tab> r
<tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Loading vc-git...done
Don't see where py-install-directory is set, see README.org, taking default-directory: /home/dowcet/.emacs.d/elpa/python-mode-20150428.1253/
Making completion list...
let: Symbol's function definition is void: py-execute-region
Making completion list...

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 help-mode noutline outline easy-mmode python-mode
derived edmacro kmacro info-look info easymenu advice help-fns
advice-preload cl-macs gv thingatpt shell pcomplete hippie-exp flymake
compile comint ring cl cl-lib cc-cmds cc-engine cc-vars cc-defs
ansi-color rx vc-git time-date tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment lisp-mode register page menu-...

Read more...

Changed in python-mode:
importance: Undecided → High
assignee: nobody → Andreas Roehler (a-roehler)
status: New → In Progress
milestone: none → 6.2.1
Revision history for this message
Andreas Roehler (a-roehler) wrote :

Thanks. py-execute-region should be restored. Remains the version-fix.

Changed in python-mode:
status: In Progress → Fix Committed
Revision history for this message
Brian Z (brian-zbr) wrote :

Works for me... Thanks!

Changed in python-mode:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.