errors in Scene creation

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

errors in Scene creation

Marek Wojciechowski
Hi!

I get an error, pasted below, when creating a Scene. What could be a reason?
I am on Win7 with tvtk-4.3.0 and vtk-5.10.1.

Regards,
Marek



from tvtk.pyface.scene import Scene
s = Scene()

Exception occurred in traits notification handler for object:
vtkOpenGLCamera (11C3E740)
  Debug: Off
  Modified Time: 1383774
  Reference Count: 2
  Registered Events: (none)
  ClippingRange: (0.01, 1000.01)
  DirectionOfProjection: (0, 0, -1)
  Distance: 1
  EyeAngle: 2
  FocalDisk: 1
  FocalPoint: (0, 0, 0)
  ViewShear: (0, 0, 1)
  ParallelProjection: Off
  ParallelScale: 1
  Position: (0, 0, 1)
  Stereo: Off
  Left Eye: 1
  Thickness: 1000
  ViewAngle: 30
  UseHorizontalViewAngle: 0
  UserTransform: (none)
(none)
  ViewPlaneNormal: (-0, -0, 1)
  ViewUp: (0, 1, 0)
  WindowCenter: (0, 0)
  UseOffAxisProjection: (0)
  ScreenBottomLeft: (-0.5, -0.5, -0.5)
  ScreenBottomRight: (0.5, -0.5, -0.5)
  ScreenTopRight: (0.5, 0.5, -0.5)
  EyeSeparation: (0.06)
  WorldToScreenMatrix: (180E0830
    Debug: Off
    Modified Time: 1383776
    Reference Count: 1
    Registered Events: (none)
    Elements:
        1 0 0 0
        0 1 0 0
        0 0 1 0
        0 0 0 1
  )
  EyeTransformMatrix: (180E0900
    Debug: Off
    Modified Time: 1383778
    Reference Count: 1
    Registered Events: (none)
    Elements:
        1 0 0 0
        0 1 0 0
        0 0 1 0
        0 0 0 1
  )
  ModelTransformMatrix: (180E09D0
    Debug: Off
    Modified Time: 1383780
    Reference Count: 1
    Registered Events: (none)
    Elements:
        1 0 0 0
        0 1 0 0
        0 0 1 0
        0 0 0 1
  )

, trait: view_plane_normal, old value: [-0. -0.  1.], new value: [-0. -0.  
1.]
Traceback (most recent call last):
  File "C:\Pythonxy27\lib\site-packages\traits\trait_notifiers.py", line
381, in call_3
    self.handler( object, old, new )
  File "C:\Pythonxy27\lib\site-
packages\tvtk\tvtk_classes.zip\tvtk_classes\camera.py", line 82, in
_view_plane_normal_changed
    self._do_change(self._vtk_obj.SetViewPlaneNormal,
AttributeError: SetViewPlaneNormal
ERROR:traits:Exception occurred in traits notification handler for object:
vtkOpenGLCamera (11C3E740)
  Debug: Off
  Modified Time: 1383774
  Reference Count: 2
  Registered Events: (none)
  ClippingRange: (0.01, 1000.01)
  DirectionOfProjection: (0, 0, -1)
  Distance: 1
  EyeAngle: 2
  FocalDisk: 1
  FocalPoint: (0, 0, 0)
  ViewShear: (0, 0, 1)
  ParallelProjection: Off
  ParallelScale: 1
  Position: (0, 0, 1)
  Stereo: Off
  Left Eye: 1
  Thickness: 1000
  ViewAngle: 30
  UseHorizontalViewAngle: 0
  UserTransform: (none)
(none)
  ViewPlaneNormal: (-0, -0, 1)
  ViewUp: (0, 1, 0)
  WindowCenter: (0, 0)
  UseOffAxisProjection: (0)
  ScreenBottomLeft: (-0.5, -0.5, -0.5)
  ScreenBottomRight: (0.5, -0.5, -0.5)
  ScreenTopRight: (0.5, 0.5, -0.5)
  EyeSeparation: (0.06)
  WorldToScreenMatrix: (180E0830
    Debug: Off
    Modified Time: 1383776
    Reference Count: 1
    Registered Events: (none)
    Elements:
        1 0 0 0
        0 1 0 0
        0 0 1 0
        0 0 0 1
  )
  EyeTransformMatrix: (180E0900
    Debug: Off
    Modified Time: 1383778
    Reference Count: 1
    Registered Events: (none)
    Elements:
        1 0 0 0
        0 1 0 0
        0 0 1 0
        0 0 0 1
  )
  ModelTransformMatrix: (180E09D0
    Debug: Off
    Modified Time: 1383780
    Reference Count: 1
    Registered Events: (none)
    Elements:
        1 0 0 0
        0 1 0 0
        0 0 1 0
        0 0 0 1
  )

, trait: view_plane_normal, old value: [-0. -0.  1.], new value: [-0. -0.  
1.]
Traceback (most recent call last):
  File "C:\Pythonxy27\lib\site-packages\traits\trait_notifiers.py", line
381, in call_3
    self.handler( object, old, new )
  File "C:\Pythonxy27\lib\site-
packages\tvtk\tvtk_classes.zip\tvtk_classes\camera.py", line 82, in
_view_plane_normal_changed
    self._do_change(self._vtk_obj.SetViewPlaneNormal,
AttributeError: SetViewPlaneNormal

_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev