Currently the error seems to be with gscholar_interface.py not having correct results storage structure for output.
File "./tickpicker.py", line 422, in <module> CrawlerApp() File "./tickpicker.py", line 43, in __init__ self.control_loop() File "./tickpicker.py", line 416, in control_loop function_list[s_code]() # run selected function File "./tickpicker.py", line 231, in query_single self.search(db=int(database), q=query) File "./tickpicker.py", line 379, in search a.search(keywords=[[q]]) File "/mnt/c/Users/deepg/Documents/TickBase/code/crawler.py", line 62, in search r = self.interface.query(key) File "/mnt/c/Users/deepg/Documents/TickBase/code/gscholar_interface.py", line 43, in query if len(results['results']) <= 0: NameError: name 'results' is not defined
UPDATE
Attempting to run a query with google scholar from the command line app no longer causes a crash. It also doesn't output an error message however...
Currently the error seems to be with gscholar_interface.py not having correct results storage structure for output.
File "./tickpicker.py", line 422, in <module> CrawlerApp() File "./tickpicker.py", line 43, in __init__ self.control_loop() File "./tickpicker.py", line 416, in control_loop function_list[s_code]() # run selected function File "./tickpicker.py", line 231, in query_single self.search(db=int(database), q=query) File "./tickpicker.py", line 379, in search a.search(keywords=[[q]]) File "/mnt/c/Users/deepg/Documents/TickBase/code/crawler.py", line 62, in search r = self.interface.query(key) File "/mnt/c/Users/deepg/Documents/TickBase/code/gscholar_interface.py", line 43, in query if len(results['results']) <= 0: NameError: name 'results' is not defined