def Exception_Handler_Apply(): # Collect information info = {} info['log'] = Install_Log.get_full_log() info['user'] = OWS_Login.login_user info['comments'] = CTK.post['comments'] info['platform'] = SystemInfo.get_info() info['tmp!market!install'] = CTK.cfg['tmp!market!install'].serialize() # Send it xmlrpc = XmlRpcServer (OWS_APPS_INSTALL, user=OWS_Login.login_user, password=OWS_Login.login_password) install_info = xmlrpc.report_exception (info) return CTK.cfg_reply_ajax_ok()
def Exception_Handler_Apply(): # Collect information info = {} info['log'] = Install_Log.get_full_log() info['user'] = OWS_Login.login_user info['comments'] = CTK.post['comments'] info['platform'] = SystemInfo.get_info() info['cfg'] = CTK.cfg.serialize() info['tmp!market!install'] = CTK.cfg['tmp!market!install'].serialize() # Send it xmlrpc = XmlRpcServer(OWS_APPS_INSTALL, user=OWS_Login.login_user, password=OWS_Login.login_password) install_info = xmlrpc.report_exception(info) return CTK.cfg_reply_ajax_ok()