prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  "Accounts" tab in settings is blank
  ![image](https://github.com/lutris/lutris/assets/1454420/ad64e7a6-b8e2-4080-b031-da99b643279c)
  
  When navigating to the "accounts" tab in the lutris settings (version 0.5.15), it is blank and I get this error. This is on Fedora 39 KDE.
  
  ```
  2024-01-14 08:52:03,865: Error handling signal 'row-selected': 'PersonalName'
  Traceback (most recent call last):
    File "/usr/lib/python3.12/site-packages/lutris/exception_backstops.py", line 79, in error_wrapper
      return handler(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3.12/site-packages/lutris/gui/config/preferences_dialog.py", line 109, in on_sidebar_activated
      generator()
    File "/usr/lib/python3.12/site-packages/lutris/gui/config/accounts_box.py", line 33, in populate_accounts
      account["PersonalName"]
      ~~~~~~~^^^^^^^^^^^^^^^^
  KeyError: 'PersonalName'
  ```
  
  My only guess is that my steam display name has a " / " in it. But I'm not sure.
  
  I have both Steam RPM and Steam flatpak installed.
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `lutris/gui/config/accounts_box.py`
  Content:
  ```
  1 from gettext import gettext as _
  2 
  3 from gi.repository import Gtk
  4 
  5 from lutris import settings
  6 from lutris.gui.config.base_config_box import BaseConfigBox
  7 from lutris.util.steam.config import STEAM_ACCOUNT_SETTING, get_steam_users
  8 
  9 
  10 class AccountsBox(BaseConfigBox):
  11 
  12     def __init__(self):
  13         super().__init__()
  14         self.add(self.get_section_label(_("Steam accounts")))
  15         self.add(self.get_description_label(
  16             _("Select which Steam account is used for Lutris integration and creating Steam shortcuts.")
  17         ))
  18         frame = Gtk.Frame(visible=True, shadow_type=Gtk.ShadowType.ETCHED_IN)
  19         frame.get_style_context().add_class("info-frame")
  20         self.pack_start(frame, False, False, 0)
  21 
  22         self.accounts_box = Gtk.VBox(visible=True)
  23         frame.add(self.accounts_box)
  24 
  25     def populate_accounts(self):
  26         main_radio_button = None
  27         active_steam_account = settings.read_setting(STEAM_ACCOUNT_SETTING)
  28 
  29         steam_users = get_steam_users()
  30         for account in steam_users:
  31             steamid64 = account["steamid64"]
  32             name = account.get("PersonalName") or f"#{steamid64}"
  33             radio_button = Gtk.RadioButton.new_with_label_from_widget(main_radio_button, name)
  34             radio_button.set_margin_top(16)
  35             radio_button.set_margin_start(16)
  36             radio_button.set_margin_bottom(16)
  37             radio_button.show()
  38             radio_button.set_active(active_steam_account == steamid64)
  39             radio_button.connect("toggled", self.on_steam_account_toggled, steamid64)
  40             self.accounts_box.pack_start(radio_button, True, True, 0)
  41             if not main_radio_button:
  42                 main_radio_button = radio_button
  43         if not steam_users:
  44             self.accounts_box.pack_start(Gtk.Label(_("No Steam account found"), visible=True), True, True, 0)
  45 
  46     def on_steam_account_toggled(self, radio_button, steamid64):
  47         """Handler for switching the active Steam account."""
  48         settings.write_setting(STEAM_ACCOUNT_SETTING, steamid64)
  49
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/lutris/gui/config/accounts_box.py b/lutris/gui/config/accounts_box.py
  --- a/lutris/gui/config/accounts_box.py
  +++ b/lutris/gui/config/accounts_box.py
  @@ -29,7 +29,7 @@
           steam_users = get_steam_users()
           for account in steam_users:
               steamid64 = account["steamid64"]
  -            name = account.get("PersonalName") or f"#{steamid64}"
  +            name = account.get("PersonaName") or f"#{steamid64}"
               radio_button = Gtk.RadioButton.new_with_label_from_widget(main_radio_button, name)
               radio_button.set_margin_top(16)
               radio_button.set_margin_start(16)
  
verification_info: {"golden_diff": "diff --git a/lutris/gui/config/accounts_box.py b/lutris/gui/config/accounts_box.py\n--- a/lutris/gui/config/accounts_box.py\n+++ b/lutris/gui/config/accounts_box.py\n@@ -29,7 +29,7 @@\n         steam_users = get_steam_users()\n         for account in steam_users:\n             steamid64 = account[\"steamid64\"]\n-            name = account.get(\"PersonalName\") or f\"#{steamid64}\"\n+            name = account.get(\"PersonaName\") or f\"#{steamid64}\"\n             radio_button = Gtk.RadioButton.new_with_label_from_widget(main_radio_button, name)\n             radio_button.set_margin_top(16)\n             radio_button.set_margin_start(16)\n", "issue": "\"Accounts\" tab in settings is blank\n![image](https://github.com/lutris/lutris/assets/1454420/ad64e7a6-b8e2-4080-b031-da99b643279c)\r\n\r\nWhen navigating to the \"accounts\" tab in the lutris settings (version 0.5.15), it is blank and I get this error. This is on Fedora 39 KDE.\r\n\r\n```\r\n2024-01-14 08:52:03,865: Error handling signal 'row-selected': 'PersonalName'\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python3.12/site-packages/lutris/exception_backstops.py\", line 79, in error_wrapper\r\n    return handler(*args, **kwargs)\r\n           ^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/usr/lib/python3.12/site-packages/lutris/gui/config/preferences_dialog.py\", line 109, in on_sidebar_activated\r\n    generator()\r\n  File \"/usr/lib/python3.12/site-packages/lutris/gui/config/accounts_box.py\", line 33, in populate_accounts\r\n    account[\"PersonalName\"]\r\n    ~~~~~~~^^^^^^^^^^^^^^^^\r\nKeyError: 'PersonalName'\r\n```\r\n\r\nMy only guess is that my steam display name has a \" / \" in it. But I'm not sure.\r\n\r\nI have both Steam RPM and Steam flatpak installed.\n", "before_files": [{"content": "from gettext import gettext as _\n\nfrom gi.repository import Gtk\n\nfrom lutris import settings\nfrom lutris.gui.config.base_config_box import BaseConfigBox\nfrom lutris.util.steam.config import STEAM_ACCOUNT_SETTING, get_steam_users\n\n\nclass AccountsBox(BaseConfigBox):\n\n    def __init__(self):\n        super().__init__()\n        self.add(self.get_section_label(_(\"Steam accounts\")))\n        self.add(self.get_description_label(\n            _(\"Select which Steam account is used for Lutris integration and creating Steam shortcuts.\")\n        ))\n        frame = Gtk.Frame(visible=True, shadow_type=Gtk.ShadowType.ETCHED_IN)\n        frame.get_style_context().add_class(\"info-frame\")\n        self.pack_start(frame, False, False, 0)\n\n        self.accounts_box = Gtk.VBox(visible=True)\n        frame.add(self.accounts_box)\n\n    def populate_accounts(self):\n        main_radio_button = None\n        active_steam_account = settings.read_setting(STEAM_ACCOUNT_SETTING)\n\n        steam_users = get_steam_users()\n        for account in steam_users:\n            steamid64 = account[\"steamid64\"]\n            name = account.get(\"PersonalName\") or f\"#{steamid64}\"\n            radio_button = Gtk.RadioButton.new_with_label_from_widget(main_radio_button, name)\n            radio_button.set_margin_top(16)\n            radio_button.set_margin_start(16)\n            radio_button.set_margin_bottom(16)\n            radio_button.show()\n            radio_button.set_active(active_steam_account == steamid64)\n            radio_button.connect(\"toggled\", self.on_steam_account_toggled, steamid64)\n            self.accounts_box.pack_start(radio_button, True, True, 0)\n            if not main_radio_button:\n                main_radio_button = radio_button\n        if not steam_users:\n            self.accounts_box.pack_start(Gtk.Label(_(\"No Steam account found\"), visible=True), True, True, 0)\n\n    def on_steam_account_toggled(self, radio_button, steamid64):\n        \"\"\"Handler for switching the active Steam account.\"\"\"\n        settings.write_setting(STEAM_ACCOUNT_SETTING, steamid64)\n", "path": "lutris/gui/config/accounts_box.py"}], "after_files": [{"content": "from gettext import gettext as _\n\nfrom gi.repository import Gtk\n\nfrom lutris import settings\nfrom lutris.gui.config.base_config_box import BaseConfigBox\nfrom lutris.util.steam.config import STEAM_ACCOUNT_SETTING, get_steam_users\n\n\nclass AccountsBox(BaseConfigBox):\n\n    def __init__(self):\n        super().__init__()\n        self.add(self.get_section_label(_(\"Steam accounts\")))\n        self.add(self.get_description_label(\n            _(\"Select which Steam account is used for Lutris integration and creating Steam shortcuts.\")\n        ))\n        frame = Gtk.Frame(visible=True, shadow_type=Gtk.ShadowType.ETCHED_IN)\n        frame.get_style_context().add_class(\"info-frame\")\n        self.pack_start(frame, False, False, 0)\n\n        self.accounts_box = Gtk.VBox(visible=True)\n        frame.add(self.accounts_box)\n\n    def populate_accounts(self):\n        main_radio_button = None\n        active_steam_account = settings.read_setting(STEAM_ACCOUNT_SETTING)\n\n        steam_users = get_steam_users()\n        for account in steam_users:\n            steamid64 = account[\"steamid64\"]\n            name = account.get(\"PersonaName\") or f\"#{steamid64}\"\n            radio_button = Gtk.RadioButton.new_with_label_from_widget(main_radio_button, name)\n            radio_button.set_margin_top(16)\n            radio_button.set_margin_start(16)\n            radio_button.set_margin_bottom(16)\n            radio_button.show()\n            radio_button.set_active(active_steam_account == steamid64)\n            radio_button.connect(\"toggled\", self.on_steam_account_toggled, steamid64)\n            self.accounts_box.pack_start(radio_button, True, True, 0)\n            if not main_radio_button:\n                main_radio_button = radio_button\n        if not steam_users:\n            self.accounts_box.pack_start(Gtk.Label(_(\"No Steam account found\"), visible=True), True, True, 0)\n\n    def on_steam_account_toggled(self, radio_button, steamid64):\n        \"\"\"Handler for switching the active Steam account.\"\"\"\n        settings.write_setting(STEAM_ACCOUNT_SETTING, steamid64)\n", "path": "lutris/gui/config/accounts_box.py"}]}