Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[程序错误] module 'apps.es.main.run' has no attribute 'auto_monitor' #60

Open
lomehong opened this issue Aug 21, 2023 · 2 comments
Open

Comments

@lomehong
Copy link

我给es这个应用扩展了一个方法“auto_monitor”,本地测试都是没有问题的,但是打包上传使用总是报错:[程序错误] module 'apps.es.main.run' has no attribute 'auto_monitor'。
在run.py中增加了auto_monitor这个方法了的。
async def auto_monitor(host, port, index, unit, interval):
.......
image

@0-error
Copy link

0-error commented Feb 5, 2024

写自定义app上传的时候经常碰到这种问题,明明有对应的函数或者变量,就是报错,要删除,上传好几遍才行,也不知道为啥

@relieved541
Copy link

写自定义app上传的时候经常碰到这种问题,明明有对应的函数或者变量,就是报错,要删除,上传好几遍才行,也不知道为啥

意思是不用改json和run.py,也不用重新打包,反复上传-删除几次就可以吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants