Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128175 - app-emulation/xen-tools-3.0.1_p9029 : xenmon.py depends on python built with ncurses USE flag
Summary: app-emulation/xen-tools-3.0.1_p9029 : xenmon.py depends on python built with...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Chris Bainbridge (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-30 14:40 UTC by Tuan Van (RETIRED)
Modified: 2006-03-31 18:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tuan Van (RETIRED) gentoo-dev 2006-03-30 14:40:19 UTC
python built without ncurses USE flag causes traceback.

# xenmon.py
Traceback (most recent call last):
  File "/usr/sbin/xenmon.py", line 32, in ?
    import curses as _c
  File "/usr/lib/python2.4/curses/__init__.py", line 15, in ?
    from _curses import *
ImportError: No module named _curses
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2006-03-31 18:08:06 UTC
I added a warning to pkg_postinst.  This seems like the appropriate response since not all xen users care about xenmon.py.  Thanks for the report.

if ! built_with_use dev-lang/python ncurses; then
        echo
        ewarn "NB: Your dev-lang/python is built without USE=ncurses."
        ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py."
fi