PidgeyL / cve-search

cve-search is a tool to import CVE (Common Vulnerabilities and Exposures) and CPE (Common Platform Enumeration) into a MongoDB to facilitate search and processing of CVEs.
http://adulau.github.com/cve-search/
Other
24 stars 4 forks source link

python3 search_fulltext.py errors out #115

Closed lvets closed 8 years ago

lvets commented 8 years ago

Hello,

When I try to run "python3 search_fulltext.py" with or without arguments, it seems to error out with:

Traceback (most recent call last): File "search_fulltext.py", line 28, in ix = index.open_dir("indexdir") File "/usr/local/lib/python3.4/dist-packages/whoosh/index.py", line 123, in open_dir return FileIndex(storage, schema=schema, indexname=indexname) File "/usr/local/lib/python3.4/dist-packages/whoosh/index.py", line 421, in init TOC.read(self.storage, self.indexname, schema=self._schema) File "/usr/local/lib/python3.4/dist-packages/whoosh/index.py", line 619, in read % (indexname, storage)) whoosh.index.EmptyIndexError: Index 'MAIN' does not exist in FileStorage('indexdir')

Any idea what might be going on?

Thanks!

PidgeyL commented 8 years ago

This looks to be the same issue like on the main branch: https://github.com/cve-search/cve-search/issues/97 We're trying to figure out why this bug occurs.

lvets commented 8 years ago

Oh ok, sorry for that. I guess you can close this one as duplicate :) I'm replying in #97 anyways.