[IPython-dev] Updated build of trunk-dev available

Gökhan Sever gokhansever@gmail....
Mon Jan 18 00:21:14 CST 2010


On Mon, Jan 18, 2010 at 12:02 AM, Fernando Perez <fperez.net@gmail.com>wrote:

> Hey,
>
> On Sun, Jan 17, 2010 at 9:59 PM, Gökhan Sever <gokhansever@gmail.com>
> wrote:
> >
> > NOTE:
> >
> > In [3]: import IP
> >
> > here tab-complete doesn't work for IPython itself. Isn't it weird? Does
> it
> > work on your system?
>
> No, that's a known regression: the completion extensions haven't been
> ported to the new API yet, so only basic completion is working right
> now.  Your first contribution on this front for 0.11 would make lots
> of people happy :)
>

I always complain about this tab-completion issue, don't I ? :D IPython is a
very complete and complex project to delve in to learn the nitty-gritty
details of Python. Well I need to advance on my MSc degree first to be able
to move on as a PhD student. That means, I will most likely keep my
"complaining" "testing" and "feature-requesting" role for a while :)


>
> > It is still the same after I installed it. The same errors and no kernel
> > test run.
>
> OK, that makes sense now, given this:
>
> Tools and libraries NOT available at test time:
>   foolscap objc twisted wx wx.aui zope.interface
>
> Without foolscap, twisted and zope.interface, the kernel can't be tested.
>
> If you install those and try again, the kernel tests can run.
>
> BTW, could you paste again the current error tracebacks you're getting
> so I see them exactly now?
>

Here it comes all of the optional requirements installed except objc
(Although I installed gcc-objc and libobjc):

**********************************************************************
Test suite completed for system with the following information:
IPython version: 0.11.bzr.r1346
BZR revision   : 1346
Platform info  : os.name -> posix, sys.platform -> linux2
               :
Linux-2.6.31.9-174.fc12.i686.PAE-i686-with-fedora-12-Constantine
Python info    : 2.6.2 (r262:71600, Aug 21 2009, 12:22:21)
[GCC 4.4.1 20090818 (Red Hat 4.4.1-6)]

Running from an installed IPython: True

Tools and libraries available at test time:
   curses foolscap gobject gtk pexpect twisted wx wx.aui zope.interface

Tools and libraries NOT available at test time:
   objc

Ran 11 test groups in 32.203s

Status:
ERROR - 2 out of 11 test groups failed.
----------------------------------------
Runner failed: IPython.core
You may wish to rerun this one individually, with:
python /usr/bin/iptest IPython.core

----------------------------------------
Runner failed: IPython.extensions
You may wish to rerun this one individually, with:
python /usr/bin/iptest IPython.extensions



[gsever@ccn Desktop]$ python /usr/bin/iptest IPython.core
................................................................................S..............F.F..
======================================================================
FAIL: Test that object's __del__ methods are called on exit.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/nose/case.py", line 182, in runTest
    self.test(*self.arg)
  File
"/home/gsever/Desktop/python-repo/ipython-dev/IPython/testing/decorators.py",
line 225, in skipper_func
    return f(*args, **kwargs)
  File
"/home/gsever/Desktop/python-repo/ipython-dev/IPython/core/tests/test_run.py",
line 160, in test_obj_del
    tt.ipexec_validate(self.fname, 'object A deleted')
  File
"/home/gsever/Desktop/python-repo/ipython-dev/IPython/testing/tools.py",
line 312, in ipexec_validate
    nt.assert_equals(out.strip(), expected_out.strip())
AssertionError: '\x1b[?1034hobject A deleted' != 'object A deleted'
>>  raise self.failureException, \
          (None or '%r != %r' % ('\x1b[?1034hobject A deleted', 'object A
deleted'))


======================================================================
FAIL: IPython.core.tests.test_run.TestMagicRunSimple.test_tclass
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/nose/case.py", line 182, in runTest
    self.test(*self.arg)
  File
"/home/gsever/Desktop/python-repo/ipython-dev/IPython/testing/decorators.py",
line 225, in skipper_func
    return f(*args, **kwargs)
  File
"/home/gsever/Desktop/python-repo/ipython-dev/IPython/core/tests/test_run.py",
line 174, in test_tclass
    tt.ipexec_validate(self.fname, out)
  File
"/home/gsever/Desktop/python-repo/ipython-dev/IPython/testing/tools.py",
line 312, in ipexec_validate
    nt.assert_equals(out.strip(), expected_out.strip())
AssertionError: "\x1b[?1034hARGV 1-: ['C-first']\nARGV 1-:
['C-second']\ntclass.py: deleting object: C-first" != "ARGV 1-:
['C-first']\nARGV 1-: ['C-second']\ntclass.py: deleting object: C-first"
>>  raise self.failureException, \
          (None or '%r != %r' % ("\x1b[?1034hARGV 1-: ['C-first']\nARGV 1-:
['C-second']\ntclass.py: deleting object: C-first", "ARGV 1-:
['C-first']\nARGV 1-: ['C-second']\ntclass.py: deleting object: C-first"))


----------------------------------------------------------------------
Ran 102 tests in 0.779s

FAILED (SKIP=1, failures=2)



[gsever@ccn Desktop]$ python /usr/bin/iptest IPython.extensions
..F.
======================================================================
FAIL:
IPython.extensions.tests.test_pretty.TestPrettyInteractively.test_printers
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/nose/case.py", line 182, in runTest
    self.test(*self.arg)
  File
"/home/gsever/Desktop/python-repo/ipython-dev/IPython/testing/decorators.py",
line 225, in skipper_func
    return f(*args, **kwargs)
  File
"/home/gsever/Desktop/python-repo/ipython-dev/IPython/extensions/tests/test_pretty.py",
line 101, in test_printers
    tt.ipexec_validate(self.fname, ipy_out)
  File
"/home/gsever/Desktop/python-repo/ipython-dev/IPython/testing/tools.py",
line 312, in ipexec_validate
    nt.assert_equals(out.strip(), expected_out.strip())
AssertionError: '\x1b[?1034hA()\nB()\n<A>\n<B>' != 'A()\nB()\n<A>\n<B>'
>>  raise self.failureException, \
          (None or '%r != %r' % ('\x1b[?1034hA()\nB()\n<A>\n<B>',
'A()\nB()\n<A>\n<B>'))


----------------------------------------------------------------------
Ran 4 tests in 0.288s

FAILED (failures=1)





>
> Cheers,
>
> f
>



-- 
Gökhan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20100118/203e1be0/attachment.html 


More information about the IPython-dev mailing list