[Python-apps-team] Bug#618666:

Mathieu Malaterre mathieu.malaterre at gmail.com
Thu Mar 17 13:28:11 UTC 2011


Indeed a source upload (possible release 3.4.1) would be very nice.
mayavi2 fails with the following errors:


********************************************************************************
WARNING: Imported VTK version (5.6) does not match the one used
         to build the TVTK classes (5.4). This may cause problems.
         Please rebuild TVTK.
********************************************************************************

Exception occurred in traits notification handler for object:
<enthought.mayavi.core.adder_node.SourceAdderNode object at
0x756b590>, trait: open_file, old value: <undefined>, new value: 0
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/enthought/traits/trait_notifiers.py",
line 344, in call_1
    self.handler( object )
  File "/usr/lib/python2.6/dist-packages/enthought/mayavi/core/adder_node.py",
line 282, in _open_file_fired
    self.object.menu_helper.open_file_action()
  File "/usr/lib/python2.6/dist-packages/enthought/mayavi/core/traits_menu.py",
line 79, in open_file_action
    engine.open(dialog.path, object)
  File "/usr/lib/python2.6/dist-packages/enthought/scripting/recordable.py",
line 45, in _wrapper
    result = func(*args, **kw)
  File "/usr/lib/python2.6/dist-packages/enthought/mayavi/core/engine.py",
line 307, in open
    src = callable()
  File "/usr/lib/python2.6/dist-packages/enthought/mayavi/sources/image_reader.py",
line 59, in __init__
    d = {'bmp':tvtk.BMPReader(),
  File "/usr/lib/python2.6/dist-packages/enthought/tvtk/tvtk_classes.zip/tvtk_classes/bmp_reader.py",
line 49, in __init__
    tvtk_base.TVTKBase.__init__(self, vtk.vtkBMPReader, obj, update, **traits)
  File "/usr/lib/python2.6/dist-packages/enthought/tvtk/tvtk_base.py",
line 312, in __init__
    self.update_traits()
  File "/usr/lib/python2.6/dist-packages/enthought/tvtk/tvtk_base.py",
line 456, in update_traits
    setattr(self, name, val)
  File "/usr/lib/python2.6/dist-packages/enthought/traits/trait_handlers.py",
line 167, in error
    value )
TraitError: The 'data_mask' trait of a BMPReader instance must be an
integer, but a value of 18446744073709551615L <type 'long'> was
specified.
ERROR|2011-03-17 14:27:51,289|Exception occurred in traits
notification handler for object:
<enthought.mayavi.core.adder_node.SourceAdderNode object at
0x756b590>, trait: open_file, old value: <undefined>, new value: 0
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/enthought/traits/trait_notifiers.py",
line 344, in call_1
    self.handler( object )
  File "/usr/lib/python2.6/dist-packages/enthought/mayavi/core/adder_node.py",
line 282, in _open_file_fired
    self.object.menu_helper.open_file_action()
  File "/usr/lib/python2.6/dist-packages/enthought/mayavi/core/traits_menu.py",
line 79, in open_file_action
    engine.open(dialog.path, object)
  File "/usr/lib/python2.6/dist-packages/enthought/scripting/recordable.py",
line 45, in _wrapper
    result = func(*args, **kw)
  File "/usr/lib/python2.6/dist-packages/enthought/mayavi/core/engine.py",
line 307, in open
    src = callable()
  File "/usr/lib/python2.6/dist-packages/enthought/mayavi/sources/image_reader.py",
line 59, in __init__
    d = {'bmp':tvtk.BMPReader(),
  File "/usr/lib/python2.6/dist-packages/enthought/tvtk/tvtk_classes.zip/tvtk_classes/bmp_reader.py",
line 49, in __init__
    tvtk_base.TVTKBase.__init__(self, vtk.vtkBMPReader, obj, update, **traits)
  File "/usr/lib/python2.6/dist-packages/enthought/tvtk/tvtk_base.py",
line 312, in __init__
    self.update_traits()
  File "/usr/lib/python2.6/dist-packages/enthought/tvtk/tvtk_base.py",
line 456, in update_traits
    setattr(self, name, val)
  File "/usr/lib/python2.6/dist-packages/enthought/traits/trait_handlers.py",
line 167, in error
    value )
TraitError: The 'data_mask' trait of a BMPReader instance must be an
integer, but a value of 18446744073709551615L <type 'long'> was
specified.





More information about the Python-apps-team mailing list