Error on macOS w/ python 3.12
kde-builder
Cloning sysadmin-repo-metadata
Encountered an error in the execution of the script.
--> Can't pickle local object 'Util.run_logged_p.<locals>.func'
Please submit a bug against kde-builder on https://invent.kde.org/sdk/kde-builder/-/issues
Traceback (most recent call last):
File "/Users/kurthindenburg/bin/kde-builder", line 59, in <module>
app = Application(sys.argv[1:]) # the 0 element is script name
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Volumes/Development/KDE/src/kde/kdesdk/kde-builder/ksblib/Application.py", line 72, in __init__
workLoad = self.generateModuleList(options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Volumes/Development/KDE/src/kde/kdesdk/kde-builder/ksblib/Application.py", line 253, in generateModuleList
self._downloadKDEProjectMetadata() # Uses test data automatically
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Volumes/Development/KDE/src/kde/kdesdk/kde-builder/ksblib/Application.py", line 462, in _downloadKDEProjectMetadata
raise err
File "/Volumes/Development/KDE/src/kde/kdesdk/kde-builder/ksblib/Application.py", line 451, in _downloadKDEProjectMetadata
metadataModule.scm().updateInternal()
File "/Volumes/Development/KDE/src/kde/kdesdk/kde-builder/ksblib/Updater/KDEProjectMetadata.py", line 82, in updateInternal
super().updateInternal(ipc)
File "/Volumes/Development/KDE/src/kde/kdesdk/kde-builder/ksblib/Updater/Git.py", line 59, in updateInternal
raise err
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/promise/promise.py", line 489, in _resolve_from_executor
executor(resolve, reject)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/promise/promise.py", line 756, in executor
return resolve(f(*args, **kwargs))
^^^^^^^^^^^^^^^^^^
File "/Volumes/Development/KDE/src/kde/kdesdk/kde-builder/ksblib/Util/Util.py", line 680, in subprocess_run
subproc.start()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/multiprocessing/process.py", line 121, in start
self._popen = self._Popen(self)
^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/multiprocessing/context.py", line 224, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/multiprocessing/context.py", line 289, in _Popen
return Popen(process_obj)
^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/multiprocessing/popen_spawn_posix.py", line 32, in __init__
super().__init__(process_obj)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/multiprocessing/popen_fork.py", line 19, in __init__
self._launch(process_obj)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/multiprocessing/popen_spawn_posix.py", line 47, in _launch
reduction.dump(process_obj, fp)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/multiprocessing/reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
AttributeError: Can't pickle local object 'Util.run_logged_p.<locals>.func'
Edited by Andrew Shark