Rather than deleting the entire Sage directory, you should be able to start 
from scratch by doing 'make distclean' and then 'make'. Is your 'develop' 
branch up to date?



On Sunday, May 15, 2016 at 8:46:41 AM UTC-7, saad khalid wrote:
>
> Hey everyone:
>
> So, here's the issue. I was facing this same issue before, so I decided to 
> delete my git folder in home and then install it again. So, I ran 
>
> git clone git://github.com/sagemath/sage.git
>
> and it remade the sage directory. Then, I did "cd sage", and ran "git 
> checkout develop". After this, I checked and I was on the develop branch. 
> This should have been a fresh copy, straight from 
> the Sage mirror. 
> However, when I ran make, I got the following error: 
> Error building the documentation.
> Traceback (most recent call last):
>   File "/home/saad/sage/local/lib/python/runpy.py", line 162, in 
> _run_module_as_main
>     "__main__", fname, loader, pkg_name)
>   File "/home/saad/sage/local/lib/python/runpy.py", line 72, in _run_code
>     exec code in run_globals
>   File 
> "/home/saad/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/__main__.py",
>  line 2, in <module>
>     main()
>   File 
> "/home/saad/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/__init__.py",
>  line 1629, in main
>     builder()
>   File 
> "/home/saad/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/__init__.py",
>  line 284, in _wrapper
>     getattr(get_builder(document), 'inventory')(*args, **kwds)
>   File 
> "/home/saad/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/__init__.py",
>  line 495, in _wrapper
>     x.get(99999)
>   File "/home/saad/sage/local/lib/python/multiprocessing/pool.py", line 567, 
> in get
>     raise self._value
> OSError: [plot3d   ] 
> /home/saad/sage/local/lib/python2.7/site-packages/sage/plot/plot3d/platonic.py:docstring
>  of sage.plot.plot3d.platonic:10: WARNING: Exception occurred in plotting 
> platonic-1
>
> make[2]: *** [doc-html] Error 1
> make[2]: Leaving directory `/home/saad/sage/build/make'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/saad/sage/build/make'
>
> real    193m34.862s
> user    182m33.248s
> sys     4m55.540s
> ***************************************************************
> Error building Sage.
>
> The following package(s) may have failed to build (not necessarily
> during this run of 'make all'):
>
> * documentation: dochtml
>   log file: /home/saad/sage/logs/pkgs/../dochtml.log
>
> The build directory may contain configuration files and other potentially
> helpful information. WARNING: if you now run 'make' again, the build
> directory will, by default, be deleted. Set the environment variable
> SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.
>
> make: *** [all] Error 1
>
>
> I'm not exactly sure what to do here. Now, when I try running a doctest like 
> the following:
> ./sage -t /src/sage/interface/maxima_lib.py
>
> I get the following error:
> no stored timings available
> Running doctests with ID 2016-05-15-10-38-26-bc8799da.
> Git branch: develop
> Using --optional=mpir,python2,sage
> Doctesting 1 file.
> Traceback (most recent call last):
>   File "/home/saad/sage/src/bin/sage-runtests", line 89, in <module>
>     err = DC.run()
>   File 
> "/home/saad/sage/local/lib/python2.7/site-packages/sage/doctest/control.py", 
> line 1044, in run
>     self.run_doctests()
>   File 
> "/home/saad/sage/local/lib/python2.7/site-packages/sage/doctest/control.py", 
> line 761, in run_doctests
>     self.dispatcher = DocTestDispatcher(self)
>   File 
> "/home/saad/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", 
> line 1376, in __init__
>     init_sage()
>   File 
> "/home/saad/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", 
> line 125, in init_sage
>     from sympy.printing.pretty.stringpict import stringPict
> ImportError: No module named sympy.printing.pretty.stringpict
>
>
> Now, I got this error in the last thread as well(see here 
> https://groups.google.com/forum/#!topic/sage-devel/ayb4qJ6_sM4 ) and when I 
> tried the suggestion of reinstalling sympy within the
>  sage directory, it gave me  errors with mpmath, the same ones that are in 
> these tickets(and were obviously fixed a while ago)
>
> http://trac.sagemath.org/ticket/16624
> https://github.com/sympy/sympy/issues/8022
>
> I'm certain I'm running the most recent version of Sage. When I run it, it 
> says that I'm running 7.2.rc2. Obviously, something is happening incorrectly 
> with my install of sympy(it's not automatically
>  installed in my sage directory, and simply installing the .7.6.1 copy from 
> sympy just gives me the mpmath based errors). What exactly is 
> happening? 
> To do a full reinstall from scratch, do I need to do more than delete the 
> sage directory? 
>
>

-- 
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 https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to