[Python-mode] byte compile error

Pete Nagy Peter.Nagy at vexcel.com
Thu Sep 29 19:51:49 CEST 2005


Hi ->

I am trying to byte compile my python-mode.el file, but each time I do I
get a 'fatal error' message and emacs (emacs-21.3 windows) crashes.  The
same thing happens if I just put the uncompiled .el in my lisp/progmodes,
add the autoload line, and try to open a .py file with emacs.  If I
compile the python-mode.el file myself, I get:

$ clisp -c python-mode.el -o python-mode.elc
  i i i i i i i       ooooo    o        ooooooo   ooooo   ooooo
  I I I I I I I      8     8   8           8     8     o  8    8
  I  \ `+' /  I      8         8           8     8        8    8
   \  `-+-'  /       8         8           8      ooooo   8oooo
    `-__|__-'        8         8           8           8  8
        |            8     o   8           8     o     8  8
  ------+------       ooooo    8oooooo  ooo8ooo   ooooo   8

Copyright (c) Bruno Haible, Michael Stoll 1992, 1993
Copyright (c) Bruno Haible, Marcus Daniels 1994-1997
Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998
Copyright (c) Bruno Haible, Sam Steingold 1999-2000
Copyright (c) Sam Steingold, Bruno Haible 2001-2004


Compiling file /cygdrive/c/emacs-21.3/site-lisp/python-mode.el ...
WARNING in (DEFCONST PY-VERSION "$Revision: 4.63 $" ...)-1 in lines 1..13
:
PY-VERSION is neither declared nor bound,
it will be treated as if it were declared SPECIAL.
*** - OPEN: file #P"/cygdrive/c/emacs-21.3/site-lisp/comint.lisp" does not
exist
The following functions were used but not defined:
 DEFCONST
The following special variables were not defined:
 PY-VERSION
0 errors, 1 warning
Bye.

0 errors, but no compiled code.

Can someone tell me what I need to do?  Thanks in advance,

-> Pete

--------------------------------------------------------------------

====================================================================
Pete Nagy                                        tel: (303) 583-0248
Vexcel Corporation                               fax: (303) 583-0246
http://www.vexcel.com                           home: (303) 823-2336
====================================================================



More information about the Python-mode mailing list