Summary: | sci-visualization/mayavi-4.3.0 : NotImplementedError: no concrete implementation exists for this class | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Science Related Packages <sci> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | rei4dan |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-history.txt
sci-visualization:mayavi-4.3.0:20151017-044803.log |
Description
Toralf Förster
2015-10-17 09:12:49 UTC
Created attachment 414758 [details]
emerge-history.txt
Created attachment 414760 [details]
sci-visualization:mayavi-4.3.0:20151017-044803.log
I can confirm this kind of error. I get during compilation of mayavi-4.3.0 with installed vtk-6.1.0-r1 : Building TVTK classes... vtkIncrementalForceLayout: Ignoring method: Get/SetGravityPoint default: [200.0, 200.0], range: None Traceback (most recent call last): File "setup.py", line 498, in <module> File "/usr/lib/python2.7/site-packages/numpy/distutils/core.py", line 169, in setup return old_setup(**new_attr) File "/usr/lib/python2.7/distutils/core.py", line 151, in setup dist.run_commands() File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/site-packages/numpy/distutils/command/install.py", line 62, in run r = self.setuptools_run() File "/usr/lib/python2.7/site-packages/numpy/distutils/command/install.py", line 36, in setuptools_run return distutils_install.run(self) File "/usr/lib/python2.7/distutils/command/install.py", line 575, in run self.run_command(cmd_name) File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "setup.py", line 356, in run File "setup.py", line 290, in build_tvtk_classes_zip File "tvtk/setup.py", line 62, in gen_tvtk_classes_zip # numpy.distutils does the Wrong(TM) thing. File "tvtk/code_gen.py", line 101, in generate_code File "tvtk/code_gen.py", line 191, in _write_wrapper_class File "tvtk/wrapper_gen.py", line 80, in generate_code File "tvtk/wrapper_gen.py", line 161, in _gen_methods File "tvtk/vtk_parser.py", line 152, in parse File "tvtk/vtk_parser.py", line 451, in _organize_methods File "tvtk/vtk_parser.py", line 597, in _find_get_set_methods File "tvtk/vtk_parser.py", line 655, in _get_instance NotImplementedError: no concrete implementation exists for this class Looking 'upstream', I can see the reason: Reason ------ "Fix available in PR #73." "The PR #73 fixes the build problem. However, when trying a simple mayavi script, I am getting some exceptions, presumably due to using VTK 6 below the hood:..." "Thanks for the report. VTK 6 is incompatible with Mayavi as mayavi still uses the old SetInput/GetOutput methods which are no longer available. This will require a fair bit of work to fix. :(" "I see. The build issue is now fixed, and I have opened #74 for the SetInput/GetOutput problem." (from: https://github.com/enthought/mayavi/issues/72) --- "Fixed as of Mayavi 4.4.2 and VTK 6.2. Closed." (from: https://github.com/enthought/mayavi/issues/74) Solution -------- Unfortunately, there is no solution...:-( Gentoo only offers vtk 6.1.x and mayavi 4.3.0 at this moment. The ebuild should warn about this and deny installation. I have the exact same problem here ~amd64 *** This bug has been marked as a duplicate of bug 500104 *** |