Vectors must have length 2 or 3

Roberto Aguirre Maturana <[email protected]>
Newsgroups gmane.comp.python.visualpython.user
Message-ID <[email protected]>
Hi,

I'm returning to a project I haven't worked on since version 3 of VPython.  
Back in the days, the following line of code

self.frameScale.rotate (angle = pi/2., axis = (1.0, 0.0, 0.0), origin =  
(varGVMapper.CurrentObject.pos + (0,1.8,0)))

used to work just fine. However, with the latest version of VPython it  
raises the following error:

ValueError: Vectors must have length 2 or 3

What seems to be the problem?

Best regards,
Roberto Aguirre Maturana.


-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.