[PythonCAD] True and False not defined
Eric Wilhelm
ewilhelm at sbcglobal.net
Thu Aug 28 17:17:45 EDT 2003
I'm new to messing with Python, so maybe I'm missing a library or something.
trying to use the dwg.py and gtkpycad.py with python2.2 (on redhat 7.3)
I get the following:
python2.2 gtkpycad.py
Traceback (most recent call last):
File "gtkpycad.py", line 32, in ?
import Interface.Gtk.gtkimage
File "Interface/Gtk/gtkimage.py", line 31, in ?
import gtkmenus
File "Interface/Gtk/gtkmenus.py", line 31, in ?
import gtkedit
File "Interface/Gtk/gtkedit.py", line 26, in ?
import Generic.segment as segment
File "Generic/segment.py", line 24, in ?
import graphicobject
File "Generic/graphicobject.py", line 28, in ?
class GraphicObject(object):
File "Generic/graphicobject.py", line 55, in GraphicObject
color.Color(0xffffff),
File "Generic/color.py", line 106, in __init__
tree.TreeItem.__init__(self)
File "Generic/tree.py", line 42, in __init__
baseobject.ModObject.__init__(self)
File "Generic/baseobject.py", line 41, in __init__
self.__modified = False
NameError: global name 'False' is not defined
Is there something missing in my Python libraries?
Thanks,
Eric
More information about the PythonCAD
mailing list