"Hamish Allan" <[EMAIL PROTECTED]> 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
-- 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to