This looks to be a guppy bug that has now been fixed (http://sourceforge.net/p/guppy-pe/bugs/10/) so we'll update the egg from our end, thanks!

For now, you can either build your own guppy 0.1.9+ egg to fix it or disable use_memdump in your universe (to skip it completely).  Unless you're actually using the memdump capabilities, I'd recommend having it off for performance reasons anyway.

-Dannon


On Mon, Aug 12, 2013 at 7:56 AM, Sarah Maman <sarah.maman@toulouse.inra.fr> wrote:
Dear all,

When I try to install last sources of Galaxy(% hg clone https://bitbucket.org/galaxy/galaxy-dist/) , I have this error :

Error at initialization of module heapycTraceback (most recent call last):
 File "/usr/local/bioinfo/src/galaxy-dev/galaxy-dist/lib/galaxy/webapps/galaxy/buildapp.py", line 35, in app_factory
   app = UniverseApplication( global_conf = global_conf, **kwargs )
 File "/usr/local/bioinfo/src/galaxy-dev/galaxy-dist/lib/galaxy/app.py", line 157, in __init__
   self.memdump = memdump.Memdump()
 File "/usr/local/bioinfo/src/galaxy-dev/galaxy-dist/lib/galaxy/util/memdump.py", line 24, in __init__
   self.heapy = guppy.hpy()
 File "/usr/local/bioinfo/src/galaxy-dev/galaxy-dist/eggs/guppy-0.1.8-py2.7-linux-x86_64-ucs2.egg/guppy/__init__.py", line 35, in hpy
   return r.guppy.heapy.Use
 File "/usr/local/bioinfo/src/galaxy-dev/galaxy-dist/eggs/guppy-0.1.8-py2.7-linux-x86_64-ucs2.egg/guppy/etc/Glue.py", line 44, in __getattr__
   return self._share.getattr(self, name)
 File "/usr/local/bioinfo/src/galaxy-dev/galaxy-dist/eggs/guppy-0.1.8-py2.7-linux-x86_64-ucs2.egg/guppy/etc/Glue.py", line 187, in getattr
   d = self.getattr2(inter, cache, owner, name)
 File "/usr/local/bioinfo/src/galaxy-dev/galaxy-dist/eggs/guppy-0.1.8-py2.7-linux-x86_64-ucs2.egg/guppy/etc/Glue.py", line 202, in getattr2
   x = self.getattr_package(inter, name)
 File "/usr/local/bioinfo/src/galaxy-dev/galaxy-dist/eggs/guppy-0.1.8-py2.7-linux-x86_64-ucs2.egg/guppy/etc/Glue.py", line 250, in getattr_package
   x = self.makeModule(x, name)
 File "/usr/local/bioinfo/src/galaxy-dev/galaxy-dist/eggs/guppy-0.1.8-py2.7-linux-x86_64-ucs2.egg/guppy/etc/Glue.py", line 310, in makeModule
   return Share(module, self, module.__name__, Clamp)
 File "/usr/local/bioinfo/src/galaxy-dev/galaxy-dist/eggs/guppy-0.1.8-py2.7-linux-x86_64-ucs2.egg/guppy/etc/Glue.py", line 176, in __init__
   getattr(inter, name)
 File "/usr/local/bioinfo/src/galaxy-dev/galaxy-dist/eggs/guppy-0.1.8-py2.7-linux-x86_64-ucs2.egg/guppy/etc/Glue.py", line 44, in __getattr__
   return self._share.getattr(self, name)
 File "/usr/local/bioinfo/src/galaxy-dev/galaxy-dist/eggs/guppy-0.1.8-py2.7-linux-x86_64-ucs2.egg/guppy/etc/Glue.py", line 187, in getattr
   d = self.getattr2(inter, cache, owner, name)
 File "/usr/local/bioinfo/src/galaxy-dev/galaxy-dist/eggs/guppy-0.1.8-py2.7-linux-x86_64-ucs2.egg/guppy/etc/Glue.py", line 204, in getattr2
   x = self.getattr3(inter, name)
 File "/usr/local/bioinfo/src/galaxy-dev/galaxy-dist/eggs/guppy-0.1.8-py2.7-linux-x86_64-ucs2.egg/guppy/etc/Glue.py", line 272, in getattr3
   pa = getattr(pa, at)
 File "/usr/local/bioinfo/src/galaxy-dev/galaxy-dist/eggs/guppy-0.1.8-py2.7-linux-x86_64-ucs2.egg/guppy/etc/Glue.py", line 44, in __getattr__
   return self._share.getattr(self, name)
 File "/usr/local/bioinfo/src/galaxy-dev/galaxy-dist/eggs/guppy-0.1.8-py2.7-linux-x86_64-ucs2.egg/guppy/etc/Glue.py", line 187, in getattr
   d = self.getattr2(inter, cache, owner, name)
 File "/usr/local/bioinfo/src/galaxy-dev/galaxy-dist/eggs/guppy-0.1.8-py2.7-linux-x86_64-ucs2.egg/guppy/etc/Glue.py", line 202, in getattr2
   x = self.getattr_package(inter, name)
 File "/usr/local/bioinfo/src/galaxy-dev/galaxy-dist/eggs/guppy-0.1.8-py2.7-linux-x86_64-ucs2.egg/guppy/etc/Glue.py", line 239, in getattr_package
   x = __import__(self.makeName(name), globals(), locals())
 File "/usr/local/bioinfo/src/galaxy-dev/galaxy-dist/eggs/guppy-0.1.8-py2.7-linux-x86_64-ucs2.egg/guppy/heapy/View.py", line 556, in <module>
   prime_builtin_types()
 File "/usr/local/bioinfo/src/galaxy-dev/galaxy-dist/eggs/guppy-0.1.8-py2.7-linux-x86_64-ucs2.egg/guppy/heapy/View.py", line 539, in prime_builtin_types
   import guppy.heapy.heapyc
 File "/usr/local/bioinfo/src/galaxy-dev/galaxy-dist/eggs/guppy-0.1.8-py2.7-linux-x86_64-ucs2.egg/guppy/sets/__init__.py", line 3, in <module>
   from setsc import BitSet    # base bitset type
ImportError: /usr/local/bioinfo/src/galaxy-dev/galaxy-dist/eggs/guppy-0.1.8-py2.7-linux-x86_64-ucs2.egg/guppy/sets/setsc.so: undefined symbol: _PyLong_AsScaledDouble




Coul you please help me ?

Thanks in advance,
Sarah

--
         --*--
Sarah Maman
INRA - LGC - SIGENAE
http://www.sigenae.org/
Chemin de Borde-Rouge - Auzeville - BP 52627
31326 Castanet-Tolosan cedex - FRANCE
Tel:   +33(0)5.61.28.57.08
Fax:   +33(0)5.61.28.57.53         --*--

___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
 http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
 http://galaxyproject.org/search/mailinglists/