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 gui.py #16

Open ayush4921 opened 3 years ago

ayush4921 commented 3 years ago

While running gui.py for the country of Afganistan under the query "Artificial Intelligence", the following error is observed:

D:\main_projects\repositories\openDiagram\physchem\python>python gui.py
ROOT .
D:\main_projects\repositories\dictionary\openVirus20210120\country\country.xml
entries 263
CMD ['pygetpapers', '-q', '("Artificial Intelligence") AND ("Afghanistan")', '-o', 'C:\\Users\\themo\\temp', '-k', '1', '-x']
HITS  155\r
txt .!frame7.!frame
button1 <ButtonPress event state=Mod1 num=1 x=223 y=146>
['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'char', 'delta', 'height', 'keycode', 'keysym', 'keysym_num', 'num', 'send_event', 'serial', 'state', 'time', 'type', 'widget', 'width', 'x', 'x_root', 'y', 'y_root']
Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Users\themo\AppData\Local\Programs\Python\Python37\lib\tkinter\__init__.py", line 1705, in __call__
    return self.func(*args)
  File "gui.py", line 47, in button1
    tup = event.widget.curselection
AttributeError: 'ScrolledText' object has no attribute 'curselection'

Gui.py remains frozen on this screen: image