petermr / pygetpapers

a Python version of getpapers
Apache License 2.0
78 stars 9 forks source link

Regarding gui.py sections doesn't working #12

Closed dheerajdhingani closed 3 years ago

dheerajdhingani commented 3 years ago

Hello peter, I have tried to ran gui.py on my machine but ami section doesn't working for me.

making sections ['ami', '-p', 'C:\\Users\\Mark\\temp', 'section']
Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Users\Mark\AppData\Local\Programs\Python\Python39\lib\tkinter\__init__.py", line 1892, in __call__
    return self.func(*args)
  File "c:\Users\Mark\openDiagram\physchem\python\gui.py", line 415, in create_query_and_run
    self.create_sections()
  File "c:\Users\Mark\openDiagram\physchem\python\gui.py", line 421, in create_sections
    result = str(subprocess.run(args, capture_output=True))
  File "C:\Users\Mark\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 505, in run
    with Popen(*popenargs, **kwargs) as process:
  File "C:\Users\Mark\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\Mark\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1420, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified