gpt4 book ai didi

ubuntu - odoo 14 上的未知路径 :/web/static/lib/moment/locale/en-us. js

转载 作者:行者123 更新时间:2023-12-04 19:26:49 25 4
gpt4 key购买 nike

在 Ubuntu 20.04 上安装 Odoo 14 之后,当我去访问 URL 时

localhost:8096


有一个白页,在日志上显示的错误是:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/werkzeug/serving.py", line 306, in run_wsgi
execute(self.server.app)
File "/usr/local/lib/python3.8/dist-packages/werkzeug/serving.py", line 294, in execute
application_iter = app(environ, start_response)
File "/opt/odoo/odoo/service/server.py", line 441, in app
return self.app(e, s)
File "/opt/odoo/odoo/service/wsgi_server.py", line 113, in application
return application_unproxied(environ, start_response)
File "/opt/odoo/odoo/service/wsgi_server.py", line 88, in application_unproxied
result = odoo.http.root(environ, start_response)
File "/opt/odoo/odoo/http.py", line 1306, in __call__
return self.dispatch(environ, start_response)
File "/opt/odoo/odoo/http.py", line 1272, in __call__
return self.app(environ, start_wrapped)
File "/usr/local/lib/python3.8/dist-packages/werkzeug/middleware/shared_data.py", line 220, in __call__
return self.app(environ, start_response)
File "/opt/odoo/odoo/http.py", line 1479, in dispatch
result = ir_http._dispatch()
File "/opt/odoo/addons/web_editor/models/ir_http.py", line 21, in _dispatch
return super(IrHttp, cls)._dispatch()
File "/opt/odoo/odoo/addons/base/models/ir_http.py", line 241, in _dispatch
return cls._handle_exception(e)
File "/opt/odoo/odoo/addons/base/models/ir_http.py", line 209, in _handle_exception
return request._handle_exception(exception)
File "/opt/odoo/odoo/http.py", line 745, in _handle_exception
return super(HttpRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo/http.py", line 316, in _handle_exception
raise exception.with_traceback(None) from new_cause
ValueError: Unknown path: /web/static/lib/moment/locale/en-us.js - -

PS:没有 web路径下的文件 /etc/odoo/odoo/addons请提供任何帮助。

最佳答案

发生错误是因为没有en-us.js文件。要解决这个问题,可以复制/web/static/lib/moment/locale/en-ca.js/web/static/lib/moment/locale/en-us.js . web文件夹位于 addons文件夹

关于ubuntu - odoo 14 上的未知路径 :/web/static/lib/moment/locale/en-us. js,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70038035/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com