a problem with codeplot.py
Val Bykoski
valb at vtek.com
Thu Jun 21 15:11:12 EDT 2001
i was trying to run codeplot.py, an interesting code fingerprinter,
but didn't succeed.. Both command line and PythonWin IDE give the
same result.
The output (ActivePython 2.1, build 210, win2K Prof.),
follows:
D:\>python d:\_val\mydoc\val_doc\research\codeplot.py
Module: d:\_val\mydoc\val_doc\research\codeplot.py - Generating PDF code
plots from source files
.
Usage: python d:\_val\mydoc\val_doc\research\codeplot.py [<file1> [<file2>
...]]
Testing now with d:\_val\mydoc\val_doc\research\codeplot.py...
Traceback (most recent call last):
File "d:\_val\mydoc\val_doc\research\codeplot.py", line 195, in ?
readAndPlotFile(arg0)
File "d:\_val\mydoc\val_doc\research\codeplot.py", line 179, in
readAndPlotFile
makePlot(lines, inPath, outPath)
File "d:\_val\mydoc\val_doc\research\codeplot.py", line 126, in makePlot
canvas.saveGraphicsState()
AttributeError: PDFCanvas instance has no attribute 'saveGraphicsState'
With PythonWin IDE, canvas instance shows weird list
of methods (two times save, no single saveGraphicsState)
Any help from experts?
thanx, val
More information about the Python-list
mailing list