-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
The Idea of pdf to xml very impressive but one exception there when run this code at python2/3
Traceback (most recent call last):
File "pdf2xml.py", line 563, in
main(sys.argv)
File "pdf2xml.py", line 90, in main
tree = make_xml(objs,n,tree)
File "pdf2xml.py", line 511, in make_xml
xml = gen_xml(group_by(regobjs,n),n,xml)
File "pdf2xml.py", line 421, in group_by
for p in concave( sort_by_font (find_tables(objs)[0], 0 )[0],50,100)[0]:
File "pdf2xml.py", line 206, in concave
tmp.append(graph.nodes()[i])
File "/home/sambhu/env-2demo/local/lib/python2.7/site-packages/networkx/classes/reportviews.py", line 178, in getitem
return self._nodes[n]
KeyError: 8
Hovera and huanghuanghui
Metadata
Metadata
Assignees
Labels
No labels