Using Linux Mint (5.1.3)
I have a problem with opening my GPKG
I dont know what to do …
Who can help me?
21725: WARNING: dummydb.py: line 1419: database is closed
49434: WARNING: dummydb.py: line 1419: database is closed
54444: WARNING: write.py: line 390: If upgrade and loading the Family Tree works, you can delete the zip file at /home/eeepc/.gramps/Stamboom_2_2021-01-14_15-15-34.zip
83904: ERROR: grampsapp.py: line 156: Unhandled exception
Traceback (most recent call last):
File “/app/lib/python3.8/site-packages/gramps/gui/viewmanager.py”, line 942, in import_data
self.db_loader.import_file()
File “/app/lib/python3.8/site-packages/gramps/gui/dbloader.py”, line 131, in import_file
GrampsImportFileDialog(self.dbstate, self.uistate,
File “/app/lib/python3.8/site-packages/gramps/gui/dbloader.py”, line 473, in init
if self.check_errors(filename):
File “/app/lib/python3.8/site-packages/gramps/gui/dbloader.py”, line 535, in check_errors
f = file(filename,‘w’)
NameError: name ‘file’ is not defined
536443: ERROR: dbloader.py: line 570: Failed to import database.
Traceback (most recent call last):
File “/app/lib/python3.8/site-packages/gramps/plugins/lib/libgedcom.py”, line 2753, in parse_gedcom_file
self.__parse_record()
File “/app/lib/python3.8/site-packages/gramps/plugins/lib/libgedcom.py”, line 3556, in __parse_record
self.__parse_indi(line)
File “/app/lib/python3.8/site-packages/gramps/plugins/lib/libgedcom.py”, line 3655, in __parse_indi
self.__parse_level(state, self.indi_parse_tbl, self.__person_event)
File “/app/lib/python3.8/site-packages/gramps/plugins/lib/libgedcom.py”, line 3609, in __parse_level
func(line, state)
File “/app/lib/python3.8/site-packages/gramps/plugins/lib/libgedcom.py”, line 4011, in __person_birt
event_ref = self.__build_event_pair(state, EventType.BIRTH,
File “/app/lib/python3.8/site-packages/gramps/plugins/lib/libgedcom.py”, line 7907, in __build_event_pair
self.dbase.commit_event(event, self.trans)
File “/app/lib/python3.8/site-packages/gramps/plugins/db/bsddb/write.py”, line 1872, in commit_event
self._commit_base(event, self.event_map, EVENT_KEY,
File “/app/lib/python3.8/site-packages/gramps/plugins/db/bsddb/write.py”, line 1725, in _commit_base
self._update_reference_map(obj, transaction, self.txn)
File “/app/lib/python3.8/site-packages/gramps/plugins/db/bsddb/write.py”, line 1099, in _update_reference_map
primary_cur = self.get_reference_map_primary_cursor()
File “/app/lib/python3.8/site-packages/gramps/plugins/db/bsddb/write.py”, line 254, in try
return func(self, *args, **kwargs)
File “/app/lib/python3.8/site-packages/gramps/plugins/db/bsddb/write.py”, line 317, in _get_reference_map_primary_cursor
return DbBsddbAssocCursor(self.reference_map_primary_map,
File “/app/lib/python3.8/site-packages/gramps/plugins/db/bsddb/write.py”, line 193, in init
self.cursor = source.cursor(txn)
AttributeError: ‘NoneType’ object has no attribute ‘cursor’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/app/lib/python3.8/site-packages/gramps/gui/dbloader.py”, line 556, in do_import
self.import_info = importer(self.dbstate.db, filename,
File “/app/lib/python3.8/site-packages/gramps/plugins/importer/importgedcom.py”, line 139, in importData
gedparse.parse_gedcom_file(False)
File “/app/lib/python3.8/site-packages/gramps/plugins/lib/libgedcom.py”, line 2765, in parse_gedcom_file
self.__check_xref()
File “/app/lib/python3.8/site-packages/gramps/gen/db/txn.py”, line 77, in exit
self.db.transaction_abort(self)
File “/app/lib/python3.8/site-packages/gramps/plugins/db/bsddb/write.py”, line 2110, in transaction_abort
self.__after_commit(transaction)
File “/app/lib/python3.8/site-packages/gramps/plugins/db/bsddb/write.py”, line 2117, in __after_commit
self.env.txn_checkpoint()
AttributeError: ‘NoneType’ object has no attribute ‘txn_checkpoint’