Task #1855 - error.log
back to task #1855download
ERROR: <Fault 1: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/kobo/django/xmlrpc/dispatcher.py", line 91, in _marshaled_dispatch response = self._dispatch(method, params) File "/usr/lib64/python3.9/xmlrpc/server.py", line 411, in _dispatch return func(*params) File "/usr/lib/python3.9/site-packages/kobo/hub/decorators.py", line 22, in _new_func return func(request, *args, **kwargs) File "/usr/lib/python3.9/site-packages/osh/hub/osh_xmlrpc/worker.py", line 110, in finish_task import os.path.join ModuleNotFoundError: No module named 'os.path.join'; 'os.path' is not a package Frame finish_task in /usr/lib/python3.9/site-packages/osh/hub/osh_xmlrpc/worker.py at line 110 <CODE> 103 base_task = task.subtasks()[0] 104 exclude_dirs = AppSettings.settings_get_results_tb_exclude_dirs() 105 td = TaskResultsProcessor(task, base_task, exclude_dirs) 106 td.unpack_results() 107 108 if settings.ENABLE_FEDORA_MESSAGING: 109 import django.urls --> 110 import os.path.join 111 112 scan_results_js_url = django.urls.reverse("task/log", args = [task_id, 113 os.path.join(task.args['result_filename'], 114 "scan-results.js?format=raw")]) 115 116 msg = message.Message(topic=u'task.finish', headers={u'task_id': task_id}, </CODE> <LOCALS> base_task = None django = <module 'django' from '/usr/lib/python3.9/site-packages/django/__init__.py'> exclude_dirs = ['*cov', '*debug'] request = <WSGIRequest: POST '/xmlrpc/worker/'> task = <Task: #1855 [method: MockBuild, state: OPEN, worker: ec2-35-161-15-225.us-west-2.compute.amazonaws.com]> task_id = 1855 td = <osh.hub.waiving.results_loader.TaskResultsProcessor object at 0x7fed445cbe20> </LOCALS> Frame _new_func in /usr/lib/python3.9/site-packages/kobo/hub/decorators.py at line 22 <CODE> 15 raise PermissionDenied("Login required.") 16 17 if getattr(request, 'worker', None) is None: 18 raise SuspiciousOperation("User doesn't match any worker: %s" % request.user.username) 19 20 request.worker.update_last_seen() 21 --> 22 return func(request, *args, **kwargs) 23 24 _new_func.__name__ = func.__name__ 25 _new_func.__doc__ = func.__doc__ 26 _new_func.__dict__.update(func.__dict__) 27 return _new_func </CODE> <LOCALS> args = 1855 func = <function finish_task at 0x7fed462b24c0> kwargs = {} request = <WSGIRequest: POST '/xmlrpc/worker/'> </LOCALS> Frame _dispatch in /usr/lib64/python3.9/xmlrpc/server.py at line 411 <CODE> 404 try: 405 # call the matching registered function 406 func = self.funcs[method] 407 except KeyError: 408 pass 409 else: 410 if func is not None: --> 411 return func(*params) 412 raise Exception('method "%s" is not supported' % method) 413 414 if self.instance is not None: 415 if hasattr(self.instance, '_dispatch'): 416 # call the `_dispatch` method on the instance 417 return self.instance._dispatch(method, params) </CODE> <LOCALS> func = <function validate_worker.<locals>._new_func at 0x7fed462b2550> method = 'worker.finish_task' params = <ERROR WHILE CONVERTING VALUE TO STRING> self = <kobo.django.xmlrpc.dispatcher.DjangoXMLRPCDispatcher object at 0x7fed46f19460> self.allow_none = True self.encoding = None self.funcs = {'system.multicall': <bound method DjangoXMLRPCDispatcher.system_multicall of <kobo.django.xmlrpc.dispatcher.DjangoXMLRPCDispatcher object at 0x7fed46f19460>>, 'auth.renew_session': <function renew_se self.instance = None self.use_builtin_types = False </LOCALS> Frame _marshaled_dispatch in /usr/lib/python3.9/site-packages/kobo/django/xmlrpc/dispatcher.py at line 91 <CODE> 84 params = (request, ) + params 85 86 # generate response 87 try: 88 if dispatch_method is not None: 89 response = dispatch_method(method, params) 90 else: --> 91 response = self._dispatch(method, params) 92 # wrap response in a singleton tuple 93 response = (response,) 94 response = xmlrpclib.dumps(response, methodresponse=1, allow_none=self.allow_none, encoding=self.encoding) 95 96 except xmlrpclib.Fault as fault: 97 response = xmlrpclib.dumps(fault, allow_none=self.allow_none, encoding=self.encoding) </CODE> <LOCALS> Traceback = <class 'kobo.tback.Traceback'> data = b"<?xml version='1.0'?>\n<methodCall>\n<methodName>worker.finish_task</methodName>\n<params>\n<param>\n<value><int>1855</int></value>\n</param>\n</params>\n</methodCall>\n" dispatch_method = None method = 'worker.finish_task' params = <ERROR WHILE CONVERTING VALUE TO STRING> request = <WSGIRequest: POST '/xmlrpc/worker/'> self = <kobo.django.xmlrpc.dispatcher.DjangoXMLRPCDispatcher object at 0x7fed46f19460> self.allow_none = True self.encoding = None self.funcs = {'system.multicall': <bound method DjangoXMLRPCDispatcher.system_multicall of <kobo.django.xmlrpc.dispatcher.DjangoXMLRPCDispatcher object at 0x7fed46f19460>>, 'auth.renew_session': <function renew_se self.instance = None self.use_builtin_types = False </LOCALS>> See traceback.log for details (admin only).