I did not run any make test yet, but if I try to create a new notebook in
Jupyter I get an error page saying "500 : Internal Server Error" and the
error being printed in the terminal says
ImportError: No module named defusedxml
It is copied below:
[I 09:59:24.941 NotebookApp] Creating new notebook in
[E 09:59:25.128 NotebookApp] Uncaught exception GET
/notebooks/Untitled.ipynb?kernel_name=sagemath (::1)
HTTPServerRequest(protocol='http', host='localhost:8888', method='GET',
uri='/notebooks/Untitled.ipynb?kernel_name=sagemath', version='HTTP/1.1',
remote_ip='::1', headers={'Accept-Language':
'fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3', 'Accept-Encoding': 'gzip, deflate',
'Host': 'localhost:8888', 'Accept':
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'User-Agent': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:64.0)
Gecko/20100101 Firefox/64.0', 'Connection': 'keep-alive', 'Referer':
'http://localhost:8888/tree', 'Cookie':
'_xsrf=2|35264b7d|a0d922c8bff6cf037e2dcd2d14fe13e5|1548320335;
username-localhost-8888="2|1:0|10:1548320335|23:username-localhost-8888|44:OTczOWYwNjcxN2ExNGNmYzkyMTcwMWZkMDFmMTQzOWY=|657f357dec5c09edba2d5d892cebb767c82a885731c711dc90c53cf71c685521"',
'Upgrade-Insecure-Requests': '1'})
Traceback (most recent call last):
File
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/tornado/web.py",
line 1509, in _execute
result = method(*self.path_args, **self.path_kwargs)
File
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/tornado/web.py",
line 2897, in wrapper
return method(self, *args, **kwargs)
File
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/notebook/notebook/handlers.py",
line 59, in get
get_custom_frontend_exporters=get_custom_frontend_exporters
File
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/notebook/base/handlers.py",
line 462, in render_template
return template.render(**ns)
File
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/jinja2/environment.py",
line 1008, in render
return self.environment.handle_exception(exc_info, True)
File
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/jinja2/environment.py",
line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/notebook/templates/notebook.html",
line 1, in top-level template code
{% extends "page.html" %}
File
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/notebook/templates/page.html",
line 154, in top-level template code
{% block header %}
File
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/notebook/templates/notebook.html",
line 120, in block "header"
{% for exporter in get_custom_frontend_exporters() %}
File
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/notebook/notebook/handlers.py",
line 19, in get_custom_frontend_exporters
from nbconvert.exporters.base import get_export_names, get_exporter
File
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/nbconvert/__init__.py",
line 4, in <module>
from .exporters import *
File
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/nbconvert/exporters/__init__.py",
line 3, in <module>
from .exporter_locator import export_by_name
File
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/nbconvert/exporters/exporter_locator.py",
line 12, in <module>
from .templateexporter import TemplateExporter
File
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/nbconvert/exporters/templateexporter.py",
line 23, in <module>
from nbconvert import filters
File
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/nbconvert/filters/__init__.py",
line 7, in <module>
from .strings import *
File
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/nbconvert/filters/strings.py",
line 22, in <module>
from defusedxml import cElementTree as ElementTree
ImportError: No module named defusedxml
[E 09:59:25.144 NotebookApp] {
"Accept-Language": "fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3",
"Accept-Encoding": "gzip, deflate",
"Host": "localhost:8888",
"Accept":
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
"User-Agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:64.0)
Gecko/20100101 Firefox/64.0",
"Connection": "keep-alive",
"Referer": "http://localhost:8888/tree",
"Cookie":
"_xsrf=2|35264b7d|a0d922c8bff6cf037e2dcd2d14fe13e5|1548320335;
username-localhost-8888=\"2|1:0|10:1548320335|23:username-localhost-8888|44:OTczOWYwNjcxN2ExNGNmYzkyMTcwMWZkMDFmMTQzOWY=|657f357dec5c09edba2d5d892cebb767c82a885731c711dc90c53cf71c685521\"",
"Upgrade-Insecure-Requests": "1"
}
[E 09:59:25.144 NotebookApp] 500 GET
/notebooks/Untitled.ipynb?kernel_name=sagemath (::1) 100.17ms
referer=http://localhost:8888/tree
--
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.