[PythonCAD] Small fixes for fourteenth release and new stuff at
repo
Somerlot, Chris
CSomerlot at Brwncald.com
Thu Jun 3 08:36:28 EDT 2004
I'm having trouble getting a fresh checkout from the repo going. I get
these errors:
File "C:\Python23\Lib\site-packages\PythonCAD\Generic\acline.py", line
667
for _node in self.getNodes(_x, _y, _angle)
^
SyntaxError: invalid syntax
And...
File "C:\Python23\Lib\site-packages\PythonCAD\gtkpycad.py", line 323,
in main
img = Interface.Gtk.gtkimage.GTKImage()
AttributeError: 'module' object has no attribute 'GTKImage'
Not sure why the last one is occuring.
Also, it turns out the reason files can't be written or saved on windows
is because fileio.py does not open them as binary, like the Gzip class
in gzip.py does. Adding the following at line 45 solves the problem:
if mode and 'b' not in mode:
mode += 'b'
Chris
More information about the PythonCAD
mailing list