Mailinglist Archive: opensuse-bugs (6725 mails)

< Previous Next >
[Bug 729226] New: Python curses module linked against ncurses library (instead of ncursesw)
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 9 Nov 2011 13:32:59 +0000
  • Message-id: <bug-729226-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=729226

https://bugzilla.novell.com/show_bug.cgi?id=729226#c0


Summary: Python curses module linked against ncurses library
(instead of ncursesw)
Classification: openSUSE
Product: openSUSE 11.4
Version: Final
Platform: All
OS/Version: openSUSE 11.4
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: gagarin.gtn@xxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---
Blocker: ---


Created an attachment (id=461181)
--> (http://bugzilla.novell.com/attachment.cgi?id=461181)
Example python script

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101
Firefox/7.0.1

Python curses module cannot display UTF-8 characters. It happens because python
curses module linked against ncurses library (but should be ncursesw:
http://bugs.python.org/issue1428494).
Output of "ldd /usr/lib64/python2.7/lib-dynload/_curses.so":
linux-vdso.so.1 => (0x00007fff71bf5000)
libncurses.so.5 => /lib64/libncurses.so.5 (0x00007f15f33d6000)
libpython2.7.so.1.0 => /usr/lib64/libpython2.7.so.1.0
(0x00007f15f302c000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f15f2e0e000)
libc.so.6 => /lib64/libc.so.6 (0x00007f15f2aa1000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f15f289d000)
libutil.so.1 => /lib64/libutil.so.1 (0x00007f15f2699000)
libm.so.6 => /lib64/libm.so.6 (0x00007f15f2442000)
/lib64/ld-linux-x86-64.so.2 (0x00007f15f3867000)




Reproducible: Always

Steps to Reproduce:
1. Run example script from attachment
Actual Results:
Incorrect strings like "M-PM-!M-Q~"

Expected Results:
Strings with russian UTF-8 characters

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >