Menu

#14 python 2.7.1: undefined symbol: _PyLong_AsScaledDouble

open
nobody
guppy (6)
5
2014-08-22
2011-02-08
No

$ python2
Python 2.7.1 (r271:86832, Jan 6 2011, 11:45:30)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from guppy import hpy;
>>> hp=hpy()
Error at initialization of module heapycTraceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/guppy/__init__.py", line 37, in hpy
return r.guppy.heapy.Use
File "/usr/lib/python2.7/site-packages/guppy/etc/Glue.py", line 45, in __getattr__
return self._share.getattr(self, name)
File "/usr/lib/python2.7/site-packages/guppy/etc/Glue.py", line 195, in getattr
d = self.getattr2(inter, cache, owner, name)
File "/usr/lib/python2.7/site-packages/guppy/etc/Glue.py", line 213, in getattr2
x = self.getattr_package(inter, name)
File "/usr/lib/python2.7/site-packages/guppy/etc/Glue.py", line 261, in getattr_package
x = self.makeModule(x, name)
File "/usr/lib/python2.7/site-packages/guppy/etc/Glue.py", line 321, in makeModule
return Share(module, self, module.__name__, Clamp)
File "/usr/lib/python2.7/site-packages/guppy/etc/Glue.py", line 184, in __init__
getattr(inter, name)
File "/usr/lib/python2.7/site-packages/guppy/etc/Glue.py", line 45, in __getattr__
return self._share.getattr(self, name)
File "/usr/lib/python2.7/site-packages/guppy/etc/Glue.py", line 195, in getattr
d = self.getattr2(inter, cache, owner, name)
File "/usr/lib/python2.7/site-packages/guppy/etc/Glue.py", line 215, in getattr2
x = self.getattr3(inter, name)
File "/usr/lib/python2.7/site-packages/guppy/etc/Glue.py", line 283, in getattr3
pa = getattr(pa, at)
File "/usr/lib/python2.7/site-packages/guppy/etc/Glue.py", line 45, in __getattr__
return self._share.getattr(self, name)
File "/usr/lib/python2.7/site-packages/guppy/etc/Glue.py", line 195, in getattr
d = self.getattr2(inter, cache, owner, name)
File "/usr/lib/python2.7/site-packages/guppy/etc/Glue.py", line 213, in getattr2
x = self.getattr_package(inter, name)
File "/usr/lib/python2.7/site-packages/guppy/etc/Glue.py", line 250, in getattr_package
x = __import__(self.makeName(name), globals(), locals())
File "/usr/lib/python2.7/site-packages/guppy/heapy/View.py", line 555, in <module>
prime_builtin_types()
File "/usr/lib/python2.7/site-packages/guppy/heapy/View.py", line 538, in prime_builtin_types
import guppy.heapy.heapyc
File "/usr/lib/python2.7/site-packages/guppy/sets/__init__.py", line 3, in <module>
from setsc import BitSet # base bitset type
ImportError: /usr/lib/python2.7/site-packages/guppy/sets/setsc.so: undefined symbol: _PyLong_AsScaledDouble
>>>

Package installed on Arch linux, using this script http://aur.archlinux.org/packages/python2-guppy/python2-guppy/PKGBUILD

Discussion

  • Dieter Plaetinck

    • labels: --> guppy
     
  • Anonymous

    Anonymous - 2011-11-25

    I can confirm this same bug on Ubuntu 11.04 x86_64 2 ways
    - apt-get install python-guppy
    - (virtualenv) pip install guppy

    same error either way

     
  • Chris Adams

    Chris Adams - 2012-05-25

    This looks like a duplicate of #3047282 which was closed in 2010 but hasn't made it into a PyPI release. Installing from SVN trunk will avoid the problem but there really needs to be a new release.

     

Log in to post a comment.

MongoDB Logo MongoDB