Kde-builder not working

Now I can’t run kde-builder at all! And I’m not sure what has changed…

After I run kde-builder workspace, I get:

Updating repo-metadata
	Fetching remote changes to sysadmin-repo-metadata
	Merging sysadmin-repo-metadata changes from branch master

Encountered an error in the execution of the script.
--> 'NoneType' object has no attribute 'keys'
Please submit a bug against kde-builder on https://invent.kde.org/sdk/kde-builder/-/issues

Traceback (most recent call last):
  File "/home/mjq/.local/bin/kde-builder", line 184, in <module>
    app = Application(sys.argv[1:])  # the 0 element is script name
  File "/home/mjq/.local/share/kde-builder/kde_builder_lib/application.py", line 94, in __init__
    work_load = self.generate_module_list(options)
  File "/home/mjq/.local/share/kde-builder/kde_builder_lib/application.py", line 278, in generate_module_list
    modules_and_sets_from_userconfig, overrides_from_userconfig = self._process_configs_content(ctx, ctx.rc_file, cmdline_global_options)
                                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mjq/.local/share/kde-builder/kde_builder_lib/application.py", line 945, in _process_configs_content
    for node in node_reader:
                ^^^^^^^^^^^
  File "/home/mjq/.local/share/kde-builder/kde_builder_lib/recursive_config_nodes_iterator.py", line 99, in __next__
    self.add_file_to_stack(new_config_content, filename, os.path.dirname(filename))
    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mjq/.local/share/kde-builder/kde_builder_lib/recursive_config_nodes_iterator.py", line 119, in add_file_to_stack
    self.current_keys_list = list(self.current_dictionary.keys())
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'keys'

Mysteriously, this has now resolved itself. The only thing I can think of was maybe a network issue at the time.

1 Like