Hi Brian,<br><br><div class="gmail_quote">On Sat, Apr 25, 2009 at 7:10 PM, Brian Granger <span dir="ltr">&lt;<a href="http://ellisonbg.net">ellisonbg.net</a>@<a href="http://gmail.com">gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
After a few weeks of work, we have just merged a massive branch into<br>
the ipython trunk.  Because of the massive numbers of changes that<br>
have been merged in, we really need some help testing out IPython<br>
before we cut a 0.10 release (we are basically done merging in things<br>
for 0.10, more on that in a separate email thread).  Here is how you<br>
can help:<br>
<br>
1.  Get the latest trunk<br>
<br>
bzr branch lp:ipython<br>
<br>
2.  Install and run the test suite:<br>
<br>
iptest<br>
<br>
3.  Try out lots of things to see if anything is broken<br>
<br>
4.  Report back<br>
</blockquote><div><br><br>
I was just reinstalling 64-bit Jaunty on a dual core laptop when I saw your email. I
updated my branch, installed and first ran &quot;python setupegg.py
nosetests&quot; which yielded:<br>
<br>
EEEEE...E.S..S..E.S...SS..SSS.................S......SSS.S.S.Could not open file &lt;nosetests&gt; for safe execution.<br>
<br>
I know the tests are supposed to be run with iptest, I was just curious. When I run with iptest I get a number of errors because I haven&#39;t installed twisted:<br><br></div></div>Failure: ImportError (No module named zope.interface) ... ERROR              <br>
Failure: ImportError (No module named twisted.python) ... ERROR              <br>Failure: ImportError (No module named twisted.python) ... ERROR              <br>Failure: ImportError (No module named twisted.python) ... ERROR              <br>
Failure: ImportError (No module named twisted.trial) ... ERROR               <br>Failure: ImportError (No module named twisted.python) ... ERROR              <br>Failure: ImportError (No module named twisted.python) ... ERROR              <br>
Failure: ImportError (No module named twisted.python) ... ERROR<br><br>I installed the libraries needed for parallel operation, and got a few errors from iptest:<br><br>FAILED (failures=3)<br>*****************************************************************************<br>
IPython test set: trial                                                      <br>Traceback (most recent call last):                                           <br>  File &quot;/usr/lib/python2.6/dist-packages/twisted/python/usage.py&quot;, line 241, in parseOptions                                                                    <br>
    self.postOptions()                                                          <br>  File &quot;/usr/lib/python2.6/dist-packages/twisted/scripts/trial.py&quot;, line 293, in postOptions                                                                    <br>
    self[&#39;reporter&#39;] = self._loadReporterByName(self[&#39;reporter&#39;])               <br>  File &quot;/usr/lib/python2.6/dist-packages/twisted/scripts/trial.py&quot;, line 279, in _loadReporterByName                                                            <br>
    for p in plugin.getPlugins(itrial.IReporter):                               <br>  File &quot;/usr/lib/python2.6/dist-packages/twisted/plugin.py&quot;, line 200, in getPlugins                                                                            <br>
    allDropins = getCache(package)                                              <br>--- &lt;exception caught here&gt; ---                                                 <br>  File &quot;/usr/lib/python2.6/dist-packages/twisted/plugin.py&quot;, line 179, in getCache                                                                              <br>
    dropinPath.setContent(pickle.dumps(dropinDotCache))                         <br>  File &quot;/usr/lib/python2.6/dist-packages/twisted/python/filepath.py&quot;, line 623, in setContent                                                                   <br>
    f = sib.open(&#39;w&#39;)                                                           <br>  File &quot;/usr/lib/python2.6/dist-packages/twisted/python/filepath.py&quot;, line 433, in open                                                                         <br>
    return open(self.path, mode+&#39;b&#39;)                                            <br>exceptions.IOError: [Errno 13] Permission denied: &#39;/usr/lib/python2.6/dist-packages/twisted/plugins/dropin.cache.new&#39;<br>
<br>---------<br><br>and:<br><br>    testStrictDict ... ERROR: An unexpected error occurred while tokenizing input                                                                               <br>The following traceback may be corrupted or invalid                             <br>
The error message is: (&#39;EOF in multi-line statement&#39;, (37, 0)) <br>--------<br><br>Finally, I ran the following:<br><br>$ iptest -v IPython.frontend<br>/usr/lib/python2.6/dist-packages/foolscap/banana.py:2: DeprecationWarning: the sets module is deprecated                                                        <br>
  import struct, sets, time                                                     <br>/usr/lib/python2.6/dist-packages/foolscap/vocab.py:2: DeprecationWarning: the sha module is deprecated; use the hashlib module instead                          <br>
  import sha                                                                    <br>Check that is_complete works. ... ok                                            <br>Tests line completion heuristic. ... ok                                         <br>
Tests line completion heuristic. ... ok                                         <br>Tests line completion heuristic. ... ok                                         <br>IPython.frontend.tests.test_prefilterfrontend.test_capture ... ok               <br>
IPython.frontend.tests.test_prefilterfrontend.test_completion_equal ... FAIL    <br>IPython.frontend.tests.test_prefilterfrontend.test_completion_indexing ... FAIL <br>IPython.frontend.tests.test_prefilterfrontend.test_completion_parenthesis ... ok<br>
IPython.frontend.tests.test_prefilterfrontend.test_completion_simple ... ok     <br>IPython.frontend.tests.test_prefilterfrontend.test_execution ... FAIL           <br>IPython.frontend.tests.test_prefilterfrontend.test_help ... ok                  <br>
IPython.frontend.tests.test_prefilterfrontend.test_magic ... ok                 <br>IPython.frontend.tests.test_prefilterfrontend.test_multiline ... ok             <br>A simple test to see if we can execute a process and get the output. ... ok     <br>
Checks that we can send characters on stdin to the process. ... ok              <br>Check that we can kill a process, and its subprocess. ... ok                    <br><br>======================================================================<br>
FAIL: IPython.frontend.tests.test_prefilterfrontend.test_completion_equal<br>----------------------------------------------------------------------   <br>Traceback (most recent call last):                                       <br>
  File &quot;/var/lib/python-support/python2.6/nose/case.py&quot;, line 182, in runTest<br>    self.test(*self.arg)                                                     <br>  File &quot;/home/darren/Projects/ipython/IPython/frontend/tests/test_prefilterfrontend.py&quot;, line 82, in my_func                                                    <br>
    out = func()                                                                <br>  File &quot;/home/darren/Projects/ipython/IPython/frontend/tests/test_prefilterfrontend.py&quot;, line 241, in test_completion_equal                                     <br>
    assert_equal(f.input_buffer, &#39;a=1.__&#39;)<br>AssertionError: &#39;a=1.&#39; != &#39;a=1.__&#39;<br>&gt;&gt;  raise self.failureException, \<br>          (None or &#39;%r != %r&#39; % (&#39;a=1.&#39;, &#39;a=1.__&#39;))<br>
<br><br>======================================================================<br>FAIL: IPython.frontend.tests.test_prefilterfrontend.test_completion_indexing<br>----------------------------------------------------------------------<br>
Traceback (most recent call last):<br>  File &quot;/var/lib/python-support/python2.6/nose/case.py&quot;, line 182, in runTest<br>    self.test(*self.arg)<br>  File &quot;/home/darren/Projects/ipython/IPython/frontend/tests/test_prefilterfrontend.py&quot;, line 82, in my_func<br>
    out = func()<br>  File &quot;/home/darren/Projects/ipython/IPython/frontend/tests/test_prefilterfrontend.py&quot;, line 231, in test_completion_indexing<br>    assert_equal(f.input_buffer, &#39;a[0].__&#39;)<br>AssertionError: &#39;a[0].&#39; != &#39;a[0].__&#39;<br>
&gt;&gt;  raise self.failureException, \<br>          (None or &#39;%r != %r&#39; % (&#39;a[0].&#39;, &#39;a[0].__&#39;))<br><br><br>======================================================================<br>FAIL: IPython.frontend.tests.test_prefilterfrontend.test_execution<br>
----------------------------------------------------------------------<br>Traceback (most recent call last):<br>  File &quot;/var/lib/python-support/python2.6/nose/case.py&quot;, line 182, in runTest<br>    self.test(*self.arg)<br>
  File &quot;/home/darren/Projects/ipython/IPython/frontend/tests/test_prefilterfrontend.py&quot;, line 82, in my_func<br>    out = func()<br>  File &quot;/home/darren/Projects/ipython/IPython/frontend/tests/test_prefilterfrontend.py&quot;, line 103, in test_execution<br>
    assert_equal(out_value, &#39;1\n&#39;)<br>AssertionError: &#39;&gt;print(1)\n1\n&#39; != &#39;1\n&#39;<br>&gt;&gt;  raise self.failureException, \<br>          (None or &#39;%r != %r&#39; % (&#39;&gt;print(1)\n1\n&#39;, &#39;1\n&#39;))<br>
<br><br>----------------------------------------------------------------------<br>Ran 16 tests in 0.209s<br><br>FAILED (failures=3)<br><br>