zaghost
zaghost
我也是这个问题 virtualenv --system-site-packages venv
计划任务修改后保存,请求/sched/cron/返回错误500 ``` File "/home/appuser/PycharmProjects/OpsManageV3/dao/crontab.py" in rsync_cron 244. result = ANS.handle_model_data(ANS.get_model_result(), 'cron',module_args) File "/home/appuser/PycharmProjects/OpsManageV3/utils/ansible/runner.py" in handle_model_data 316. data['msg'] = y.get('stdout').replace('\t\t','').replace('\r\n','').replace('\t','').replace('\n','') Exception Type: AttributeError at /sched/cron/ Exception Value: 'NoneType' object has no...
 \static\js\sched\cron.js 
数据库列表行点放大镜没反应 请求地址/api/db/org/1/,返回500 错误信息: ``` File "/home/appuser/PycharmProjects/OpsManageV3/api/views/db_api.py" in db_org 165. MYSQL = MySQLPool(host=dbServer.db_assets.server_assets.ip,port=dbServer.db_port,user=dbServer.db_user,passwd=dbServer.db_passwd,dbName=dbServer.db_name) Exception Type: TypeError at /api/db/org/1/ Exception Value: __init__() got an unexpected keyword argument 'host' ``` dao.base.MySQLPool的__init__()中没有host这个参数,应该是dbServer
After debug, I found if there are file with messy code filename in user's home directory in host machine, then the page [host] -> [New Instance] will show a Error...
check the webvirtcloud server and ensure port 6080 is listening