GraphRetriever icon indicating copy to clipboard operation
GraphRetriever copied to clipboard

sqlite3.OperationalError: index index_id already exists

Open htw970202 opened this issue 3 years ago • 0 comments

Hi, First of all, I'm sorry for the frequent questions.

I prepared all the data, and there was a problem during the preprocessing process. : python3 WikiData.py --dump_path {path_to_wikidata_dump} --data_dir {dir_for_saving_preprocessed_wikidata} --n_processed {n_processes_for_preprocessing}

Traceback (most recent call last): File "WikiData.py", line 307, in wikidata = MyWikiData(args, load=True) File "WikiData.py", line 37, in init ('description', 'TEXT'), ('texts', 'TEXT')]) File "/home/GraphRetriever/Database.py", line 23, in create self.cursor.execute(query) sqlite3.OperationalError: index index_id already exists

Can you tell me how I can solve this case?

htw970202 avatar Feb 02 '23 08:02 htw970202