Bug 1081494

Summary: [abrt] Mayavi: trait_handlers.py:102:_read_only:TraitError: The 'input' trait of a TransformFilter instance is 'read only'.
Product: [Fedora] Fedora Reporter: Benny <mail2benny>
Component: MayaviAssignee: Orion Poplawski <orion>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: orion, zingale
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/b588668973cb91c6efad9dab54faa63a5b8ef5c7
Whiteboard: abrt_hash:a1956757441388dc9bc84202e26eb6cca0457403
Fixed In Version: Mayavi-4.3.2-0.1.20140421git2054fd4.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-18 22:56:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Benny 2014-03-27 12:55:49 UTC
Description of problem:
I started mayavi2 and got this abrt.

Version-Release number of selected component:
Mayavi-4.3.0-8.gitf8f2c40.fc20

Additional info:
reporter:       libreport-2.2.0
cmdline:        /usr/bin/python /usr/bin/mayavi2
dso_list:       python-Traits-4.3.0-2.fc20.x86_64
executable:     /usr/bin/mayavi2
kernel:         3.13.6-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
trait_handlers.py:102:_read_only:TraitError: The 'input' trait of a TransformFilter instance is 'read only'.

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/tvtk/pyface/ui/wx/scene.py", line 535, in OnPaint
    self.light_manager = light_manager.LightManager(self)
  File "/usr/lib64/python2.7/site-packages/tvtk/pyface/light_manager.py", line 351, in __init__
    light = CameraLight(self.renwin)
  File "/usr/lib64/python2.7/site-packages/tvtk/pyface/light_manager.py", line 167, in __init__
    self.glyph = LightGlyph()
  File "/usr/lib64/python2.7/site-packages/tvtk/pyface/light_manager.py", line 59, in __init__
    tf.input = arrow.output
  File "/usr/lib64/python2.7/site-packages/traits/trait_handlers.py", line 102, in _read_only
    name, class_of( object ) )
TraitError: The 'input' trait of a TransformFilter instance is 'read only'.

Local variables in innermost frame:
object: <tvtk.tvtk_classes.transform_filter.TransformFilter object at 0x695e0b0>
name: 'input'
value: <tvtk.tvtk_classes.poly_data.PolyData object at 0x695e5f0>

Comment 1 Benny 2014-03-27 12:55:54 UTC
Created attachment 879462 [details]
File: backtrace

Comment 2 Benny 2014-03-27 12:55:55 UTC
Created attachment 879463 [details]
File: environ

Comment 3 Orion Poplawski 2014-03-27 14:45:58 UTC
Likely due to the sad fact that mayavi does not yet support vtk 6.  Waiting for upstream to fix this.

Comment 4 Benny 2014-04-25 12:49:26 UTC
The latest upstream version seems to solve this. I cloned from github --today-- compiled and it works for me :) 

http://permalink.gmane.org/gmane.comp.graphics.mayavi.user/849

Comment 5 Fedora Update System 2014-05-09 17:03:20 UTC
Mayavi-4.3.2-0.1.20140421git2054fd4.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/Mayavi-4.3.2-0.1.20140421git2054fd4.fc20

Comment 6 zingale 2014-05-09 19:27:34 UTC
I tried this new rpm and Mayavi works for me with a simple test:

ipython --gui=wx


import numpy as np
from mayavi import mlab
def V(x, y, z):
    return np.cos(10*x) + np.cos(10*y) + np.cos(10*z) + 2*(x**2+y**2+z**2)

X, Y, Z = np.mgrid[-2:2:100j, -2:2:100j, -2:2:100j]
mlab.contour3d(X, Y, Z, V)


I'm able to rotate the volume around in the widget.  I haven't tried much more than this.

Comment 7 Fedora Update System 2014-05-10 03:24:39 UTC
Package Mayavi-4.3.2-0.1.20140421git2054fd4.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing Mayavi-4.3.2-0.1.20140421git2054fd4.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-6207/Mayavi-4.3.2-0.1.20140421git2054fd4.fc20
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2014-05-18 22:56:16 UTC
Mayavi-4.3.2-0.1.20140421git2054fd4.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.