SkidanovAlex/CtrlK

Need to store all files that include a header file

ankrgyl opened this issue · 0 comments

Need to store all files that include a header file so that if the first origin file
goes missing, we can find another one that still exists.

HTTPRequest(protocol='http', host='127.0.0.1:7934', method='GET', uri='/parse', version='HTTP/1.1', remote_ip='127.0.0.1', headers={'Accept-Encoding': 'gzip, deflate, compress', 'Host': '127.0.0.1:7934', 'Content-Length': '0', 'Accept': '/', 'User-Agent': 'python-requests/1.1.0 CPython/2.7.3 Linux/3.8.0-29-generic'})
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1141, in _when_complete
callback()
File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1162, in _execute_method
self._when_complete(method(_self.path_args, *_self.path_kwargs),
File "/home/ankur/.vim/bundle/CtrlK/ctrlk/ctrlk/ctrlk_server.py", line 58, in get
g_project.scan_and_index()
File "/home/ankur/.vim/bundle/CtrlK/ctrlk/ctrlk/project.py", line 127, in scan_and_index
compile_command = project_files[origin_file_name]
KeyError: '/home/ankur/memsql/ddl_parser/ddl_parser.tokenizer.cpp'
ERROR:tornado.access:500 GET /parse (127.0.0.1) 50.37ms