Traceback (most recent call last):


 "/home/maybe/tmp/capp/venv/lib64/python3.8/site-packages/celery/app/trace.py", line 409, in trace_task

R = retval = fun(*args, **kwargs)


 "/home/maybe/tmp/capp/venv/lib64/python3.8/site-packages/celery/app/trace.py", line 701, in __protected_call__

return self.run(*args, **kwargs)


 "/home/maybe/tmp/capp/app.py", line 13, in replace_with

raise self.replace(sig)


 "/home/maybe/tmp/capp/venv/lib64/python3.8/site-packages/celery/app/task.py", line 894, in replace

sig.freeze(self.request.id)


 "/home/maybe/tmp/capp/venv/lib64/python3.8/site-packages/celery/canvas.py", line 1302, in freeze

self.tasks = group(self.tasks, app=self.app)


 "/home/maybe/tmp/capp/venv/lib64/python3.8/site-packages/kombu/utils/objects.py", line 43, in __get__

value = obj.__dict__[self.__name__] = self.__get(obj)


 "/home/maybe/tmp/capp/venv/lib64/python3.8/site-packages/celery/canvas.py", line 1456, in app

return self._get_app(self.body)


 "/home/maybe/tmp/capp/venv/lib64/python3.8/site-packages/celery/canvas.py", line 1466, in _get_app

app = tasks[0]._app
AttributeError: 'dict' object has no attribute '_app'

Traceback (most recent call last):


 "./test-sh.py", line 9, in <module>

MyClass()


 "./test-sh.py", line 7, in __init__

self.git = sh(_tty_out=False).git


 "/usr/lib/python3/dist-packages/sh.py", line 3369, in __call__

module_name = parsed.body[0].targets[0].id
AttributeError: 'Attribute' object has no attribute 'id'
