Bug 2070 - ncurses module is broken in python
Summary: ncurses module is broken in python
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: High major
Target Milestone: 1.2 M4
Assignee: Scott Garman
QA Contact:
URL:
Whiteboard: (P2) 2012-03-13: Fix committed - read...
Depends on:
Blocks:
 
Reported: 2012-03-09 22:43 UTC by Scott Garman
Modified: 2012-03-15 15:46 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Garman 2012-03-09 22:43:21 UTC
Sergey Lapin reported on the oe-core mailing list that the ncurses module does not work in python. 

To test this, build an image with python-ncurses in it, and run the interactive interpreter. "import curses" will result in an "ImportError: No module named _curses"

Reverting this commit works around the problem:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f8f5c054060f446f9f743befbd0bcba35b877473

I'm almost ready with a fix for this.
Comment 1 Andreas Oberritter 2012-03-10 02:10:41 UTC
This is related to https://bugzilla.yoctoproject.org/show_bug.cgi?id=1937
Comment 2 Scott Garman 2012-03-15 15:46:40 UTC
This is now fixed in oe-core and poky master. A number of commits were needed to fully resolve this issue, this one is the final one that you'll need:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ce150811a606674edb43e401fa9a0cf52568ad5e