Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 259785

Summary: sci-visualization/mayavi-3.1.0 failed to pull its dependencies
Product: Gentoo Linux Reporter: Yang Zhang <zyangmath>
Component: New packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Yang Zhang 2009-02-21 05:56:33 UTC
After emerging sci-visualization/mayavi on "~x86", the "mayavi2" command failed to start. The error message indicates that the "traitsgui, or traits, or traitsbackendwx" not installed. 

Reproducible: Always

Steps to Reproduce:
Just "emerge mayavi" on "~x86" system. Then start Mayavi in command line by "mayavi2" command, you can see the bug and the error message.
Actual Results:  
The Mayavi GUI does not appear and an error message indicating missing "traitsbackends" is poped out.

Expected Results:  
Mayavi runs

The ebuild actually installed "dev-python/traits", "dev-python/traitsgui", "x11-libs/wxGTK" and "dev-python/wxpython", but it did not install "dev-python/traitsbackendwx". After "emerge traitsbackendwx", it works.

I guess it may be better to have some USE flags in mayavi-3.1.0 ebuild for the graphical backend, as there are two backends avaliable: "dev-python/traitsbackendwx" and "dev-python/traitsbackendqt".
Comment 1 Sébastien Fabbro (RETIRED) gentoo-dev 2009-02-25 12:04:54 UTC
Hi,

Thanks for the report. I fixed traitgui, as ChangeLog says:

  25 Feb 2009; Sébastien Fabbro <bicatali@gentoo.org>
  traitsgui-3.0.3.ebuild:
  Added dev-python/traitsbackendwx dependency when neither wxwindows nor qt4
  flag is set, closing bug #259785
Comment 2 Yang Zhang 2009-02-26 02:20:38 UTC
(In reply to comment #1)
> Hi,
> 
> Thanks for the report. I fixed traitgui, as ChangeLog says:
> 
>   25 Feb 2009; Sébastien Fabbro <bicatali@gentoo.org>
>   traitsgui-3.0.3.ebuild:
>   Added dev-python/traitsbackendwx dependency when neither wxwindows nor qt4
>   flag is set, closing bug #259785
> 

Thanks.