Traceback (most recent call last):

 "/Users/codylandry/PycharmProjects/servicefusion/venv/lib/python2.7/site-packages/talon/quotations.py", line 177, in extract_from
return extract_from_html(msg_body)

 "/Users/codylandry/PycharmProjects/servicefusion/venv/lib/python2.7/site-packages/talon/quotations.py", line 362, in extract_from_html
result = _extract_from_html(msg_body)

 "/Users/codylandry/PycharmProjects/servicefusion/venv/lib/python2.7/site-packages/talon/quotations.py", line 398, in _extract_from_html
html_quotations.cut_from_block(html_tree)

 "/Users/codylandry/PycharmProjects/servicefusion/venv/lib/python2.7/site-packages/talon/html_quotations.py", line 162, in cut_from_block
("//*[starts-with(mg:text_content(), 'From:')]|"

 "src/lxml/lxml.etree.pyx", line 1587, in lxml.etree._Element.xpath (src/lxml/lxml.etree.c:57923)

 "src/lxml/xpath.pxi", line 307, in lxml.etree.XPathElementEvaluator.__call__ (src/lxml/lxml.etree.c:167084)

 "src/lxml/xpath.pxi", line 227, in lxml.etree._XPathEvaluatorBase._handle_result (src/lxml/lxml.etree.c:166043)XPathEvalError: Invalid expression
Traceback (most recent call last):


 "3_tree-lstm.py", line 56, in <module>

trainset = SST(mode='tiny')
# the "tiny" set has only 5 trees


 "/usr/local/miniconda3/lib/python3.6/site-packages/dgl/data/tree.py", line 62, in __init__

self._load()


 "/usr/local/miniconda3/lib/python3.6/site-packages/dgl/data/tree.py", line 100, in _load

self.trees.append(self._build_tree(sent))


 "/usr/local/miniconda3/lib/python3.6/site-packages/dgl/data/tree.py", line 120, in _build_tree

ret.from_networkx(g, node_attrs=['x', 'y', 'mask'])


 "/usr/local/miniconda3/lib/python3.6/site-packages/dgl/graph.py", line 1212, in from_networkx

self._graph.from_networkx(nx_graph)


 "/usr/local/miniconda3/lib/python3.6/site-packages/dgl/graph_index.py", line 755, in from_networkx

for e in nx_graph.edges:
TypeError: 'method' object is not iterable
