You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No example document available currently, but my guess is that instr is None.
File "/home/policystat/env/lib/python2.7/site-packages/pydocx/export/html.py", line 211, in export
for result in super(PyDocXHTMLExporter, self).export()
File "/home/policystat/env/lib/python2.7/site-packages/pydocx/export/html.py", line 209, in <genexpr>
result.to_html() if isinstance(result, HtmlTag)
File "/home/policystat/env/lib/python2.7/site-packages/pydocx/export/base.py", line 119, in export
for result in self.export_node(document):
File "/home/policystat/env/lib/python2.7/site-packages/pydocx/export/base.py", line 214, in export_node
for result in results:
File "/home/policystat/env/lib/python2.7/site-packages/pydocx/export/html.py", line 127, in apply
for result in results:
File "/home/policystat/env/lib/python2.7/site-packages/pydocx/export/base.py", line 214, in export_node
for result in results:
File "/home/policystat/env/lib/python2.7/site-packages/pydocx/export/html.py", line 127, in apply
for result in results:
File "/home/policystat/env/lib/python2.7/site-packages/pydocx/export/base.py", line 248, in yield_nested
for result in func(item):
File "/home/policystat/env/lib/python2.7/site-packages/pydocx/export/base.py", line 214, in export_node
for result in results:
File "/home/policystat/env/lib/python2.7/site-packages/pydocx/export/html.py", line 278, in export_paragraph
results = is_not_empty_and_not_only_whitespace(results)
File "/home/policystat/env/lib/python2.7/site-packages/pydocx/export/html.py", line 78, in is_not_empty_and_not_only_whitespace
for item in gen:
File "/home/policystat/env/lib/python2.7/site-packages/pydocx/export/base.py", line 248, in yield_nested
for result in func(item):
File "/home/policystat/env/lib/python2.7/site-packages/pydocx/export/base.py", line 212, in export_node
results = caller(node)
File "/home/policystat/env/lib/python2.7/site-packages/pydocx/export/base.py", line 513, in export_simple_field
parsed_instr = simple_field.parse_instr()
File "/home/policystat/env/lib/python2.7/site-packages/pydocx/openxml/wordprocessing/simple_field.py", line 41, in parse_instr
m = self._parse_instr_into_field_type_and_arg_string()
File "/home/policystat/env/lib/python2.7/site-packages/pydocx/openxml/wordprocessing/simple_field.py", line 35, in _parse_instr_into_field_type_and_arg_string
return re.match('^\s*([^\s]+)\s*(.*)$', self.instr)
File "/home/policystat/env/lib/python2.7/re.py", line 137, in match
return _compile(pattern, flags).match(string)
TypeError: expected string or buffer
The text was updated successfully, but these errors were encountered:
No example document available currently, but my guess is that
instr
is None.The text was updated successfully, but these errors were encountered: