have you tried updating your gurobi license, or removing it from your sage 
install ?



> Le 6 mai 2019 à 09:44, Sébastien Labbé <[email protected]> a écrit :
> 
> On Ubuntu 16.04, upgrading to most recent sage develop as usual, I can't get 
> the documentation to build. I can reproduce the issue after make doc-clean. 
> It stops at
> 
> ...
> [dochtml] installing. Log file: logs/dochtml.log
>   [dochtml] error installing, exit status 1. Log file: logs/dochtml.log
> Makefile:2046 : la recette pour la cible « doc-html » a échouée
> make[3]: *** [doc-html] Erreur 1
> make[3] : on quitte le répertoire « /home/slabbe/GitBox/sage/build/make »
> Makefile:1858 : la recette pour la cible « all-start » a échouée
> make[2]: *** [all-start] Erreur 2
> make[2] : on quitte le répertoire « /home/slabbe/GitBox/sage/build/make »
> 
> real    0m58.968s
> user    7m7.644s
> sys    0m8.256s
> ***************************************************************
> Error building Sage.
> 
> The following package(s) may have failed to build (not necessarily
> during this run of 'make all-start'):
> 
> * documentation: dochtml
>   log file: /home/slabbe/GitBox/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.
> 
> Makefile:31 : la recette pour la cible « all-start » a échouée
> make[1]: *** [all-start] Erreur 1
> make[1] : on quitte le répertoire « /home/slabbe/GitBox/sage »
> Makefile:13 : la recette pour la cible « all » a échouée
> make: *** [all] Erreur 2
> 
> 
> The file logs/dochtml.log finishes with
> 
> ...
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 
> 19: ordinal not in range(128)
> Traceback (most recent call last):
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 287, in write
>     self._write(str)
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 261, in _write
>     self._log_line(line)
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 227, in _log_line
>     self._stream.write(line)
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 
> 19: ordinal not in range(128)
> Build finished. The built documents can be found in 
> /home/slabbe/GitBox/sage/local/share/doc/sage/inventory/en/reference/coding
> [cryptogra] building [inventory]: targets for 20 source files that are out of 
> date
> [cryptogra] updating environment: 20 added, 0 changed, 0 removed
> [misc     ] pickling environment... fait
> [misc     ] checking consistency... fait
> [misc     ] preparing documents... fait
> [curves   ] building [inventory]: targets for 71 source files that are out of 
> date
> [curves   ] updating environment: 71 added, 0 changed, 0 removed
> [cryptogra] 
> /home/slabbe/GitBox/sage/src/sage_setup/docbuild/ext/sage_autodoc.py:1170: 
> RemovedInSphinx20Warning: formatargspec() is now deprecated.  Please use 
> sphinx.util.inspect.Signature instead.
> [cryptogra]   return formatargspec(initmeth, *argspec)
> [cryptogra] 
> /home/slabbe/GitBox/sage/src/sage_setup/docbuild/ext/sage_autodoc.py:1406: 
> RemovedInSphinx20Warning: formatargspec() is now deprecated.  Please use 
> sphinx.util.inspect.Signature instead.
> [cryptogra]   args = formatargspec(self.object, *argspec)
> [curves   ] 
> /home/slabbe/GitBox/sage/src/sage_setup/docbuild/ext/sage_autodoc.py:1170: 
> RemovedInSphinx20Warning: formatargspec() is now deprecated.  Please use 
> sphinx.util.inspect.Signature instead.
> [curves   ]   return formatargspec(initmeth, *argspec)
> [curves   ] 
> /home/slabbe/GitBox/sage/src/sage_setup/docbuild/ext/sage_autodoc.py:1072: 
> RemovedInSphinx20Warning: formatargspec() is now deprecated.  Please use 
> sphinx.util.inspect.Signature instead.
> [curves   ]   args = formatargspec(self.object, *argspec)
> [curves   ] 
> /home/slabbe/GitBox/sage/src/sage_setup/docbuild/ext/sage_autodoc.py:1406: 
> RemovedInSphinx20Warning: formatargspec() is now deprecated.  Please use 
> sphinx.util.inspect.Signature instead.
> [curves   ]   args = formatargspec(self.object, *argspec)
> [cryptogra] 
> /home/slabbe/GitBox/sage/src/sage_setup/docbuild/ext/sage_autodoc.py:1072: 
> RemovedInSphinx20Warning: formatargspec() is now deprecated.  Please use 
> sphinx.util.inspect.Signature instead.
> [cryptogra]   args = formatargspec(self.object, *argspec)
> [graphs   ] 
> /home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py:docstring
>  of sage.graphs.generic_graph.GenericGraph.longest_path:72: WARNING: 
> Exception occurred in plotting generic_graph-1
> [graphs   ]  from 
> /home/slabbe/GitBox/sage/src/doc/en/reference/graphs/sage/graphs/generic_graph.rst:
> [graphs   ] Traceback (most recent call last):
> [graphs   ]   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/matplotlib/sphinxext/plot_directive.py",
>  line 524, in run_code
> [graphs   ]     six.exec_(code, ns)
> [graphs   ]   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/six.py", line 
> 709, in exec_
> [graphs   ]     exec("""exec _code_ in _globs_, _locs_""")
> [graphs   ]   File "<string>", line 1, in <module>
> [graphs   ]   File "<string>", line 2, in <module>
> [graphs   ]   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  line 7133, in longest_path
> [graphs   ]     p = MixedIntegerLinearProgram(solver=solver)
> [graphs   ]   File "sage/numerical/mip.pyx", line 451, in 
> sage.numerical.mip.MixedIntegerLinearProgram.__init__ 
> (build/cythonized/sage/numerical/mip.c:3929)
> [graphs   ]     self._backend = get_solver(solver=solver,
> [graphs   ]   File "sage/numerical/backends/generic_backend.pyx", line 1649, 
> in sage.numerical.backends.generic_backend.get_solver 
> (build/cythonized/sage/numerical/backends/generic_backend.c:20060)
> [graphs   ]     cpdef GenericBackend get_solver(constraint_generation = 
> False, solver = None, base_ring = None):
> [graphs   ]   File "sage/numerical/backends/generic_backend.pyx", line 1805, 
> in sage.numerical.backends.generic_backend.get_solver 
> (build/cythonized/sage/numerical/backends/generic_backend.c:19782)
> [graphs   ]     return GurobiBackend()
> [graphs   ]   File "sage/numerical/backends/gurobi_backend.pyx", line 72, in 
> sage.numerical.backends.gurobi_backend.GurobiBackend.__init__ 
> (build/cythonized/sage/numerical/backends/gurobi_backend.c:2561)
> [graphs   ]     check(self.env_master, error)
> [graphs   ]   File "sage/numerical/backends/gurobi_backend.pyx", line 1322, 
> in sage.numerical.backends.gurobi_backend.check 
> (build/cythonized/sage/numerical/backends/gurobi_backend.c:11384)
> [graphs   ]     raise MIPSolverException("Gurobi: 
> "+str(GRBgeterrormsg(env))+" ("+errors[error]+")")
> [graphs   ] MIPSolverException: Gurobi: License expired 2019-04-26 - license 
> file '/home/slabbe/gurobi.lic' (GRB_ERROR_NO_LICENSE)
> [misc     ] dumping object inventory... fait
> Traceback (most recent call last):
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 287, in write
>     self._write(str)
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 261, in _write
>     self._log_line(line)
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 227, in _log_line
>     self._stream.write(line)
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 
> 19: ordinal not in range(128)
> Traceback (most recent call last):
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 287, in write
>     self._write(str)
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 261, in _write
>     self._log_line(line)
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 227, in _log_line
>     self._stream.write(line)
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 
> 19: ordinal not in range(128)
> Traceback (most recent call last):
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 287, in write
>     self._write(str)
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 261, in _write
>     self._log_line(line)
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 227, in _log_line
>     self._stream.write(line)
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 
> 19: ordinal not in range(128)
> Build finished. The built documents can be found in 
> /home/slabbe/GitBox/sage/local/share/doc/sage/inventory/en/reference/misc
> [graphs   ] pickling environment... fait
> [graphs   ] checking consistency... fait
> [graphs   ] preparing documents... fait
> [data_stru] building [inventory]: targets for 5 source files that are out of 
> date
> [data_stru] updating environment: 5 added, 0 changed, 0 removed
> [data_stru] 
> /home/slabbe/GitBox/sage/src/sage_setup/docbuild/ext/sage_autodoc.py:1406: 
> RemovedInSphinx20Warning: formatargspec() is now deprecated.  Please use 
> sphinx.util.inspect.Signature instead.
> [data_stru]   args = formatargspec(self.object, *argspec)
> [data_stru] 
> /home/slabbe/GitBox/sage/src/sage_setup/docbuild/ext/sage_autodoc.py:1072: 
> RemovedInSphinx20Warning: formatargspec() is now deprecated.  Please use 
> sphinx.util.inspect.Signature instead.
> [data_stru]   args = formatargspec(self.object, *argspec)
> [data_stru] 
> /home/slabbe/GitBox/sage/src/sage_setup/docbuild/ext/sage_autodoc.py:1170: 
> RemovedInSphinx20Warning: formatargspec() is now deprecated.  Please use 
> sphinx.util.inspect.Signature instead.
> [data_stru]   return formatargspec(initmeth, *argspec)
> [data_stru] pickling environment... fait
> [data_stru] checking consistency... fait
> [data_stru] preparing documents... fait
> [data_stru] dumping object inventory... fait
> Traceback (most recent call last):
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 287, in write
>     self._write(str)
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 261, in _write
>     self._log_line(line)
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 227, in _log_line
>     self._stream.write(line)
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 
> 19: ordinal not in range(128)
> Traceback (most recent call last):
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 287, in write
>     self._write(str)
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 261, in _write
>     self._log_line(line)
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 227, in _log_line
>     self._stream.write(line)
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 
> 19: ordinal not in range(128)
> Traceback (most recent call last):
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 287, in write
>     self._write(str)
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 261, in _write
>     self._log_line(line)
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 227, in _log_line
>     self._stream.write(line)
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 
> 19: ordinal not in range(128)
> Build finished. The built documents can be found in 
> /home/slabbe/GitBox/sage/local/share/doc/sage/inventory/en/reference/data_structures
> [databases] building [inventory]: targets for 13 source files that are out of 
> date
> [databases] updating environment: 13 added, 0 changed, 0 removed
> [databases] 
> /home/slabbe/GitBox/sage/src/sage_setup/docbuild/ext/sage_autodoc.py:1170: 
> RemovedInSphinx20Warning: formatargspec() is now deprecated.  Please use 
> sphinx.util.inspect.Signature instead.
> [databases]   return formatargspec(initmeth, *argspec)
> [databases] 
> /home/slabbe/GitBox/sage/src/sage_setup/docbuild/ext/sage_autodoc.py:1406: 
> RemovedInSphinx20Warning: formatargspec() is now deprecated.  Please use 
> sphinx.util.inspect.Signature instead.
> [databases]   args = formatargspec(self.object, *argspec)
> [databases] 
> /home/slabbe/GitBox/sage/src/sage_setup/docbuild/ext/sage_autodoc.py:1072: 
> RemovedInSphinx20Warning: formatargspec() is now deprecated.  Please use 
> sphinx.util.inspect.Signature instead.
> [databases]   args = formatargspec(self.object, *argspec)
> [cryptogra] pickling environment... fait
> [cryptogra] checking consistency... fait
> [cryptogra] preparing documents... fait
> [cryptogra] dumping object inventory... fait
> Traceback (most recent call last):
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 287, in write
>     self._write(str)
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 261, in _write
>     self._log_line(line)
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 227, in _log_line
>     self._stream.write(line)
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 
> 19: ordinal not in range(128)
> Traceback (most recent call last):
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 287, in write
>     self._write(str)
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 261, in _write
>     self._log_line(line)
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 227, in _log_line
>     self._stream.write(line)
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 
> 19: ordinal not in range(128)
> Traceback (most recent call last):
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 287, in write
>     self._write(str)
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 261, in _write
>     self._log_line(line)
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 227, in _log_line
>     self._stream.write(line)
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 
> 19: ordinal not in range(128)
> Build finished. The built documents can be found in 
> /home/slabbe/GitBox/sage/local/share/doc/sage/inventory/en/reference/cryptography
> [graphs   ] dumping object inventory... fait
> Traceback (most recent call last):
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 287, in write
>     self._write(str)
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 261, in _write
>     self._log_line(line)
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 227, in _log_line
>     self._stream.write(line)
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 
> 19: ordinal not in range(128)
> Traceback (most recent call last):
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 287, in write
>     self._write(str)
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 261, in _write
>     self._log_line(line)
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 227, in _log_line
>     self._stream.write(line)
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 
> 19: ordinal not in range(128)
> Traceback (most recent call last):
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 287, in write
>     self._write(str)
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 261, in _write
>     self._log_line(line)
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
>  line 227, in _log_line
>     self._stream.write(line)
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 
> 19: ordinal not in range(128)
> [diophanti] building [inventory]: targets for 2 source files that are out of 
> date
> [diophanti] updating environment: 2 added, 0 changed, 0 removed
> Error building the documentation.
> Traceback (most recent call last):
>   File "/home/slabbe/GitBox/sage/local/lib/python2.7/runpy.py", line 174, in 
> _run_module_as_main
>     "__main__", fname, loader, pkg_name)
>   File "/home/slabbe/GitBox/sage/local/lib/python2.7/runpy.py", line 72, in 
> _run_code
>     exec code in run_globals
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/__main__.py",
>  line 2, in <module>
>     main()
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/__init__.py",
>  line 1730, in main
>     builder()
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/__init__.py",
>  line 351, in _wrapper
>     getattr(get_builder(document), 'inventory')(*args, **kwds)
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/__init__.py",
>  line 547, in _wrapper
>     build_many(build_ref_doc, L)
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/__init__.py",
>  line 288, in build_many
>     ret = x.get(99999)
>   File 
> "/home/slabbe/GitBox/sage/local/lib/python2.7/multiprocessing/pool.py", line 
> 572, in get
>     raise self._value
> OSError: 
> /home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py:docstring
>  of sage.graphs.generic_graph.GenericGraph.longest_path:72: WARNING: 
> Exception occurred in plotting generic_graph-1
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sage-release" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/sage-release 
> <https://groups.google.com/group/sage-release>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.

Reply via email to