cisTEM GUI crash

1 post / 0 new
pramod0231
cisTEM GUI crash

Hi ,

 

               When I open cisTEM GUI in a project directory, it displays  

 

"There is a lock file for this database, implying another process is writing to it. If multiple processes access the database, it may lead to corruption! A stale lock file can be leftover due to a crashed process, if you are sure that this lock file is stale then select override to delete it and continue.  If not, then select No until you are sure no other process is connected to the database.

You should backup your database (and journal) before you proceed

Do you want to override?"

 

And when click Override, the GUI crash and with following error

 

SQL Error: malformed database schema (REFINEMENT_RESOLUTION_STATISTICS_46_1) - table REFINEMENT_RESOLUTION_STATISTICS_46_1 already exists

Trying to execute the following command :-

 

CREATE TABLE IF NOT EXISTS MASTER_SETTINGS(NUMBER INTEGER PRIMARY KEY, PROJECT_DIRECTORY TEXT, PROJECT_NAME TEXT, CURRENT_VERSION INTEGER, TOTAL_CPU_HOURS REAL, TOTAL_JOBS_RUN INTEGER );

From core/database.cpp:33

int Database::ExecuteSQL(const char *)

Aborted (core dumped)

 

 I also tried deleting  ".db.lock"  file but that does not help and still getting same error

 

Can anyone suggest how to solve this issue

 

Thank you

Pramod