Skip to content

'General' settings not available after upgrade (blocks startup) #3000

@JFoederer

Description

@JFoederer

I just upgraded to RIDE 2.2.2.dev5 (Windows Python 3.13), which showed some faulty behaviour.

The upgrade was executed from the upgrade pop-up dialog on startup. The upgrade executed and RIDE started, but in this instance other pop-up windows did not seem to work. I did not get the pop-up asking to run all tests when none are sellected, and I could also not open the about window.

After closing RIDE it couldn't be started again:

Traceback (most recent call last):
  File "C:\Users\...\Python313\Lib\site-packages\robotide\application\application.py", line 151, in OnInit
    font_size = self.settings['General'].get('font size', 12)
                ~~~~~~~~~~~~~^^^^^^^^^^^
  File "C:\Users\...\Python313\Lib\site-packages\robotide\preferences\settings.py", line 257, in __getitem__
    value = self.config_obj[name]
            ~~~~~~~~~~~~~~~^^^^^^
  File "C:\Users\...\AppData\Local\Programs\Python\Python313\Lib\site-packages\robotide\preferences\configobj\src\configobj\__init__.py", line 549, in __getitem__
    val = dict.__getitem__(self, key)
KeyError: 'General'
OnInit returned false, exiting...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugMalfunctions that should be fixed to comply with the expected behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions