From: Adam <nospam@example.com>
Subject: Re: python novice
Date: Wed, 07 Sep 2005 12:02:54 -0400 [thread overview]
Message-ID: <dflalq$m6f$1@lust.ihug.co.nz> (raw)
In-Reply-To: mailman.6113.1126042198.20277.help-gnu-emacs@gnu.org
> (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)
>
next prev parent reply other threads:[~2005-09-07 16:02 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-06 22:20 python novice Adam
2005-09-06 21:12 ` Kevin Rodgers
[not found] ` <mailman.6113.1126042198.20277.help-gnu-emacs@gnu.org>
2005-09-07 16:02 ` Adam [this message]
2005-09-07 16:29 ` Adam
2005-09-07 23:59 ` Tim Johnson
2005-09-08 1:42 ` Tim Johnson
[not found] ` <mailman.6233.1126144127.20277.help-gnu-emacs@gnu.org>
2005-09-09 2:35 ` Adam
2005-09-08 15:20 ` Tim Johnson
[not found] ` <mailman.6294.1126192790.20277.help-gnu-emacs@gnu.org>
2005-09-09 16:27 ` Adam
2005-09-07 22:39 ` Kevin Rodgers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='dflalq$m6f$1@lust.ihug.co.nz' \
--to=nospam@example.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).