[IPython-dev] failed installation of ipython1

Ondrej Marsalek ondrej.marsalek at matfyz.cz
Sun May 13 08:00:05 EDT 2007


hello everybody,

at first i would like to thank all the people who contribute to
ipython, especially the new ipython1 features. a few days ago a saw
the msri video and i am really excited about the parallelization
features and the potential in all this.

now to my problem: i tried to install ipython1 from svn on an ubuntu
feisty fawn box (i can provide more details if needed) and it seems it
was not successful. below i provide the end of the installation
transcript and the failed "trial ipython1" bellow.

based "IndentationError" i assume it is sth trivial, but i do not have
any experience with python packages management, so i can't tell for
sure.

thanks for any help,
ondrej marsalek


-------------------------------------------------------------------------------


the final part of the installation
-------------------------------------------
byte-compiling build/bdist.linux-i686/egg/ipython1/core1/interpreterinterface.py
to interpreterinterface.pyc
Sorry: IndentationError: ('expected an indented block',
('build/bdist.linux-i686/egg/ipython1/core1/interpreterinterface.py',
8, 7, '    def execute(self, lines):\n'))
byte-compiling build/bdist.linux-i686/egg/ipython1/core1/some_magics.py
to some_magics.pyc
byte-compiling build/bdist.linux-i686/egg/ipython1/core1/output_trap.py
to output_trap.pyc
byte-compiling build/bdist.linux-i686/egg/ipython1/core1/test/testTEMPLATE.py
to testTEMPLATE.pyc
byte-compiling build/bdist.linux-i686/egg/ipython1/core1/test/tcommon.py
to tcommon.pyc
byte-compiling build/bdist.linux-i686/egg/ipython1/core1/test/__init__.py
to __init__.pyc
byte-compiling build/bdist.linux-i686/egg/ipython1/core1/test/test_all_doctests.py
to test_all_doctests.pyc
byte-compiling build/bdist.linux-i686/egg/ipython1/bonjour/twistbonjour.py
to twistbonjour.pyc
byte-compiling build/bdist.linux-i686/egg/ipython1/bonjour/__init__.py
to __init__.pyc
creating build/bdist.linux-i686/egg/EGG-INFO
copying ipython1.egg-info/PKG-INFO -> build/bdist.linux-i686/egg/EGG-INFO
copying ipython1.egg-info/SOURCES.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying ipython1.egg-info/dependency_links.txt ->
build/bdist.linux-i686/egg/EGG-INFO
copying ipython1.egg-info/entry_points.txt ->
build/bdist.linux-i686/egg/EGG-INFO
copying ipython1.egg-info/not-zip-safe -> build/bdist.linux-i686/egg/EGG-INFO
copying ipython1.egg-info/top_level.txt -> build/bdist.linux-i686/egg/EGG-INFO
creating dist
creating 'dist/ipython1-0.9alpha2-py2.5.egg' and adding
'build/bdist.linux-i686/egg' to it
removing 'build/bdist.linux-i686/egg' (and everything under it)
Processing ipython1-0.9alpha2-py2.5.egg
creating /usr/lib/python2.5/site-packages/ipython1-0.9alpha2-py2.5.egg
Extracting ipython1-0.9alpha2-py2.5.egg to /usr/lib/python2.5/site-packages
Sorry: IndentationError: ('expected an indented block',
('/usr/lib/python2.5/site-packages/ipython1-0.9alpha2-py2.5.egg/ipython1/kernel/taskhttp.py',
136, 0, 'class HTTPTaskRegisterClient(HTTPTaskBaseMethod):\n'))
Sorry: IndentationError: ('expected an indented block',
('/usr/lib/python2.5/site-packages/ipython1-0.9alpha2-py2.5.egg/ipython1/core1/interpreterinterface.py',
8, 7, '    def execute(self, lines):\n'))
Adding ipython1 0.9alpha2 to easy-install.pth file
Installing ipcluster script to /usr/bin
Installing ipcontroller script to /usr/bin
Installing ipengine script to /usr/bin

Installed /usr/lib/python2.5/site-packages/ipython1-0.9alpha2-py2.5.egg
Processing dependencies for ipython1==0.9alpha2


parts of "trial ipython1"
--------------------------------
.
.
.
WARNING:
Error in Arguments: "Illegal option '--noterm_title'"
.
.
.
ipython1.test.test_newserialized
  SerializedTestCase
    testNDArraySerialized ...                                              [OK]
    testPickleSerialized ...                                               [OK]
    testSerializedInterfaces ...                                           [OK]
                                       [ERROR]
ipython1.test.test_shell
  BasicShellTest
    testCommand ...                                                        [OK]
    testExecute ...                                                        [OK]
    testPutGet ...                                                         [OK]
    testUpdate ...                                                         [OK]
                                                     [ERROR]

===============================================================================
[ERROR]: ipython1.test.test_pendingdeferred

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/twisted/trial/runner.py",
line 555, in loadPackage
    module = modinfo.load()
  File "/usr/lib/python2.5/site-packages/twisted/python/modules.py",
line 386, in load
    return self.pathEntry.pythonPath.moduleLoader(self.name)
  File "/usr/lib/python2.5/site-packages/twisted/python/modules.py",
line 621, in moduleLoader
    return self._moduleLoader(modname)
  File "/usr/lib/python2.5/site-packages/twisted/python/reflect.py",
line 357, in namedAny
    topLevelPackage = __import__(trialname)
  File "/usr/lib/python2.5/site-packages/ipython1-0.9alpha2-py2.5.egg/ipython1/test/test_pendingdeferred.py",
line 20, in <module>
    import tcommon
  File "/usr/lib/python2.5/site-packages/ipython1-0.9alpha2-py2.5.egg/ipython1/test/tcommon.py",
line 30, in <module>
    from ipython1.test.ipdoctest import IPDocTestLoader,makeTestSuite
  File "/usr/lib/python2.5/site-packages/ipython1-0.9alpha2-py2.5.egg/ipython1/test/ipdoctest.py",
line 78, in <module>
    ipython = IPython.Shell.IPShell(['--classic','--noterm_title']).IP
  File "/usr/lib/python2.5/site-packages/IPython/Shell.py", line 56, in __init__
    debug=debug,shell_class=shell_class)
  File "/usr/lib/python2.5/site-packages/IPython/ipmaker.py", line
297, in make_IPython
    sys.exit(1)
exceptions.SystemExit: 1
===============================================================================
[ERROR]: ipython1.test.test_tools_utils

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/twisted/trial/runner.py",
line 555, in loadPackage
    module = modinfo.load()
  File "/usr/lib/python2.5/site-packages/twisted/python/modules.py",
line 386, in load
    return self.pathEntry.pythonPath.moduleLoader(self.name)
  File "/usr/lib/python2.5/site-packages/twisted/python/modules.py",
line 621, in moduleLoader
    return self._moduleLoader(modname)
  File "/usr/lib/python2.5/site-packages/twisted/python/reflect.py",
line 357, in namedAny
    topLevelPackage = __import__(trialname)
  File "/usr/lib/python2.5/site-packages/ipython1-0.9alpha2-py2.5.egg/ipython1/test/test_tools_utils.py",
line 6, in <module>
    import tcommon
  File "/usr/lib/python2.5/site-packages/ipython1-0.9alpha2-py2.5.egg/ipython1/test/tcommon.py",
line 30, in <module>
    from ipython1.test.ipdoctest import IPDocTestLoader,makeTestSuite
  File "/usr/lib/python2.5/site-packages/ipython1-0.9alpha2-py2.5.egg/ipython1/test/ipdoctest.py",
line 78, in <module>
    ipython = IPython.Shell.IPShell(['--classic','--noterm_title']).IP
  File "/usr/lib/python2.5/site-packages/IPython/Shell.py", line 56, in __init__
    debug=debug,shell_class=shell_class)
  File "/usr/lib/python2.5/site-packages/IPython/ipmaker.py", line
297, in make_IPython
    sys.exit(1)
exceptions.SystemExit: 1
-------------------------------------------------------------------------------
Ran 93 tests in 5.908s

FAILED (errors=2, successes=93)



More information about the IPython-dev mailing list