When upgrading from beta 4 to beta5, I got the following error, which
persists after doing: make doc-clean doc-uninstall; make
(Unbuntu 22-04, up to date).
I got this error massage:
[sagemath_doc_html-none] [misc ] WARNING: autodoc: failed to import
module 'sagedoc_conf' from module 'sage.misc'; the following exception
was raised:
[sagemath_doc_html-none] [misc ] No module named
'sage.misc.sagedoc_conf'
but I'm not sure this is at the origin of the problem.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-release...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/e95ee3d5-59fc-66cf-a08b-320330ba8220%40math.univ-lyon1.fr.
--
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 sage-release...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/4d52cd20-b3f0-429e-b02f-f01e7de2dc50n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/42423426-3e72-453c-8e9c-f971970fcde1n%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "sage-release" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-release/FezzF5Q7Wt4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-release...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/CAAWYfq2OPj4k%2Bj8ZfSJUAP1K%2BQ11vhKKY-RKRbsbHcW1RYYtVQ%40mail.gmail.com.
One way to fix it is to re-create ./configure from ./bootstrap
that's a bug in ./bootstrap then.
When I did an incremental build with the venv-python3.10.3 in place, a new venv named python3.10.5 was created. But that new venv depends on the old 3.10.3 venv. In fact, there are at least 16 executable files in sage/venv-python3.10.5/bin for which the shebang points tosage/venv-python3.10.3/bin/python3This prevents sage from working after the 3.10.3 venv is removed.
I am guessing that these bad shebangs are created because the old venv is actually being used to build the new venv.
If I delete all of the venvs before starting an incremental build will the build still work, and will it create a new venv that is appropriate for its python, even if the python version has not changed?
FWIW, a recent routine update of Debian testing removed part of the flint
libraries used by Sage ; I tried to re/.configure
to re-specify the use of the (new) system flint
, but then make
failed due to the snag already reported on documentation building ; I then resorted to make distclean
; rebuilt Sage from this fresh state, and re-ptestlong
ed it (for consistency’s sake). This gave me one transient failure (reported below), which was not reproducible by running the test standalone :
sage -t --long --warn-long 195.7 --random-seed=235618870789586020618978017884435145468 src/sage/rings/integer.pyx
**********************************************************************
File "src/sage/rings/integer.pyx", line 3041, in sage.rings.integer.Integer.divisors
Failed example:
for i in range(20): # long time
try:
alarm(RDF.random_element(1e-3, 0.5))
_ = n.divisors()
cancel_alarm() # we never get here
except AlarmInterrupt:
pass
Exception raised:
Traceback (most recent call last):
File "<doctest sage.rings.integer.Integer.divisors[20]>", line 4, in <module>
_ = n.divisors()
File "sage/rings/integer.pyx", line 3128, in sage.rings.integer.Integer.divisors
for p, e in f:
File "/usr/local/sage-9/src/sage/structure/factorization.py", line 319, in __getitem__
def __getitem__(self, i):
File "src/cysignals/signals.pyx", line 310, in cysignals.signals.python_check_interrupt
cysignals.signals.AlarmInterrupt
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/sage-9/src/sage/doctest/forker.py", line 695, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/usr/local/sage-9/src/sage/doctest/forker.py", line 1093, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.rings.integer.Integer.divisors[20]>", line 4, in <module>
_ = n.divisors()
File "src/cysignals/signals.pyx", line 310, in cysignals.signals.python_check_interrupt
cysignals.signals.AlarmInterrupt
**********************************************************************
1 item had failures:
This might be an inadvertent capture of a signal raised by another test running in parallel…
HTH,