[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
Sun May 13 08:30:39 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@…):
I did[[BR]]
sudo port uninstall --follow-dependencies py27-mayavi[[BR]]
sudo port uninstall --follow-dependencies py27-traits[[BR]]
sudo port uninstall --follow-dependencies vtk5
then[[BR]]
sudo port -v install vtk5 +carbon +python27 +qt4_mac -tcltk -x11[[BR]]
sudo port -v install py27-traits -wx +qt4[[BR]]
sudo port -v install py27-mayavi[[BR]]
and got the same "NotImplementedError: the qt4 pyface backend doesn't
implement WorkbenchWindowLayout" when trying to run "mayavi2-2.7".[[BR]]
some other stuff:[[BR]]
1:[[BR]]
{{{
... $ sudo port install py27-mayavi
Password:
---> Computing dependencies for py27-mayavi
Error: Cannot install py27-traitsbackendwx for the arch(s) 'x86_64'
because
Error: its dependency py27-wxpython only supports the arch(s) 'i386 ppc'.
Error: Unable to execute port: architecture mismatch
To report a bug, see <http://guide.macports.org/#project.tickets>
... $
}}}
"sudo port install py25-mayavi" gives the same error:[[BR]]
{{{
... $ sudo port install py25-mayavi
Password:
---> Computing dependencies for py25-mayavi
Error: Cannot install py25-traitsbackendwx for the arch(s) 'x86_64'
because
Error: its dependency py25-wxpython only supports the arch(s) 'i386 ppc'.
Error: Unable to execute port: architecture mismatch
To report a bug, see <http://guide.macports.org/#project.tickets>
... $
}}}
although py27-mayavi has only the 'universal' variant, "sudo port -v
install py27-mayavi +qt4" works until it gives the following error:[[BR]]
{{{
---> Building py27-mayavi
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267:
UserWarning: Unknown distribution option: 'docs_in_egg'
warnings.warn(msg)
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267:
UserWarning: Unknown distribution option: 'ssh_server'
warnings.warn(msg)
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267:
UserWarning: Unknown distribution option: 'ssh_remote_dir'
warnings.warn(msg)
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267:
UserWarning: Unknown distribution option: 'docs_in_egg_location'
warnings.warn(msg)
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267:
UserWarning: Unknown distribution option: 'html_doc_repo'
warnings.warn(msg)
running build
Traceback (most recent call last):
File "setup.py", line 538, in <module>
**config
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/numpy/distutils/core.py", line 186, in setup
return old_setup(**new_attr)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py",
line 152, in setup
dist.run_commands()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
line 953, in run_commands
self.run_command(cmd)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
line 972, in run_command
cmd_obj.run()
File "setup.py", line 326, in run
build_tvtk_classes_zip()
File "setup.py", line 313, in build_tvtk_classes_zip
gen_tvtk_classes_zip()
File "enthought/tvtk/setup.py", line 46, in gen_tvtk_classes_zip
from code_gen import TVTKGenerator
File "enthought/tvtk/code_gen.py", line 10, in <module>
import vtk
ImportError: No module named vtk
shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_python_py-
mayavi/py27-mayavi/work/Mayavi-3.4.1" &&
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
setup.py --no-user-cfg build " returned error 1
Error: Target org.macports.build returned: shell command failed (see log
for details)
Warning: the following items did not execute (for py27-mayavi):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
Log for py27-mayavi is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_python_py-mayavi/py27-mayavi/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
... $
}}}
2:[[BR]]
I did [[BR]]
sudo port uninstall --follow-dependencies py27-mayavi[[BR]]
sudo port uninstall --follow-dependencies py27-traits[[BR]]
sudo port uninstall --follow-dependencies vtk5[[BR]]
[py26-traits was uninstalled too][[BR]]
and tried "sudo port install py26-mayavi" and got the same error message
as for "sudo port -v install py27-mayavi +qt4":[[BR]]
{{{
: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
}}}
--
Ticket URL: <https://trac.macports.org/ticket/34342#comment:15>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list