The error means that the object you are trying to access is not a list. This is because
viz.get(viz.POSITION) is not a valid command. If you are trying to get the position of the viewpoint try the following instead:
Code:
viz.get(viz.HEAD_POS)
For node objects you would do:
Code:
node.get(viz.POSITION)