I did a ‘no network’ edge case install of Gramps 6.0 and got a weird result.
Started with a fresh install of Windows 10 (with no internet connection and no pre-existing Gramps User Directory), copying the GrampsAIO-6.0.0–1_win64.exe from a USB thumbdrive, installing it from the desktop with the defaults and let Gramps launch automatically.
I created a new tree and loaded it.
Imported the example.gramps (clipboarding the path) and set the media path to the clipboarded path. Clicked through few objects in the Media category view to verify the thumbnails were loading.
Then clicked the Addons toolbar icon. And Gramps instantly exited. restarting Gramps, unlocking the tree and loading it showed.
82581: ERROR: dbloader.py: line 107: Input must be bytes, bytearray, memoryview, or str: line 1 column 1 (char 0)
Traceback (most recent call last):
File "C:\Program Files\GrampsAIO64-6.0.0\gramps\gui\dbloader.py", line 198, in read_file
db.load(
File "C:\Program Files\GrampsAIO64-6.0.0\gramps\gen\db\generic.py", line 749, in load
self.name_formats = self._get_metadata("name_formats")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\GrampsAIO64-6.0.0\gramps\plugins\db\dbapi\dbapi.py", line 398, in _get_metadata
return self.serializer.metadata_to_object(row[0])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\GrampsAIO64-6.0.0\gramps\gen\lib\serialize.py", line 157, in metadata_to_object
doc = string_to_dict(string)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\GrampsAIO64-6.0.0\gramps\gen\lib\json_utils.py", line 161, in string_to_dict
return orjson.loads(string)
^^^^^^^^^^^^^^^^^^^^
orjson.JSONDecodeError: Input must be bytes, bytearray, memoryview, or str: line 1 column 1 (char 0)
I think this was a case that is highly unlikely: no addons-en.json
exists and no internet connection exit that would allow it to be downloaded.