[neurosetta] Positron Error: True not defined?
Jason M. Sullivan
jsullivan at nc.rr.com
Tue Jul 8 19:08:51 PDT 2003
>
> > I've got the neuros mounted on my laptop, and I tried to run positron
> > (after making sure it was pointing to python2, that's correct, right?), and
> > got the following error message...
> > NameError: name 'True' is not defined
>
> You need python2.2 not python2.1. True was a new keyword in 2.2.
>
Which version of python2.2? Both the rpm and the error messages claim that
I'm using python2.2....
[jason at localhost ~]$ python2 -v
# /usr/lib/python2.2/site.pyc matches /usr/lib/python2.2/site.py
import site # precompiled from /usr/lib/python2.2/site.pyc
# /usr/lib/python2.2/os.pyc matches /usr/lib/python2.2/os.py
import os # precompiled from /usr/lib/python2.2/os.pyc
import posix # builtin
# /usr/lib/python2.2/posixpath.pyc matches /usr/lib/python2.2/posixpath.py
import posixpath # precompiled from /usr/lib/python2.2/posixpath.pyc
# /usr/lib/python2.2/stat.pyc matches /usr/lib/python2.2/stat.py
import stat # precompiled from /usr/lib/python2.2/stat.pyc
# /usr/lib/python2.2/UserDict.pyc matches /usr/lib/python2.2/UserDict.py
import UserDict # precompiled from /usr/lib/python2.2/UserDict.pyc
Python 2.2 (#1, Apr 12 2002, 15:29:57)
[GCC 2.96 20000731 (Red Hat Linux 7.2 2.96-109)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
dlopen("/usr/lib/python2.2/lib-dynload/readline.so", 2);
import readline # dynamically loaded from /usr/lib/python2.2/lib-dynload/readline.so
<p>[jason at localhost ~]$ rpm -qi python2
Name : python2 Relocations: (not relocateable)
Version : 2.2 Vendor: Red Hat, Inc.
Release : 16 Build Date: Fri 12 Apr 2002 03:31:21 PM EDT
Install date: Tue 08 Jul 2003 08:48:27 PM EDT Build Host: stripples.devel.redhat.com
Group : Development/Languages Source RPM: python2-2.2-16.src.rpm
Size : 12980009 License: PSF - see LICENSE
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL : http://www.python.com/
Summary : An interpreted, interactive, object-oriented programming language.Description :
Python is an interpreted, interactive, object-oriented programming
language often compared to Tcl, Perl, Scheme or Java. Python includes
modules, classes, exceptions, very high level dynamic data types and
dynamic typing. Python supports interfaces to many system calls and
libraries, as well as to various windowing systems (X11, Motif, Tk,
Mac and MFC).
Programmers can write new built-in modules for Python in C or C++.
Python can be used as an extension language for applications that need
a programmable interface. This package contains most of the standard
Python modules, as well as modules for interfacing to the Tix widget
set for Tk and RPM.
Note that documentation for Python is provided in the python-docs
package.
[jason at localhost ~]$ positron config
Traceback (most recent call last):
File "/usr/bin/positron", line 23, in ?
from positron.neuros import Neuros
File "/usr/lib/python2.2/site-packages/positron/neuros.py", line 17, in ?
import db
File "/usr/lib/python2.2/site-packages/positron/db/__init__.py", line 19, in ? from PAI import *
File "/usr/lib/python2.2/site-packages/positron/db/PAI.py", line 20, in ?
class PAI:
File "/usr/lib/python2.2/site-packages/positron/db/PAI.py", line 274, in PAI
def set_empty_module_at(self, pointer, value=True):
NameError: name 'True' is not defined
--
//// Jason M. SULLIVAN jsullivan at nc.rr.com
|c-oo http://home.nc.rr.com/jason0x21
\_- "That's not music, that's just sound!" - J. David Fries
--- >8 ----
List archives: http://www.xiph.org/archives/
Neurosetta homepage: http://www.neurosetta.org/
To unsubscribe from this list, send a message to 'neurosetta-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Neurosetta
mailing list