[IPython-dev] failed installation of ipython1
Ondrej Marsalek
ondrej.marsalek@matfyz...
Mon May 14 12:46:58 CDT 2007
> Sorry about that. I think most of us are running straight from the
> dev directory, so we hadn't really noticed this. I fixed a few small
> problems from your traceback, let us know how it goes.
no problem. now the install seems fine, nothing suspicious. trial,
however, raises an exception at the very begining. see listing below.
> Your main ipython is probably not current enough, I'm afraid. You'll
> need the most recent release, 0.8.1, for all of this to work smoothly.
true. feisty fawn has 0.7.3 in the repos. i installed from svn, so now
i have 0.8.2.svn.r2333.
regards,
ondrej
traceback of the problem:
(there really is not a single txt file in that directory)
andy@kevf119:~$ trial ipython1
Traceback (most recent call last):
File "/usr/bin/trial", line 24, in <module>
run()
File "/usr/lib/python2.5/site-packages/twisted/scripts/trial.py",
line 341, in run
suite = _getSuite(config)
File "/usr/lib/python2.5/site-packages/twisted/scripts/trial.py",
line 301, in _getSuite
return loader.loadByNames(config['tests'], recurse)
File "/usr/lib/python2.5/site-packages/twisted/trial/runner.py",
line 635, in loadByNames
for thing in sets.Set(things)]
File "/usr/lib/python2.5/site-packages/twisted/trial/runner.py",
line 592, in loadAnything
return self.loadPackage(thing, recurse)
File "/usr/lib/python2.5/site-packages/twisted/trial/runner.py",
line 559, in loadPackage
thingToAdd = self.loadModule(module)
File "/usr/lib/python2.5/site-packages/twisted/trial/runner.py",
line 471, in loadModule
return module.testSuite()
File "/usr/lib/python2.5/site-packages/ipython1-0.9alpha2-py2.5.egg/ipython1/test/test_tools_utils.py",
line 34, in <lambda>
testSuite = lambda : makeTestSuite(__name__,dt_files,dt_modules)
File "/usr/lib/python2.5/site-packages/ipython1-0.9alpha2-py2.5.egg/ipython1/test/ipdoctest.py",
line 535, in makeTestSuite
return IPDocTestLoader(dt_files,dt_modules).loadTestsFromModule(mod)
File "/usr/lib/python2.5/site-packages/ipython1-0.9alpha2-py2.5.egg/ipython1/test/ipdoctest.py",
line 498, in loadTestsFromModule
suite.addTest(doctest.DocFileSuite(fname))
File "/usr/lib/python2.5/doctest.py", line 2381, in DocFileSuite
suite.addTest(DocFileTest(path, **kw))
File "/usr/lib/python2.5/doctest.py", line 2300, in DocFileTest
doc, path = _load_testfile(path, package, module_relative)
File "/usr/lib/python2.5/doctest.py", line 213, in _load_testfile
return open(filename).read(), filename
IOError: [Errno 2] No such file or directory:
'/usr/lib/python2.5/site-packages/ipython1-0.9alpha2-py2.5.egg/ipython1/test/tst_tools_utils_doctest.txt'
More information about the IPython-dev
mailing list