Errors from MacOS build with Python3

61 views
Skip to first unread message

Brian Ball

unread,
May 30, 2019, 5:15:12 PM5/30/19
to sage-devel
I built sage 8.7 with python 3.6.

I then ran 
./sage --testall
And many of the tests fail

Attached is a zip file with all the logs - I hope it isn't too much information.

Also when I enter "manual()" in sage I get the following error


OSError: The document 'reference' does not exist.  Please build it

with 'sage -docbuild reference html --mathjax' and try again.


I've done the sage -docbuild command several times - to no avail


tutorial() also gets an error message:


OSError: The document 'tutorial' does not exist.  Please build it

with 'sage -docbuild tutorial html --mathjax' and try again.


Thanks


Brian Ball





Archive.zip

John H Palmieri

unread,
May 30, 2019, 6:19:08 PM5/30/19
to sage-devel


On Thursday, May 30, 2019 at 2:15:12 PM UTC-7, Brian Ball wrote:
I built sage 8.7 with python 3.6.

What do you mean by "built"? Did you run "make"? If so, did it complete without error? (I would find that surprising, since "make" should build the documentation.)

What does the file logs/dochtml.log say?

 

I then ran 
./sage --testall
And many of the tests fail

Many tests will fail with Python 3, since Python 3 builds of Sage are still in the experimental stage. See https://trac.sagemath.org/ticket/26212 for the current progress.

Running "make ptest-python3" should run all tests which are known (on other platforms) to pass with a Python 3 build.

Brian Ball

unread,
May 30, 2019, 6:43:55 PM5/30/19
to sage-...@googlegroups.com
Thanks,

Yes, I ran 

make configure
 ./configure --with-python=3 
make build

Many warnings - no errors

There is no file logs/dochtml.log
there is a logs/docutils.0.14.log (attached)
It says:
Successfully installed docutils-0.14

I'll run make ptest-python3 as you suggest.

Thanks again

Brian



--
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+...@googlegroups.com.
To post to this group, send email to sage-...@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/0b4c7f39-a58b-4f32-9623-c9f7d4e09186%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
docutils-0.14.log

John H Palmieri

unread,
May 30, 2019, 8:44:37 PM5/30/19
to sage-devel


On Thursday, May 30, 2019 at 3:43:55 PM UTC-7, Brian Ball wrote:
Thanks,

Yes, I ran 

make configure
 ./configure --with-python=3 
make build

You should run "make" rather than "make build" to get the documentation, too. Without it, some doctests will fail, in addition to just not having the documentation. (Or "make ptest-python3" ...)

 
To unsubscribe from this group and stop receiving emails from it, send an email to sage-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages