On 14/06/24 19:02, IOhannes m zmölnig (Debian/GNU) wrote:
On 14/06/2024 05:59, Mark Robinson wrote:
Package: gramps
Version: 5.2.2+dfsg-0.1
Severity: grave
Justification: causes non-serious data loss
bummer.
New version of gramps in Trixie upgrade.
Insisted on upgrading database advising to create backup without means.
the latter would be an upstream bug.
Most likely, but a Debian upgrade which takes the system into a state
which requires a database upgrade while removing the ability to make a
backup may justify a Debian News entry so users can back out of the
software upgrade and perform the backup.
Upgraded and loaded database.
Spat error, lost new record.
could you get into detail with the last bit?
- when was the new record created?
- how was it lost?
On completing the database migration I created a new person, added birth
and death information including a new death location and notes, and
clicked OK.
This resulted in the python error referred to in the headline which left
the new person with the OK button greyed out and no way to save it. The
record was lost.
This information appears to have been lost in submitting the report:
User Information:
===================
Just after version upgrade and DB conversion.
Being unable to backup a database after upgrading Gramps and before converting
the database is highly problematic.
Error Details:
===================
11723: WARNING: upgrade.py: line 2218: If upgrade and loading the Family Tree
works, you can delete the zip file at
/home/mark/.gramps/ROBINSON__Mark_Gregory_2024-06-14_12-07-04.zip
15060: WARNING: upgrade.py: line 2218: If upgrade and loading the Family Tree
works, you can delete the zip file at
/home/mark/.gramps/ROBINSON__Mark_Gregory_2024-06-14_12-07-08.zip
15068: WARNING: updatecallback.py: line 94: UpdateCallback with total == 0
created
3905173: ERROR: grampsapp.py: line 188: Unhandled exception
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gramps/gui/editors/editperson.py", line
984, in save
self.db.commit_person(self.obj, trans)
File "/usr/lib/python3/dist-packages/gramps/gen/db/generic.py", line 1911, in
commit_person
self.add_to_surname_list(person, trans.batch)
File "/usr/lib/python3/dist-packages/gramps/gen/db/generic.py", line 2450, in
add_to_surname_list
i = bisect.bisect(self.surname_list, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: '<' not supported between instances of 'str' and 'NoneType'
System Information:
===================
Gramps version: 5.2.2
Python version: 3.11.9
BSDDB version: 6.2.9 (5, 3, 28)
sqlite version: 3.46.0 (2.6.0)
LANG: en_GB.UTF-8
OS: Linux
Distribution: 6.7.12-amd64
GTK version : 3.24.42
gobject version: 3.48.2
cairo version : (1, 26, 0)
Ta,
Mark