This is indeed Python3 invalid. I would replace the string by
u'(^|(?<!\\w))'
That is Python2 and Python3 valid.
Le 26/07/2019 à 16:52, Vincent Klein a écrit :
8.9.beta3
On unbuntu 16.04 after a "make distclean && ./configure --with-python=3" i
get the following error :
[sagenb-1.1.2] byte-compiling
/home/vklein/odk/sage/local/var/tmp/sage/build/sagenb-1.1.2/inst/home/vklein/odk/sage/local/lib/python3.7/site-packages/sagenb/notebook/wiki2html.py
to wiki2html.cpython-37.pyc
[sagenb-1.1.2] File
"/home/vklein/odk/sage/local/lib/python3.7/site-packages/sagenb/notebook/wiki2html.py",
line 62
[sagenb-1.1.2] 'url_guard': ur'(^|(?<!\w))',
[sagenb-1.1.2] ^
[sagenb-1.1.2] SyntaxError: invalid syntax
[sagenb-1.1.2]
...
Successfully installed sagenb-1.1.2
Cleaning up...
Removed build tracker '/tmp/pip-req-tracker-s1fel8oz'
make[4]: Entering directory
'/home/vklein/odk/sage/local/var/tmp/sage/build/sagenb-1.1.2/src/doc'
Running Sphinx v1.8.5
making output directory...
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 19 source files that are out of date
updating environment: 19 added, 0 changed, 0 removed
reading sources... [ 5%] index
reading sources... [ 10%] misc/introspect
reading sources... [ 15%] misc/misc
Exception occurred:
File "sage/misc/lazy_import.pyx", line 218, in
sage.misc.lazy_import.LazyImport._get_object
(build/cythonized/sage/misc/lazy_import.c:2502)
raise RuntimeError(f"resolving lazy import {self._name} during startup")
RuntimeError: resolving lazy import dumps during startup
The full traceback has been saved in /tmp/sphinx-err-f8a0uhzu.log, if you
want to report the issue to the developers.
Please also report this if it was a user error, so that a better error
message can be provided next time.
A bug report can be filed in the tracker at
<https://github.com/sphinx-doc/sphinx/issues>. Thanks!
Makefile:20: recipe for target 'html' failed
make[4]: *** [html] Error 2
make[4]: Leaving directory
'/home/vklein/odk/sage/local/var/tmp/sage/build/sagenb-1.1.2/src/doc'
********************************************************************************
Error building the documentation
********************************************************************************
...
Full sagenb.log in attachment.
Does somebody have an idea to solve this ?
Vincent K.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-devel/54bc6aad-b57c-98d1-347f-20e12f45b91a%40gmail.com.