petermr / openDiagram

Extaction of semantic data from diagrams in scientific and other technical/business documents
Apache License 2.0
1 stars 5 forks source link

Error while running latest `ami_gui.py` #19

Open ShweataNHegde opened 3 years ago

ShweataNHegde commented 3 years ago

Machine: Windows 10

I tested the latest commit of ami_gui.py on a corpus of 50 papers using 3 dictionaries. It displays the histograms but fails to write full_data_table. ami_gui.py used to give me data_tables until the latest commit. Pasting the last segment of the error here.

...('presentations', 1), ('meetings,', 1), ('publications', 1), ('journals,', 1), ('social', 1), ('media,', 1), ('organizations.', 1), ('sharing', 1), ('established,', 1), ('individual', 1), ('characteristics', 1), ('outcomes', 1), ('available', 1), ('reasonable', 1), ('request', 1), ('published.', 1), ('conforms', 1), ('already', 1), ('(osf)(registration', 1), ('10.17605/osf.io/qhw86).', 1), ('fully', 1), ('required', 1), ('form.', 1), ('free', 1), ('line', 1), ('open', 1), ('science', 1), ('framework', 1), ('(osf)', 1), ('10.17605/osf.io/9zw34).', 1), ('freely', 1), ('time.', 1), ('expressed', 1), ('(trial', 1), ('b130307033', 1), ('b160101021)', 1), ('march', 1), ('february', 1), ('5th', 1), ('amendments', 1), ('period.', 1), ('(version', 1), ('3.0)', 1), ('reviewed', 1)]
MOVE make_dictionary
ERROR full_data_tables not linked in
sections ([<text_lib.AmiSection object at 0x00000213B7F5EAC0>, <text_lib.AmiSection object at 0x00000213B7F5EA60>, <text_lib.AmiSection object at 0x00000213B7F5E9D0>, <text_lib.AmiSection object at 0x00000213B7F5E910>, <text_lib.AmiSection object at 0x00000213B7F5EA30>, <text_lib.AmiSection object at 0x00000213B7F5E940>, <text_lib.AmiSection object at 0x00000213BBE53E20>, <text_lib.AmiSection object at 0x00000213BBE53610>, <text_lib.AmiSection object at 0x00000213BBE53B80>, <text_lib.AmiSection object at 0x00000213B7F5E970>, <text_lib.AmiSection object at 0x00000213B7F5E850>, <text_lib.AmiSection object at 0x00000213B7F5E820>, <text_lib.AmiSection object at 0x00000213B7F5E730>, <text_lib.AmiSection object at 0x00000213BC119220>, <text_lib.AmiSection object at 0x00000213BC119A60>, <text_lib.AmiSection object at 0x00000213BC119C40>, <text_lib.AmiSection object at 0x00000213BC1196D0>, <text_lib.AmiSection object at 0x00000213BC1197C0>, <text_lib.AmiSection object at 0x00000213BC119700>, <text_lib.AmiSection object at 0x00000213BC130310>, <text_lib.AmiSection object at 0x00000213BC130BB0>],)
BUG section should not be List
fulltext.txt []

It freezes at this stage. When I force quit, I get the following error:

Traceback (most recent call last):
  File "C:\Users\shweata\openDiagram\physchem\python\ami_gui.py", line 909, in <module>
    app.mainloop()
  File "C:\Users\shweata\AppData\Local\Programs\Python\Python39\lib\tkinter\__init__.py", line 1421, in mainloop
    self.tk.mainloop(n)
KeyboardInterrupt
^C
C:\Users\shweata\openDiagram>

Also, the RAKE window remains empty.