XMLHTTPRequest states

 

今天就记录下XMlHttpRequest的状态码:

 

0:未发送

 

1:已打开(成功调用send()方法)

 

2:已收到(所有重定向已到达,并且响应头中最后的响应已经收到)

 

3:接收数据中(正在加载响应中的数据)

 

4:完成

RPC_ERROR Odoo Server Error Occured on localhost:8069 on model fetchmail.server and id 19 on 2025-08-21 08:01:34 GMT Traceback (most recent call last): File "D:\odoo18\odoo_18-master\odoo_18-master\odoo\addons\mail\models\fetchmail.py", line 232, in fetch_mail result, data = imap_server.search(None, '(UNSEEN)') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\python3.11\Lib\imaplib.py", line 734, in search typ, dat = self._simple_command(name, *criteria) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\python3.11\Lib\imaplib.py", line 1230, in _simple_command return self._command_complete(name, self._command(name, *args)) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\python3.11\Lib\imaplib.py", line 968, in _command raise self.error("command %s illegal in state %s, " imaplib.IMAP4.error: command SEARCH illegal in state AUTH, only allowed in states SELECTED The above exception was the direct cause of the following exception: Traceback (most recent call last): File "D:\odoo18\odoo_18-master\odoo_18-master\odoo\addons\mail\models\fetchmail.py", line 248, in fetch_mail raise ValidationError(_("Couldn't get your emails. Check out the error message below for more info:\n%s", e)) from e odoo.exceptions.ValidationError: 无法收到您的电子邮件。请查看下面的错误信息,了解更多信息: command SEARCH illegal in state AUTH, only allowed in states SELECTED During handling of the above exception, another exception occurred: Traceback (most recent call last): File "D:\odoo18\odoo_18-master\odoo_18-master\odoo\http.py", line 1954, in _transactioning return service_model.retrying(func, env=self.env) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\odoo18\odoo_18-master\odoo_18-master\odoo\service\model.py", line 137, in retrying result = func() ^^^^^^ File "D:\odoo18\odoo_18-master\odoo_18-master\odoo\http.py", line 1921, in _serve_ir_http response = self.dispatcher.dispatch(rule.endpoint, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\odoo18\odoo_18-master\odoo_18-master\odoo\http.py", line 2168, in dispatch result = self.request.registry['ir.http']._dispatch(endpoint) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\odoo18\odoo_18-master\odoo_18-master\odoo\addons\base\models\ir_http.py", line 330, in _dispatch result = endpoint(**request.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\odoo18\odoo_18-master\odoo_18-master\odoo\http.py", line 728, in route_wrapper result = endpoint(self, *args, **params_ok) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\odoo18\odoo_18-master\odoo_18-master\odoo\addons\web\controllers\dataset.py", line 40, in call_button action = call_kw(request.env[model], method, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\odoo18\odoo_18-master\odoo_18-master\odoo\api.py", line 517, in call_kw result = getattr(recs, name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\odoo18\odoo_18-master\odoo_18-master\odoo\addons\mail\models\fetchmail.py", line 254, in fetch_mail imap_server.close() File "D:\python3.11\Lib\imaplib.py", line 475, in close typ, dat = self._simple_command('CLOSE') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\python3.11\Lib\imaplib.py", line 1230, in _simple_command return self._command_complete(name, self._command(name, *args)) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\python3.11\Lib\imaplib.py", line 968, in _command raise self.error("command %s illegal in state %s, " imaplib.IMAP4.error: command CLOSE illegal in state AUTH, only allowed in states SELECTED The above server error caused the following client error: RPC_ERROR: Odoo Server Error RPC_ERROR at makeErrorFromResponse (http://localhost:8069/web/assets/4a61b22/web.assets_web_dark.min.js:3056:163) at XMLHttpRequest.<anonymous> (http://localhost:8069/web/assets/4a61b22/web.assets_web_dark.min.js:3061:13)
08-22
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值