From: <bh...@de...> - 2007-03-03 22:34:46
|
"Hamish Allan" <ha...@gm...> writes: > Hi, > > Can anyone tell me why the following short program sometimes succeeds, > and sometimes fails with the following error? (For readability I have > changed all occurences of > "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages" > to "...") The error message is easy to reproduce with the following lines: .>>> from pyx import * .>>> l = path.line(1,1,1,1) .>>> l.at(l.arclen()*.5) Sometimes you are generating lines with length 0, these cause the problem. Regards Berthold -- |