Anybody have suggestions for making this dialog a little less…
terrifying ? And
not have links to 2 different pages about the backup process and yet another
(broken anchor) link on how to export.
Just fixed the broken “how to export” anchor with a SPAN ID in the wiki.
Are you sure you want to upgrade this Family Tree? - Gramps
Are you sure you want to upgrade this Family Tree?
The Family Tree you are trying to load is in the schema version 18 format. This version of Gramps uses schema version 20 . Therefore you cannot load this Family Tree without upgrading the schema version of the Family Tree.
If you upgrade then you won’t be able to use the previous version of Gramps, even if you subsequently backup or export your upgraded Family Tree.
Upgrading is a difficult task which could irretrievably corrupt your Family Tree if it is interrupted or fails.
If you have not already made a backup of your Family Tree, then you should start your old version of Gramps and make a backup of your family Tree.
Cancel I have made a backup,
please upgrade my Family Tree
I just saw a post by Enno in the Gramps-User mailing list that a ZIP is made automatically during the Schema upgrade.
I was unaware of this.
Validating a successful ZIP could substantially decreases the panic-mongering of this dialog. It could eliminate the terrifying “irretrievably ” aspect. However, the dialog should note where this ZIP will live. And the there should be a bailout if the ZIP is not validated.
except (DbSupportedError, DbUpgradeRequiredError) as msg:
if (
force_schema_upgrade
or QuestionDialog2(
_("Are you sure you want " "to upgrade this Family Tree?"),
str(msg),
_(
"I have made a backup,\n"
"please upgrade my Family Tree"
),
_("Cancel"),
parent=self.uistate.window,
).run()
):
force_schema_upgrade = True
make_zip_backup(filename)
else:
self.dbstate.no_database()
break
def __str__(self):
return _(
"The Family Tree you are trying to load is in the schema "
"version %(oldschema)s format. This version of Gramps uses "
"schema version %(newschema)s. Therefore you cannot load this "
"Family Tree without upgrading the schema version of the "
"Family Tree.\n\n"
"If you upgrade then you won't be able to use the previous "
"version of Gramps, even if you subsequently "
"%(wiki_manual_backup_html_start)sbackup%(html_end)s or "
"%(wiki_manual_export_html_start)sexport%(html_end)s "
"your upgraded Family Tree.\n\n"
"Upgrading is a difficult task which could irretrievably "
"corrupt your Family Tree if it is interrupted or fails.\n\n"
"If you have not already made a backup of your Family Tree, "
"then you should start your %(bold_start)sold%(bold_end)s "
"version of Gramps and "
"%(wiki_backup_html_start)smake a backup%(html_end)s "
"of your Family Tree."
) % {
This file has been truncated. show original
system
Closed
July 17, 2024, 3:57pm
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.