[IPython-dev] Please help test ipython trunk

Christopher Burns cburns@berkeley....
Tue Apr 28 16:14:59 CDT 2009


On Sat, Apr 25, 2009 at 4:10 PM, Brian Granger <ellisonbg.net@gmail.com> wrote:
> 1.  Get the latest trunk
>
> bzr branch lp:ipython
>
> 2.  Install and run the test suite:
>
> iptest

I got three errors, all in the cocoa_frontend (or it's test mod).  All
other tests passed or skipped.

Chris


======================================================================
ERROR: Failure: TypeError (objc_ivar() takes at least 1 argument (0 given))
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/cburns/local/lib/python2.5/site-packages/nose-0.10.4-py2.5.egg/nose/loader.py",
line 364, in loadTestsFromName
    addr.filename, addr.module)
  File "/Users/cburns/local/lib/python2.5/site-packages/nose-0.10.4-py2.5.egg/nose/importer.py",
line 39, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/Users/cburns/local/lib/python2.5/site-packages/nose-0.10.4-py2.5.egg/nose/importer.py",
line 84, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/Users/cburns/src/ipython-trunk/IPython/frontend/cocoa/cocoa_frontend.py",
line 73, in <module>
    class Cell(NSObject):
  File "/Users/cburns/src/ipython-trunk/IPython/frontend/cocoa/cocoa_frontend.py",
line 79, in Cell
    blockNumber = objc.ivar().unsigned_long()
TypeError: objc_ivar() takes at least 1 argument (0 given)

======================================================================
ERROR: Failure: TypeError (objc_ivar() takes at least 1 argument (0 given))
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/cburns/local/lib/python2.5/site-packages/nose-0.10.4-py2.5.egg/nose/loader.py",
line 364, in loadTestsFromName
    addr.filename, addr.module)
  File "/Users/cburns/local/lib/python2.5/site-packages/nose-0.10.4-py2.5.egg/nose/importer.py",
line 39, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/Users/cburns/local/lib/python2.5/site-packages/nose-0.10.4-py2.5.egg/nose/importer.py",
line 84, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/Users/cburns/src/ipython-trunk/IPython/frontend/cocoa/tests/test_cocoa_frontend.py",
line 28, in <module>
    from IPython.frontend.cocoa.cocoa_frontend import IPythonCocoaController
  File "/Users/cburns/src/ipython-trunk/IPython/frontend/cocoa/cocoa_frontend.py",
line 73, in <module>
    class Cell(NSObject):
  File "/Users/cburns/src/ipython-trunk/IPython/frontend/cocoa/cocoa_frontend.py",
line 79, in Cell
    blockNumber = objc.ivar().unsigned_long()
TypeError: objc_ivar() takes at least 1 argument (0 given)


[ERROR]: IPython.frontend.cocoa.tests.test_cocoa_frontend

Traceback (most recent call last):
  File "/Users/cburns/local/lib/python2.5/site-packages/Twisted-8.1.0-py2.5-macosx-10.3-i386.egg/twisted/trial/runner.py",
line 547, in loadPackage
    module = modinfo.load()
  File "/Users/cburns/local/lib/python2.5/site-packages/Twisted-8.1.0-py2.5-macosx-10.3-i386.egg/twisted/python/modules.py",
line 380, in load
    return self.pathEntry.pythonPath.moduleLoader(self.name)
  File "/Users/cburns/local/lib/python2.5/site-packages/Twisted-8.1.0-py2.5-macosx-10.3-i386.egg/twisted/python/modules.py",
line 618, in moduleLoader
    return self._moduleLoader(modname)
  File "/Users/cburns/local/lib/python2.5/site-packages/Twisted-8.1.0-py2.5-macosx-10.3-i386.egg/twisted/python/reflect.py",
line 426, in namedAny
    topLevelPackage = _importAndCheckStack(trialname)
  File "/Users/cburns/local/lib/python2.5/site-packages/Twisted-8.1.0-py2.5-macosx-10.3-i386.egg/twisted/python/reflect.py",
line 377, in _importAndCheckStack
    return __import__(importName)
  File "/Users/cburns/src/ipython-trunk/IPython/frontend/cocoa/tests/test_cocoa_frontend.py",
line 28, in <module>
    from IPython.frontend.cocoa.cocoa_frontend import IPythonCocoaController
  File "/Users/cburns/src/ipython-trunk/IPython/frontend/cocoa/cocoa_frontend.py",
line 73, in <module>
    class Cell(NSObject):
  File "/Users/cburns/src/ipython-trunk/IPython/frontend/cocoa/cocoa_frontend.py",
line 79, in Cell
    blockNumber = objc.ivar().unsigned_long()
exceptions.TypeError: objc_ivar() takes at least 1 argument (0 given)


More information about the IPython-dev mailing list