I don't have any good suggestions, but have myself built 5.11
successfully on several 12.04 ubuntu 64-bit machines.

Have you tried moving your .sage directory out of the way and testing
again?  And are you testing with "make [p]test[long]" os something
else?

John

On 17 August 2013 22:31, Ben Hutz <bn4...@gmail.com> wrote:
> I rebuilt sage with the same result. If it helps, here is the text from one
> of the failures for cmdline.py and one from version.pyc.
>
> File "tests/cmdline.py", line 420, in sage.tests.cmdline.test_executable
> Failed example:
>     err
> Expected:
>     ''
> Got:
>     'Traceback (most recent call last):\n  File
> "/home/bhutz/sage/sage-5.11/local/bin/ipython", line 7, in <module>\n
> launch_new_instance()\n  File
> "/home/bhutz/sage/sage-5.11/local/lib/python2.7/site-packages/IPython/frontend/terminal/ipapp.py",
> line 388, in launch_new_instance\n    app.initialize()\n  File "<string>",
> line 2, in initialize\n  File
> "/home/bhutz/sage/sage-5.11/local/lib/python2.7/site-packages/IPython/config/application.py",
> line 84, in catch_config_error\n    return method(app, *args, **kwargs)\n
> File
> "/home/bhutz/sage/sage-5.11/local/lib/python2.7/site-packages/IPython/frontend/terminal/ipapp.py",
> line 324, in initialize\n    self.init_shell()\n  File
> "/home/bhutz/sage/sage-5.11/local/lib/python2.7/site-packages/IPython/frontend/terminal/ipapp.py",
> line 340, in init_shell\n    ipython_dir=self.ipython_dir)\n  File
> "/home/bhutz/sage/sage-5.11/local/lib/python2.7/site-packages/IPython/config/configurable.py",
> line 318, in instance\n    inst = cls(*args, **kwargs)\n  File
> "/home/bhutz/sage/sage-5.11/local/lib/python2.7/site-packages/IPython/frontend/terminal/interactiveshell.py",
> line 360, in __init__\n    user_module=user_module,
> custom_exceptions=custom_exceptions\n  File
> "/home/bhutz/sage/sage-5.11/local/lib/python2.7/site-packages/IPython/core/interactiveshell.py",
> line 476, in __init__\n    self.init_reload_doctest()\n  File
> "/home/bhutz/sage/sage-5.11/local/lib/python2.7/site-packages/IPython/core/interactiveshell.py",
> line 666, in init_reload_doctest\n    doctest_reload()\n  File
> "/home/bhutz/sage/sage-5.11/local/lib/python2.7/site-packages/IPython/utils/doctestreload.py",
> line 74, in doctest_reload\n    doctest.DocTestRunner.run =
> dhook_wrap(doctest.DocTestRunner.run)\nAttributeError: \'module\' object has
> no attribute \'DocTestRunner\'\n\nIf you suspect this is an IPython bug,
> please report it at:\n    https://github.com/ipython/ipython/issues\nor send
> an email to the mailing list at ipython-...@scipy.org\n\nYou can print a
> more detailed traceback right now with "%tb", or use "%debug"\nto
> interactively debug it.\n\nExtra-detailed tracebacks for bug-reporting
> purposes can be enabled via:\n    c.Application.verbose_crash=True\n\n'
> **********************************************************************
> File "tests/cmdline.py", line 422, in sage.tests.cmdline.test_executable
> Failed example:
>     ret
> Expected:
>     0
> Got:
>     1
>
> -------------------------------------------------------------------------------------------
>     AttributeError in doctesting framework
> **********************************************************************
> Traceback (most recent call last):
>   File
> "/home/bhutz/sage/sage-5.11/local/lib/python2.7/site-packages/sage/doctest/forker.py",
> line 2092, in __call__
>     doctests, extras = self.source.create_doctests(sage_namespace)
>   File
> "/home/bhutz/sage/sage-5.11/local/lib/python2.7/site-packages/sage/doctest/sources.py",
> line 639, in create_doctests
>     return self._create_doctests(namespace)
>   File
> "/home/bhutz/sage/sage-5.11/local/lib/python2.7/site-packages/sage/doctest/sources.py",
> line 236, in _create_doctests
>     self._init()
> AttributeError: 'FileDocTestSource' object has no attribute '_init'
>
>
>
>
>
> On Friday, August 16, 2013 6:06:16 PM UTC-4, Ben Hutz wrote:
>>
>> I went to install sage 5.11 on my Ubunutu 12.04 64bit system and it seems
>> to have built fine, but the long test gives me the following failures
>>
>> sage -t --long __init__.pyc  # AttributeError in doctesting framework
>> sage -t --long env.pyc  # AttributeError in doctesting framework
>> sage -t --long version.pyc  # AttributeError in doctesting framework
>> sage -t --long tests/interrupt.pyx  # Time out
>> sage -t --long tests/cmdline.py  # 11 doctests failed
>> sage -t --long misc/interpreter.py  # 1 doctest failed
>> sage -t --long misc/trace.py  # 2 doctests failed
>>
>> Any idea what happened? Should I try and re-build sage?
>>
>> Thanks,
>>   Ben
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to