Commands in Python-Mode not working (py-shell and C-c C-c)

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

Bug Description

http://emacs.stackexchange.com/questions/14147/commands-in-python-mode-not-working-py-shell-and-c-c-c-c:

I just installed python-mode using melpa and therefore I must be on the latest version.

My .emacs init file consists only of the following lines :

(autoload 'python-mode "python-mode" "Python Mode." t)
(add-to-list 'auto-mode-alist '("\\.py\\'" . python-mode))
(add-to-list 'interpreter-mode-alist '("python" . python-mode))

I try to execute a program that runs fine in the terminal, but when I hit C-c C-c, ie. py-execute-buffer, there's the following error:

py-choose-shell-by-path: Wrong number of arguments: #[nil

followed by a trail of gibberish:

Gibberish

The command py-shell will result in the similar error message.

Emacs v24.5 OS X Yosemite 10.10.4

Changed in python-mode:
importance: Undecided → Medium
assignee: nobody → Andreas Roehler (a-roehler)
milestone: none → 6.2.1
status: New → In Progress
Changed in python-mode:
status: In Progress → Fix Committed
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.