failed to import snack
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
newt (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Couldn't import snack on raring. No error on 12.10.
How to reproduce:
$ python
Python 2.7.3 (default, Dec 12 2012, 19:00:09)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import snack
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
import _snack
ImportError: /usr/lib/
>>>
Result of 12.10 is following:
$ python
Python 2.7.3 (default, Sep 26 2012, 21:51:14)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import snack
>>>
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: python-newt 0.52.14-11ubuntu4
ProcVersionSign
Uname: Linux 3.7.0-7-generic x86_64
ApportVersion: 2.7-0ubuntu2
Architecture: amd64
Date: Wed Dec 19 22:33:31 2012
InstallationDate: Installed on 2012-12-15 (3 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20121214)
MarkForUpload: True
ProcEnviron:
TERM=screen
PATH=(custom, no user)
XDG_RUNTIME_
LANG=ja_JP.UTF-8
SHELL=/bin/bash
SourcePackage: newt
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Jamie Strandboge: Approve
- Ubuntu branches: Pending requested
-
Diff: 195 lines (+35/-27)3 files modifieddebian/changelog (+7/-0)
debian/patches/python3.patch (+27/-27)
snack.py (+1/-0)
Changed in newt (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in newt (Ubuntu): | |
status: | Confirmed → Fix Committed |
In raring: python2. 7/dist- packages/ _snack. so | grep Py_Ref
$ readelf -s /usr/lib/
83: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND _Py_RefTotal
$ ldd /usr/lib/ python2. 7/dist- packages/ _snack. so
linux- vdso.so. 1 => (0x00007fffe9fa 0000)
libnewt. so.0.52 => /lib/x86_ 64-linux- gnu/libnewt. so.0.52 (0x00007fde55fe 5000) 64-linux- gnu/libc. so.6 (0x00007fde55c2 3000)
libslang. so.2 => /lib/x86_ 64-linux- gnu/libslang. so.2 (0x00007fde5589 2000) 64-linux- gnu/libdl. so.2 (0x00007fde5568 e000)
/lib64/ ld-linux- x86-64. so.2 (0x00007fde5641 d000) 64-linux- gnu/libm. so.6 (0x00007fde5538 d000)
libc.so.6 => /lib/x86_
libdl.so.2 => /lib/x86_
libm.so.6 => /lib/x86_
--------------
In 12.10: python2. 7/dist- packages/ _snackmodule. so | grep Py_Ref
$ readelf -s /usr/lib/
$ ldd /usr/lib/ python2. 7/dist- packages/ _snackmodule. so
linux- vdso.so. 1 => (0x00007fffbabf f000)
libnewt. so.0.52 => /lib/libnewt. so.0.52 (0x00007f33c1ec f000) 64-linux- gnu/libc. so.6 (0x00007f33c1b1 0000)
libslang. so.2 => /lib/x86_ 64-linux- gnu/libslang. so.2 (0x00007f33c177 f000) 64-linux- gnu/libdl. so.2 (0x00007f33c157 b000)
/lib64/ ld-linux- x86-64. so.2 (0x00007f33c230 8000) 64-linux- gnu/libm. so.6 (0x00007f33c127 f000)
libc.so.6 => /lib/x86_
libdl.so.2 => /lib/x86_
libm.so.6 => /lib/x86_