[MacPorts] #34342: py26-mayavi: "list index out of range", "NotImplementedError: the enthought.tvtk.pyface.ui.wx. pyface backend doesn't implement DecoratedScene" errors

MacPorts noreply at macports.org
Fri May 11 16:36:14 PDT 2012


#34342: py26-mayavi: "list index out of range", "NotImplementedError: the
enthought.tvtk.pyface.ui.wx. pyface backend doesn't implement
DecoratedScene" errors
----------------------------------+-----------------------------------------
 Reporter:  mymacports@…          |       Owner:  jjstickel@…      
     Type:  defect                |      Status:  new              
 Priority:  Normal                |   Milestone:                   
Component:  ports                 |     Version:  2.0.4            
 Keywords:                        |        Port:  py26-mayavi      
----------------------------------+-----------------------------------------

Comment(by mymacports@…):

 Replying to [comment:6 jjstickel@…]:
 > Replying to [comment:5 mymacports@…]:
 > > ... the only problem with trying the qt4 backend and/or updated ports
 is that I do not know how to proceed with either of them ...
 > > any hints? please ...
 > >
 >
 > To use the existing ports in the macports tree with qt4, uninstall
 mayavi and dependencies back to traitsgui and traitsbackendwx.  Then
 install traitsgui with the qt4 variant, e.g. "sudo port install
 py26-traitsgui +qt4".  You should see qt4 and py**-pyqt4 installed as
 dependencies, unless you already have them.  Then reinstall
 py**-mayavi.[[BR]]
 [[BR]]

 I have followed your instructions.[[BR]]

 installation of py26-mayavi gives error (from the log file):[[BR]]


 {{{
 :notice:build --->  Building py26-mayavi
 :debug:build Executing proc-pre-org.macports.build-build-0
 :debug:build Executing org.macports.build (py26-mayavi)
 :debug:build Environment: CPATH='/opt/local/include' CFLAGS='-arch x86_64'
 CXXFLAGS='-arch x86_64' LIBRARY_PATH='/opt/local/lib'
 MACOSX_DEPLOYMENT_TARGET='10.7' CXX='/usr/bin/clang++'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-
 mayavi/py26-mayavi/work/.CC_PRINT_OPTIONS' F90FLAGS='-m64' LDFLAGS='-arch
 x86_64' FCFLAGS='-m64' OBJC='/usr/bin/clang' GI_SCANNER_DISABLE_CACHE='1'
 OBJCFLAGS='-arch x86_64' FFLAGS='-m64' CC_PRINT_OPTIONS='YES'
 CC='/usr/bin/clang'
 :debug:build Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-
 mayavi/py26-mayavi/work/Mayavi-3.4.1" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
 setup.py --no-user-cfg build'
 :debug:build Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-
 mayavi/py26-mayavi/work/Mayavi-3.4.1" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
 setup.py --no-user-cfg build
 :info:build
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py:267:
 UserWarning: Unknown distribution option: 'docs_in_egg'
 :info:build   warnings.warn(msg)
 :info:build
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py:267:
 UserWarning: Unknown distribution option: 'ssh_server'
 :info:build   warnings.warn(msg)
 :info:build
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py:267:
 UserWarning: Unknown distribution option: 'ssh_remote_dir'
 :info:build   warnings.warn(msg)
 :info:build
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py:267:
 UserWarning: Unknown distribution option: 'docs_in_egg_location'
 :info:build   warnings.warn(msg)
 :info:build
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py:267:
 UserWarning: Unknown distribution option: 'html_doc_repo'
 :info:build   warnings.warn(msg)
 :info:build running build
 :info:build Traceback (most recent call last):
 :info:build   File "setup.py", line 538, in <module>
 :info:build     **config
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/numpy/distutils/core.py", line 186, in setup
 :info:build     return old_setup(**new_attr)
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py",
 line 152, in setup
 :info:build     dist.run_commands()
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py",
 line 987, in run_commands
 :info:build     self.run_command(cmd)
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py",
 line 1007, in run_command
 :info:build     cmd_obj.run()
 :info:build   File "setup.py", line 326, in run
 :info:build     build_tvtk_classes_zip()
 :info:build   File "setup.py", line 313, in build_tvtk_classes_zip
 :info:build     gen_tvtk_classes_zip()
 :info:build   File "enthought/tvtk/setup.py", line 46, in
 gen_tvtk_classes_zip
 :info:build     from code_gen import TVTKGenerator
 :info:build   File "enthought/tvtk/code_gen.py", line 10, in <module>
 :info:build     import vtk
 :info:build ImportError: No module named vtk
 :info:build shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-
 mayavi/py26-mayavi/work/Mayavi-3.4.1" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
 setup.py --no-user-cfg build " returned error 1
 :error:build Target org.macports.build returned: shell command failed (see
 log for details)
 :debug:build Backtrace: shell command failed (see log for details)
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: the following items did not execute (for
 py26-mayavi): org.macports.activate org.macports.build
 org.macports.destroot org.macports.install
 :notice:build Log for py26-mayavi is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-mayavi/py26-mayavi/main.log

 }}}

 vtk is installed (vtk5 @5.8.0_0+tcltk+x11 (active))[[BR]]

-- 
Ticket URL: <https://trac.macports.org/ticket/34342#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list