I have made several attempts since Gramps 6.0.0 was released to get it working but without success. I am currently running Kubuntu 25.04 although I also had the same problem on Kubuntu 24.10. I have installed the Debian package for 6.0.0, I have attempted unsuccessfully to build and install 6.0.1 from source, and I have installed the FlatPak for 6.0.1. I have tried letting Gramps convert my database from 5.2 and I have tried importing my most recent backup into a new database. All have the same problem. Soon after I load the database I get the following error:
42331: ERROR: grampsapp.py: line 188: Unhandled exception
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gramps/gui/viewmanager.py", line 968, in view_changed
self.__change_page(page_num)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/lib/python3/dist-packages/gramps/gui/viewmanager.py", line 984, in __change_page
self.active_page.set_active()
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/gramps/gui/views/listview.py", line 318, in set_active
NavigationView.set_active(self)
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/usr/lib/python3/dist-packages/gramps/gui/views/navigationview.py", line 151, in set_active
PageView.set_active(self)
~~~~~~~~~~~~~~~~~~~^^^^^^
File "/usr/lib/python3/dist-packages/gramps/gui/views/pageview.py", line 364, in set_active
self.bottombar.set_active()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/gramps/gui/widgets/grampletbar.py", line 321, in set_active
gramplet.pui.update()
~~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/gramps/gen/plug/_gramplet.py", line 317, in update
self._generator = self.main()
~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/gramps/plugins/gramplet/events.py", line 231, in main
self.display_person(active_handle)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/gramps/plugins/gramplet/events.py", line 244, in display_person
self.add_event_ref(event_ref)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/gramps/plugins/gramplet/events.py", line 125, in add_event_ref
place = place_displayer.display_event(self.db, event)
File "/usr/lib/python3/dist-packages/gramps/gen/display/place.py", line 84, in display_event
return self.display(db, place, event.get_date_object(), fmt)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/gramps/gen/display/place.py", line 96, in display
pf = self.place_formats[fmt]
~~~~~~~~~~~~~~~~~~^^^^^
IndexError: list index out of range
Using the Debian package for 6.0.0, the Error Report popup appears the first time I attempt to change the view. Using FlatPak it appeared in the console window before the first view was loaded. Checking the database reports no errors, so I don’t know where to start.
That doesn’t appear to be the case. I went back and installed all of the addons in 6.0.1 that I had installed in 5.2.4 (including several that I haven’t used), but I still got the same error.
The code is trying to access a place format that doesn’t exist. Your gramps.ini file was probably upgraded automatically but you didn’t copy over your place_formats.xml file.
I suggest that you edit your gramps.ini file and set the “preferences.place-format” entry to 0.
Wow. I am impressed that someone found the custom places display controllable enough for use.
Perhap you could share how you been using it?
(With the variable depth place hierarchy, I was unable to get the results desired. But was waiting for the 5.x Place Enhancement before asking for change. I am hoping that it will allow assigning “scale/Levels” numbers to Administrative enclosures. So that it might 5 limit might always be at the “Nation/Country” level instead of on a sliding scales.)
That got rid of the error using the FlatPak package once I figured out
where the gramps.ini file was located. I will give the Debian package
another attempt later today, although I’m now curious as to where the
place-formats.xml file came from and where Gramps 6.0 looks for it. The
only place_formats.xml file I can find on my system is in .gramps.
Simple answer put the street first and number second the comma is then
logical and you get the benefit in the places view of having all the
streets in alphabetical order which highlights where you have more than
one house in the same street and can therefore group by street.
phil
In Preferences Data tab, you select if you use the Automatic Place format or not. you can also set what is to display in the place hierarchy.
Create a new place profile and as an option, select either Number Street or Street Number. As Gramps builds the place’s display name from the hierarchy, it will order the Number and the Street as selected. This only works when using the specific Type entries.
I have many custom place types. The two place types that are essential are Street and Number when wanting the comma removed and having them displayed as either “123 Main Street” or “Main Street 123”.