[Python] actor.listJoints bug ?

I got an actor, and I want to print it’s body parts
but when I use listJoints() I get an error message:

   <skeleton>
Traceback (most recent call last):
  File "3d_test.py", line 263, in <module>
    w = World()
  File "3d_test.py", line 76, in __init__
    self.robot.listJoints()
  File "/usr/share/panda3d/direct/actor/Actor.py", line 413, in listJoints
    subpartDef.subset.isIncludeEmpty(), subpartDef.subset)
  File "/usr/share/panda3d/direct/actor/Actor.py", line 433, in __doListJoints
    isIncluded, subset)
  File "/usr/share/panda3d/direct/actor/Actor.py", line 433, in __doListJoints
    isIncluded, subset)
  File "/usr/share/panda3d/direct/actor/Actor.py", line 425, in __doListJoints
    lineStream = LineStream.LineStream()
AttributeError: type object 'libpanda.LineStream' has no attribute 'LineStream'
 

This is an accidental bug I recently introduced on the cvs trunk; my apologies. I’ve just committed a fix; you can fix your code either by picking up the latest Actor.py from the cvs trunk, or hand-editing Actor.py to replace LineStream.LineStream() with simply LineStream().

David