Koji web fails after upgrading to Fedora 37:
File "/usr/share/koji-web/scripts/wsgi_publisher.py", line 387, in handle_request func, data = self.prep_handler(environ) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/koji-web/scripts/wsgi_publisher.py", line 260, in prep_handler args, varargs, varkw, defaults = inspect.getargspec(func) ^^^^^^^^^^^^^^^^^^ AttributeError: module 'inspect' has no attribute 'getargspec'
PR 3592
Metadata Update from @jcupova: - Custom field Size adjusted to None
Metadata Update from @tkopecek: - Issue set to the milestone: 1.31
Commit 79c41924 fixes this issue
Metadata Update from @jcupova: - Issue tagged with: testing-done, testing-ready
Thank you @jcupova and @tkopecek for such a quick fix.
I'm still seeing this with 1.31.0... which should have this fix. ;(
On the koji/api page:
An error has occurred while processing your request. xmlrpc.client.Fault: <Fault 1: 'Traceback (most recent call last):\n File "/usr/share/koji-hub/kojixmlrpc.py", line 266, in _wrap_handler\n response = handler(environ)\n ^^^^^^^^^^^^^^^^\n File "/usr/share/koji-hub/kojixmlrpc.py", line 293, in handle_rpc\n return self._dispatch(method, params)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/usr/share/koji-hub/kojixmlrpc.py", line 330, in _dispatch\n ret = koji.util.call_with_argcheck(func, params, opts)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/usr/lib/python3.11/site-packages/koji/util.py", line 271, in call_with_argcheck\n return func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File "/usr/share/koji-hub/kojixmlrpc.py", line 142, in list_api\n \'argdesc\': inspect.formatargspec(*argspec),\n ^^^^^^^^^^^^^^^^^^^^^\nAttributeError: module \'inspect\' has no attribute \'formatargspec\'\n'> Full tracebacks disabled
Metadata Update from @kevin: - Issue set to the milestone: None (was: 1.31)
@kevin PR related to this issue partly fixes this problem. Problem related to list_api -> also koji/api page because is uses _list_api call is fixed in https://pagure.io/koji/issue/3610 for 1.31.1
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/koji/issues/3591
Please continue any further discussion there.