Ok. This one is weird…
(Windoze 10 Pro Thinkpad running 5.2 AIO64-5.2.0-r1-9ccbd1b )
I tried opening a copy of my main tree (43,000 persons)
Gramps warned that it would have to be updated and I confirmed
It tried to convert but failed.
So I broke the lock to see if the Repair would become undimmed. (It did not.)
Tried opening again and got the same error. So I closed it and tried to open another small tree.
And it OPENED the previous (supposedly corrupt) file and locked the small tree I told it to open.
So I broke that weird lock
I am baffled!
(gramps.exe:12068): Gtk-WARNING **: 18:28:34.017: drawing failure for widget 'GtkBox': NULL pointer
(gramps.exe:12068): Gtk-WARNING **: 18:28:34.017: drawing failure for widget 'GtkApplicationWindow': NULL pointer
2023-08-17 18:28:47.267: WARNING: upgrade.py: line 2218: If upgrade and loading the Family Tree works, you can delete the zip file at C:\Users\User\AppData\Roaming\gramps\McCullough_2023-08-17_18-28-46.zip
2023-08-17 18:28:47.314: WARNING: updatecallback.py: line 94: UpdateCallback with total == 0 created
2023-08-17 18:30:33.788: ERROR: dbloader.py: line 107: database is locked
Traceback (most recent call last):
File "C:\Program Files\GrampsAIO64-5.2.0\gramps\gui\dbloader.py", line 198, in read_file
db.load(
File "C:\Program Files\GrampsAIO64-5.2.0\gramps\gen\db\generic.py", line 649, in load
if not self._schema_exists():
^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\GrampsAIO64-5.2.0\gramps\plugins\db\dbapi\dbapi.py", line 93, in _schema_exists
return self.dbapi.table_exists("person")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\GrampsAIO64-5.2.0\gramps\plugins\db\dbapi\sqlite.py", line 183, in table_exists
self.execute(
File "C:\Program Files\GrampsAIO64-5.2.0\gramps\plugins\db\dbapi\sqlite.py", line 136, in execute
self.__cursor.execute(*args, **kwargs)
sqlite3.OperationalError: database is locked
2023-08-17 19:50:10.054: ERROR: dbloader.py: line 107: database is locked
Traceback (most recent call last):
File "C:\Program Files\GrampsAIO64-5.2.0\gramps\gui\dbloader.py", line 198, in read_file
db.load(
File "C:\Program Files\GrampsAIO64-5.2.0\gramps\gen\db\generic.py", line 649, in load
if not self._schema_exists():
^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\GrampsAIO64-5.2.0\gramps\plugins\db\dbapi\dbapi.py", line 93, in _schema_exists
return self.dbapi.table_exists("person")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\GrampsAIO64-5.2.0\gramps\plugins\db\dbapi\sqlite.py", line 183, in table_exists
self.execute(
File "C:\Program Files\GrampsAIO64-5.2.0\gramps\plugins\db\dbapi\sqlite.py", line 136, in execute
self.__cursor.execute(*args, **kwargs)
sqlite3.OperationalError: database is locked
Warning: DbState: Signal recursion blocked. Signals was : database-changed
from: file: C:\Program Files\GrampsAIO64-5.2.0\gramps\gen\dbstate.py
line: 149
func: no_database
Warning: DbState: Signal recursion blocked. Signals was : database-changed
from: file: C:\Program Files\GrampsAIO64-5.2.0\gramps\gen\dbstate.py
line: 149
func: no_database
Warning: DbState: Signal recursion blocked. Signals was : database-changed
from: file: C:\Program Files\GrampsAIO64-5.2.0\gramps\gen\dbstate.py
line: 138
func: signal_change
Warning: DbState: Exception occurred in callback function.
Traceback (most recent call last):
File "C:\Program Files\GrampsAIO64-5.2.0\gramps\gen\utils\callback.py", line 424, in emit
fn(*args)
File "C:\Program Files\GrampsAIO64-5.2.0\gramps\gen\plug\_gramplet.py", line 411, in _db_changed
self.update()
File "C:\Program Files\GrampsAIO64-5.2.0\gramps\gen\plug\_gramplet.py", line 312, in update
self._generator = self.main()
^^^^^^^^^^^
File "C:\Program Files\GrampsAIO64-5.2.0\gramps\plugins\gramplet\persondetails.py", line 146, in main
active_person = self.dbstate.db.get_person_from_handle(active_handle)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\GrampsAIO64-5.2.0\gramps\gen\db\generic.py", line 1353, in get_person_from_handle
return self._get_from_handle(PERSON_KEY, Person, handle)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\GrampsAIO64-5.2.0\gramps\gen\db\generic.py", line 1337, in _get_from_handle
data = self._get_raw_data(obj_key, handle)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\GrampsAIO64-5.2.0\gramps\plugins\db\dbapi\dbapi.py", line 1002, in _get_raw_data
self.dbapi.execute(sql, [handle])
File "C:\Program Files\GrampsAIO64-5.2.0\gramps\plugins\db\dbapi\sqlite.py", line 136, in execute
self.__cursor.execute(*args, **kwargs)
sqlite3.ProgrammingError: Cannot operate on a closed database.