You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{'ex_data': 'Traceback (most recent call last):\n File "/home/apps/.local/lib/python3.8/site-packages/bamboo_engine/engine.py", line 678, in execute\n execute_result = handler.execute(process_info, loop, inner_loop, version)\n File "/home/apps/.local/lib/python3.8/site-packages/bamboo_engine/handlers/service_activity.py", line 172, in execute\n service = self.runtime.get_service(code=self.node.code, version=self.node.version)\n File "/home/apps/.local/lib/python3.8/site-packages/pipeline/eri/imp/plugin_manager.py", line 37, in get_service\n comp_cls = ComponentLibrary.get_component_class(code, version)\n File "/home/apps/.local/lib/python3.8/site-packages/pipeline/component_framework/library.py", line 47, in get_component_class\n raise ComponentNotExistException("component %s does not exist." % component_code)\npipeline.exceptions.ComponentNotExistException: component wait_callback_comp does not exist.\n'}
没有
self.callback
这个属性, 应该是typo? 应该是callback?多次回调也是没有,
self.callback
这个属性,而且, else if 是个语法错误。另外就是回调不成功
无论返回true 或者false , 运行一次命令 , schedule 就结束了。
python manage.py run_component wait_callback_comp --settings=foo
日志:
另外我在Django shell 运行会报错
报错信息:
但数据库看到是有这个component的, 且上述使用run_component命令也是正常的
update
run_component 应该是在本地跑的, 在Django shell 跑的是在真正的worker 上跑, 我的worker 和 producer 不在同一个机器上, 因此需要重启worker 才会生效
The text was updated successfully, but these errors were encountered: