[Bug 1092117] Re: failed to import snack

Mitsuya Shibata mty.shibata at gmail.com
Wed Dec 19 14:57:57 UTC 2012


_Py_RefTotal is defined in libpython2.7.so for Python/C API.
http://docs.python.org/2/c-api/refcounting.html

However according to Objects/object.c in python2.7, it seems that
this symbol is defined debug build only.:
---
#ifdef Py_REF_DEBUG
Py_ssize_t _Py_RefTotal;
---

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to newt in Ubuntu.
https://bugs.launchpad.net/bugs/1092117

Title:
  failed to import snack

Status in “newt” package in Ubuntu:
  New

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/python2.7/dist-packages/snack.py", line 44, in <module>
      import _snack
  ImportError: /usr/lib/python2.7/dist-packages/_snack.so: undefined symbol: _Py_RefTotal
  >>> 

  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
  ProcVersionSignature: Ubuntu 3.7.0-7.15-generic 3.7.0
  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_DIR=<set>
   LANG=ja_JP.UTF-8
   SHELL=/bin/bash
  SourcePackage: newt
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/newt/+bug/1092117/+subscriptions




More information about the foundations-bugs mailing list