[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: python novice
From: |
Adam |
Subject: |
Re: python novice |
Date: |
Wed, 07 Sep 2005 12:02:54 -0400 |
User-agent: |
KNode/0.7.6 |
> (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)
>
- python novice, Adam, 2005/09/06
- Re: python novice, Kevin Rodgers, 2005/09/06
- Message not available
- Re: python novice,
Adam <=
- Re: python novice, Adam, 2005/09/06
- Re: python novice, Tim Johnson, 2005/09/07
- Re: python novice, Tim Johnson, 2005/09/07
- Message not available
- Re: python novice, Adam, 2005/09/08
- Re: python novice, Tim Johnson, 2005/09/08
- Message not available
- Re: python novice, Adam, 2005/09/08
- Re: python novice, Kevin Rodgers, 2005/09/07