From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adam Newsgroups: gmane.emacs.help Subject: Re: python novice Date: Wed, 07 Sep 2005 12:02:54 -0400 Organization: Ihug Ltd Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: sea.gmane.org 1126051578 30676 80.91.229.2 (7 Sep 2005 00:06:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 7 Sep 2005 00:06:18 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 07 02:06:16 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ECnRe-0006rn-5F for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Sep 2005 02:05:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ECnW9-0007RC-Ps for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Sep 2005 20:10:21 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!newshub.sdsu.edu!peer01.west.cox.net!cox.net!newsfeeds.ihug.co.nz!lust.ihug.co.nz!ihug.co.nz!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 45 Original-NNTP-Posting-Host: 203-173-200-20.nzwide.ihug.co.nz Original-X-Trace: lust.ihug.co.nz 1126051323 22735 203.173.200.20 (7 Sep 2005 00:02:03 GMT) Original-X-Complaints-To: abuse@ihug.co.nz Original-NNTP-Posting-Date: Wed, 7 Sep 2005 00:02:03 +0000 (UTC) User-Agent: KNode/0.7.6 Original-Xref: shelby.stanford.edu gnu.emacs.help:133730 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:29274 Archived-At: > (setq debug-on-error t) I stuck this into the *scratch* buffer, C-j didn't work so I did eval-region to it. Now I get the error reported as below. Hmmm ... Seems I'm in python-mode, however this is a Lisp of Emacs error - telling me .. something. Seems I should hit the Emacs manual. Unless any further hints. My assumption is that Emacs should be great for Python work. Debugger entered--Lisp error: (wrong-type-argument sequencep cpython) py-execute-region(1 278 nil) py-execute-buffer(nil) * call-interactively(py-execute-buffer) Kevin Rodgers wrote: > Adam wrote: > > I have an example python program in > > a buffer called test.py > > > > am using GNU Emacs 21.3.2 (a mandrake version) > > C-h m shows python bindings for that buffer > > > > So when I C-c C-c (py-execute-buffer) > > I receive the error; > > > > "Wrong argument type: sequencep, cpython" > > > > Whereas the same python program saved chmod +x and > > run from the $ prompt works fine. > > > > How should I go about finding out about that error message ? > > (setq debug-on-error t) >