Public bug reported:

Binary package hint: ipython

the magic function %whos always gives this strange error:

 %whos
---------------------------------------------------------------------------
<type 'exceptions.AttributeError'>        Traceback (most recent call last)

myscripts/<ipython console> in <module>()

/var/lib/python-support/python2.5/IPython/iplib.py in ipmagic(self, arg_s)
    962         else:
    963             magic_args = self.var_expand(magic_args,1)
--> 964             return fn(magic_args)
    965 
    966     def ipalias(self,arg_s):

/var/lib/python-support/python2.5/IPython/Magic.py in magic_whos(self, 
parameter_s)
    989             array_type = None
    990         else:
--> 991             array_type = Numeric.ArrayType.__name__
    992 
    993         # Find all variable names and types so we can figure out column 
sizes

<type 'exceptions.AttributeError'>: 'module' object has no attribute
'ArrayType'

on Windows this works.

** Affects: ipython (Ubuntu)
     Importance: Undecided
         Status: New

-- 
magic function whos not working in ipython
https://bugs.launchpad.net/bugs/177253
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to