<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>128175</bug_id>
          
          <creation_ts>2006-03-30 14:40 0000</creation_ts>
          <short_desc>app-emulation/xen-tools-3.0.1_p9029 :  xenmon.py depends on python built with ncurses USE flag</short_desc>
          <delta_ts>2006-03-31 18:08:06 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>langthang@gentoo.org</reporter>
          <assigned_to>chrb@gentoo.org</assigned_to>
          <cc>agriffis@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>langthang@gentoo.org</who>
            <bug_when>2006-03-30 14:40:19 0000</bug_when>
            <thetext>python built without ncurses USE flag causes traceback.

# xenmon.py
Traceback (most recent call last):
  File &quot;/usr/sbin/xenmon.py&quot;, line 32, in ?
    import curses as _c
  File &quot;/usr/lib/python2.4/curses/__init__.py&quot;, line 15, in ?
    from _curses import *
ImportError: No module named _curses</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>agriffis@gentoo.org</who>
            <bug_when>2006-03-31 18:08:06 0000</bug_when>
            <thetext>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 &quot;NB: Your dev-lang/python is built without USE=ncurses.&quot;
        ewarn &quot;Please rebuild python with USE=ncurses to make use of xenmon.py.&quot;
fi

</thetext>
          </long_desc>
      
    </bug>

</bugzilla>