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

python search_lib.py --demo luke error #15

Open Radhu903 opened 3 years ago

Radhu903 commented 3 years ago

C:\Users\DELL\openDiagram\physchem\python>python search_lib.py --demo luke running search main args Namespace(dict=None, sect=None, proj=None, patt=None, demo=['luke'], loglevel='foo', plot=True, nosearch=False, maxbars=25, languages=['en'], debug=None) cmd sys.argv ['search_lib.py', '--demo', 'luke'] interpreted from cmd arg.demo ['luke'] DEMOS RUN DEMOS: ['luke'] project files not available for C:\Users\DELL\openDiagram\python\diagrams\satish\cct project files not available for C:\Users\DELL\openVirus\miniproject\disease\1-part project files not available for C:\Users\DELL\worcester\synthesis project files not available for C:\Users\DELL\worcester\explosion Traceback (most recent call last): File "C:\Users\DELL\openDiagram\physchem\python\util.py", line 296, in check_exists f = open(file, "r") FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\DELL\dictionary\ami3\ethics.xml'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\DELL\openDiagram\physchem\python\search_lib.py", line 1136, in main() File "C:\Users\DELL\openDiagram\physchem\python\search_lib.py", line 1065, in main AmiSearch.run_demos(args.demo) File "C:\Users\DELL\openDiagram\physchem\python\search_lib.py", line 118, in run_demos AmiSearch.run_demo(demo_dict, demo) File "C:\Users\DELL\openDiagram\physchem\python\search_lib.py", line 124, in run_demo demo_dict[demo]() File "C:\Users\DELL\openDiagram\physchem\python\search_lib.py", line 511, in luke_demo ami_search = AmiSearch() File "C:\Users\DELL\openDiagram\physchem\python\search_lib.py", line 98, in init self.ami_dictionaries = AmiDictionaries() File "C:\Users\DELL\openDiagram\physchem\python\search_lib.py", line 928, in init self.create_search_dictionary_dict() File "C:\Users\DELL\openDiagram\physchem\python\search_lib.py", line 955, in create_search_dictionary_dict self.make_ami3_dictionaries() File "C:\Users\DELL\openDiagram\physchem\python\search_lib.py", line 1015, in make_ami3_dictionaries self.add_with_check(item[0], item[1]) File "C:\Users\DELL\openDiagram\physchem\python\search_lib.py", line 1022, in add_with_check Util.check_exists(file) File "C:\Users\DELL\openDiagram\physchem\python\util.py", line 300, in check_exists raise FileNotFoundError(str(file) + " should exist") FileNotFoundError: C:\Users\DELL\dictionary\ami3\ethics.xml should exist