I was configuring administrator access and languages (Spanish for Ecuador) and suddenly stopped working
2021-12-11 04:17:38,615 2390 INFO ? odoo: Using configuration file at /home/hp-server/.odoorc
2021-12-11 04:17:38,615 2390 INFO ? odoo: addons paths: ['/opt/odoo/odoo/addons', '/home/hp-server/.local/share/Odoo/addons/15.0', '/opt/odoo/addons']
2021-12-11 04:17:38,615 2390 INFO ? odoo: database: default@default:default
2021-12-11 04:17:41,670 2390 INFO ? odoo\\.addons\\.base\\.models\\.ir_actions_report:\\ You\\ need\\ Wkhtmltopdf\\ to\\ print\\ a\\ pdf\\ version\\ of\\ the\\ reports\\.\\
2021\\-12\\-11\\ 04:17:44,070\\ 2390\\ INFO\\ \\?\\ odoo\\.service\\.server:\\ HTTP\\ service\\ \\(werkzeug\\)\\ running\\ on\\ hpserver\\-ProLiant\\-MicroServer\\-Gen8:8069\\
2021\\-12\\-11\\ 04:17:44,868\\ 2390\\ INFO\\ mydb\\ odoo\\.modules\\.loading:\\ loading\\ 1\\ modules\\.\\.\\.\\
2021\\-12\\-11\\ 04:17:44,884\\ 2390\\ INFO\\ mydb\\ odoo\\.modules\\.loading:\\ 1\\ modules\\ loaded\\ in\\ 0\\.02s,\\ 0\\ queries\\ \\(\\+0\\ extra\\)\\
2021\\-12\\-11\\ 04:17:45,593\\ 2390\\ INFO\\ mydb\\ odoo\\.modules\\.loading:\\ loading\\ 39\\ modules\\.\\.\\.\\
2021\\-12\\-11\\ 04:17:45,646\\ 2390\\ WARNING\\ mydb\\ odoo\\.addons\\.attachment_indexation\\.models\\.ir_attachment:\\ Attachment\\ indexation\\ of\\ PDF\\ documents\\ is\\ unavailable\\ because\\ the\\ 'pdfminer'\\ Python\\ library\\ cannot\\ be\\ found\\ on\\ the\\ system\\.\\ You\\ may\\ install\\ it\\ from\\ https://pypi\\.org/project/pdfminer\\.six/\\ \\(e\\.g\\.\\ `pip3\\ install\\ pdfminer\\.six`\\)\\
2021\\-12\\-11\\ 04:17:54,404\\ 2390\\ INFO\\ mydb\\ odoo\\.modules\\.loading:\\ 39\\ modules\\ loaded\\ in\\ 8\\.81s,\\ 0\\ queries\\ \\(\\+0\\ extra\\)\\
2021\\-12\\-11\\ 04:17:55,687\\ 2390\\ INFO\\ mydb\\ odoo\\.modules\\.loading:\\ Modules\\ loaded\\.\\
2021\\-12\\-11\\ 04:17:55,979\\ 2390\\ INFO\\ mydb\\ odoo\\.modules\\.registry:\\ Registry\\ loaded\\ in\\ 11\\.909s\\
2021\\-12\\-11\\ 04:18:51,889\\ 2390\\ INFO\\ \\?\\ odoo\\.http:\\ HTTP\\ Configuring\\ static\\ files\\
2021\\-12\\-11\\ 04:18:51,909\\ 2390\\ INFO\\ mydb\\ odoo\\.addons\\.base\\.models\\.ir_http:\\ Generating\\ routing\\ map\\ for\\ key\\ None\\
2021\\-12\\-11\\ 04:18:52,171\\ 2390\\ INFO\\ mydb\\ werkzeug:\\ 127\\.0\\.0\\.1\\ \\-\\ \\-\\ \\[11/Dec/2021\\ 04:18:52\\]\\ "GET\\ /web\\ HTTP/1\\.1"\\ 303\\ \\-\\ 1\\ 0\\.000\\ 0\\.280
2021\\-12\\-11\\ 04:18:53,658\\ 2390\\ INFO\\ mydb\\ werkzeug:\\ 127\\.0\\.0\\.1\\ \\-\\ \\-\\ \\[11/Dec/2021\\ 04:18:53\\]\\ "GET\\ /web/login\\ HTTP/1\\.1"\\ 500\\ \\-\\ 34\\ 1\\.076\\ 0\\.347
2021\\-12\\-11\\ 04:18:54,299\\ 2390\\ ERROR\\ mydb\\ werkzeug:\\ Error\\ on\\ request:
Traceback\\ \\(most\\ recent\\ call\\ last\\):
\\ \\ File\\ "/opt/odoo/odoo/addons/base/models/qweb\\.py",\\ line\\ 219,\\ in\\ render_template
\\ \\ \\ \\ yield\\ from\\ compiled_fn\\(self,\\ values,\\ log\\)
\\ \\ File\\ "",\\ line\\ 75,\\ in\\ template_649
\\ \\ \\ \\
KeyError:\\ 'website'
The\\ above\\ exception\\ was\\ the\\ direct\\ cause\\ of\\ the\\ following\\ exception:
Traceback\\ \\(most\\ recent\\ call\\ last\\):
\\ \\ File\\ "/opt/odoo/odoo/addons/base/models/ir_http\\.py",\\ line\\ 237,\\ in\\ _dispatch
\\ \\ \\ \\ result\\ =\\ request\\.dispatch\\(\\)
\\ \\ File\\ "/opt/odoo/odoo/http\\.py",\\ line\\ 810,\\ in\\ dispatch
\\ \\ \\ \\ r\\ =\\ self\\._call_function\\(\\*\\*self\\.params\\)
\\ \\ File\\ "/opt/odoo/odoo/http\\.py",\\ line\\ 359,\\ in\\ _call_function
\\ \\ \\ \\ return\\ checked_call\\(self\\.db,\\ \\*args,\\ \\*\\*kwargs\\)
\\ \\ File\\ "/opt/odoo/odoo/service/model\\.py",\\ line\\ 94,\\ in\\ wrapper
\\ \\ \\ \\ return\\ f\\(dbname,\\ \\*args,\\ \\*\\*kwargs\\)
\\ \\ File\\ "/opt/odoo/odoo/http\\.py",\\ line\\ 351,\\ in\\ checked_call
\\ \\ \\ \\ result\\.flatten\\(\\)
\\ \\ File\\ "/opt/odoo/odoo/http\\.py",\\ line\\ 1254,\\ in\\ flatten
\\ \\ \\ \\ self\\.response\\.append\\(self\\.render\\(\\)\\)
\\ \\ File\\ "/opt/odoo/odoo/http\\.py",\\ line\\ 1247,\\ in\\ render
\\ \\ \\ \\ return\\ env\\["ir\\.ui\\.view"\\]\\._render_template\\(self\\.template,\\ self\\.qcontext\\)
\\ \\ File\\ "/opt/odoo/odoo/addons/base/models/ir_ui_view\\.py",\\ line\\ 1976,\\ in\\ _render_template
\\ \\ \\ \\ return\\ self\\.browse\\(self\\.get_view_id\\(template\\)\\)\\._render\\(values,\\ engine\\)
\\ \\ File\\ "/opt/odoo/addons/web_editor/models/ir_ui_view\\.py",\\ line\\ 29,\\ in\\ _render
\\ \\ \\ \\ return\\ super\\(IrUiView,\\ self\\)\\._render\\(values=values,\\ engine=engine,\\ minimal_qcontext=minimal_qcontext\\)
\\ \\ File\\ "/opt/odoo/odoo/addons/base/models/ir_ui_view\\.py",\\ line\\ 1984,\\ in\\ _render
\\ \\ \\ \\ return\\ self\\.env\\[engine\\]\\._render\\(self\\.id,\\ qcontext\\)
\\ \\ File\\ "/opt/odoo/odoo/tools/profiler\\.py",\\ line\\ 289,\\ in\\ _tracked_method_render
\\ \\ \\ \\ return\\ method_render\\(self,\\ template,\\ values,\\ \\*\\*options\\)
\\ \\ File\\ "/opt/odoo/odoo/addons/base/models/ir_qweb\\.py",\\ line\\ 74,\\ in\\ _render
\\ \\ \\ \\ result\\ =\\ super\\(\\)\\._render\\(template,\\ values=values,\\ \\*\\*compile_options\\)
\\ \\ File\\ "/opt/odoo/odoo/addons/base/models/qweb\\.py",\\ line\\ 134,\\ in\\ _render
\\ \\ \\ \\ result\\ =\\ ''\\.join\\(rendering\\)
\\ \\ File\\ "/opt/odoo/odoo/addons/base/models/qweb\\.py",\\ line\\ 221,\\ in\\ render_template
\\ \\ \\ \\ raise\\ e
\\ \\ File\\ "/opt/odoo/odoo/addons/base/models/qweb\\.py",\\ line\\ 219,\\ in\\ render_template
\\ \\ \\ \\ yield\\ from\\ compiled_fn\\(self,\\ values,\\ log\\)
\\ \\ File\\ "",\\ line\\ 171,\\ in\\ template_190
\\ \\ \\ \\
\\ \\ File\\ "/opt/odoo/odoo/addons/base/models/qweb\\.py",\\ line\\ 221,\\ in\\ render_template
\\ \\ \\ \\ raise\\ e
\\ \\ File\\ "/opt/odoo/odoo/addons/base/models/qweb\\.py",\\ line\\ 219,\\ in\\ render_template
\\ \\ \\ \\ yield\\ from\\ compiled_fn\\(self,\\ values,\\ log\\)
\\ \\ File\\ "",\\ line\\ 29,\\ in\\ template_189
\\ \\ \\ \\
\\ \\ File\\ "/opt/odoo/odoo/addons/base/models/qweb\\.py",\\ line\\ 223,\\ in\\ render_template
\\ \\ \\ \\ raise\\ QWebException\\("Error\\ when\\ render\\ the\\ template",\\ self,\\ options,
Exception
The\\ above\\ exception\\ was\\ the\\ direct\\ cause\\ of\\ the\\ following\\ exception:
Traceback\\ \\(most\\ recent\\ call\\ last\\):
\\ \\ File\\ "/usr/lib/python3/dist\\-packages/werkzeug/serving\\.py",\\ line\\ 306,\\ in\\ run_wsgi
\\ \\ \\ \\ execute\\(self\\.server\\.app\\)
\\ \\ File\\ "/usr/lib/python3/dist\\-packages/werkzeug/serving\\.py",\\ line\\ 294,\\ in\\ execute
\\ \\ \\ \\ application_iter\\ =\\ app\\(environ,\\ start_response\\)
\\ \\ File\\ "/opt/odoo/odoo/service/server\\.py",\\ line\\ 476,\\ in\\ app
\\ \\ \\ \\ return\\ self\\.app\\(e,\\ s\\)
\\ \\ File\\ "/opt/odoo/odoo/service/wsgi_server\\.py",\\ line\\ 112,\\ in\\ application
\\ \\ \\ \\ return\\ application_unproxied\\(environ,\\ start_response\\)
\\ \\ File\\ "/opt/odoo/odoo/service/wsgi_server\\.py",\\ line\\ 87,\\ in\\ application_unproxied
\\ \\ \\ \\ result\\ =\\ odoo\\.http\\.root\\(environ,\\ start_response\\)
\\ \\ File\\ "/opt/odoo/odoo/http\\.py",\\ line\\ 1313,\\ in\\ __call__
\\ \\ \\ \\ return\\ self\\.dispatch\\(environ,\\ start_response\\)
\\ \\ File\\ "/opt/odoo/odoo/http\\.py",\\ line\\ 1279,\\ in\\ __call__
\\ \\ \\ \\ return\\ self\\.app\\(environ,\\ start_wrapped\\)
\\ \\ File\\ "/usr/lib/python3/dist\\-packages/werkzeug/middleware/shared_data\\.py",\\ line\\ 220,\\ in\\ __call__
\\ \\ \\ \\ return\\ self\\.app\\(environ,\\ start_response\\)
\\ \\ File\\ "/opt/odoo/odoo/http\\.py",\\ line\\ 1489,\\ in\\ dispatch
\\ \\ \\ \\ result\\ =\\ ir_http\\._dispatch\\(\\)
\\ \\ File\\ "/opt/odoo/addons/auth_signup/models/ir_http\\.py",\\ line\\ 19,\\ in\\ _dispatch
\\ \\ \\ \\ return\\ super\\(Http,\\ cls\\)\\._dispatch\\(\\)
\\ \\ File\\ "/opt/odoo/addons/web_editor/models/ir_http\\.py",\\ line\\ 21,\\ in\\ _dispatch
\\ \\ \\ \\ return\\ super\\(IrHttp,\\ cls\\)\\._dispatch\\(\\)
\\ \\ File\\ "/opt/odoo/addons/utm/models/ir_http\\.py",\\ line\\ 29,\\ in\\ _dispatch
\\ \\ \\ \\ response\\ =\\ super\\(IrHttp,\\ cls\\)\\._dispatch\\(\\)
\\ \\ File\\ "/opt/odoo/addons/http_routing/models/ir_http\\.py",\\ line\\ 516,\\ in\\ _dispatch
\\ \\ \\ \\ result\\ =\\ 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/addons/utm/models/ir_http\\.py",\\ line\\ 34,\\ in\\ _handle_exception
\\ \\ \\ \\ response\\ =\\ super\\(IrHttp,\\ cls\\)\\._handle_exception\\(exc\\)
\\ \\ File\\ "/opt/odoo/addons/http_routing/models/ir_http\\.py",\\ line\\ 612,\\ in\\ _handle_exception
\\ \\ \\ \\ return\\ super\\(IrHttp,\\ cls\\)\\._handle_exception\\(exception\\)
\\ \\ 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\\ 748,\\ in\\ _handle_exception
\\ \\ \\ \\ return\\ super\\(HttpRequest,\\ self\\)\\._handle_exception\\(exception\\)
\\ \\ File\\ "/opt/odoo/odoo/http\\.py",\\ line\\ 301,\\ in\\ _handle_exception
\\ \\ \\ \\ raise\\ exception\\.with_traceback\\(None\\)\\ from\\ new_cause
odoo\\.addons\\.base\\.models\\.qweb\\.QWebException:\\ 'website'
Traceback\\ \\(most\\ recent\\ call\\ last\\):
\\ \\ File\\ "/opt/odoo/odoo/addons/base/models/qweb\\.py",\\ line\\ 219,\\ in\\ render_template
\\ \\ \\ \\ yield\\ from\\ compiled_fn\\(self,\\ values,\\ log\\)
\\ \\ File\\ "",\\ line\\ 75,\\ in\\ template_649
KeyError:\\ 'website'
Error\\ when\\ render\\ the\\ template
KeyError:\\ 'website'
Template:\\ website\\.layout
Path:\\ /t/html/t\\[2\\]
Node:\\ \\ \\-\\ \\-\\ \\-
2021\\-12\\-11\\ 04:18:56,457\\ 2390\\ INFO\\ mydb\\ odoo\\.addons\\.base\\.models\\.ir_cron:\\ Starting\\ job\\ `Mail:\\ Fetchmail\\ Service`\\.\\
2021\\-12\\-11\\ 04:18:56,640\\ 2390\\ INFO\\ mydb\\ odoo\\.addons\\.fetchmail\\.models\\.fetchmail:\\ start\\ checking\\ for\\ new\\ emails\\ on\\ imap\\ server\\ Reclutamiento\\
2021\\-12\\-11\\ 04:18:58,008\\ 2390\\ INFO\\ mydb\\ odoo\\.addons\\.fetchmail\\.models\\.fetchmail:\\ Fetched\\ 0\\ email\\(s\\)\\ on\\ imap\\ server\\ Reclutamiento;\\ 0\\ succeeded,\\ 0\\ failed\\.\\
2021\\-12\\-11\\ 04:18:58,566\\ 2390\\ INFO\\ mydb\\ odoo.addons.base.models.ir_cron: Job `Mail: Fetchmail Service` done.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
To use any local language in Odoo you have to load the language from Load a Translation menu under settings ->Translations. Click Load a Translation to open the wizard.
Goto Settings-> Load a Translation-> Select your required language.
Goto Settings-> Website Settings -> Enable the required language.
Goto Website frontend-> At the right side bottom footer your language will appear. Select the langauge and add the content.
Hi, I can't do this because the 500 error shows up when I try to open the UI at localhost:8069; hence, can't access any UI.
Is there a way to do this via code?
I already tried this python3 odoo-bin --addons-path=addons -d mydb --load-language=es_EC
But the problem persists
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
1
thg 10 24
|
11892 | ||
|
4
thg 9 24
|
1518 | ||
Internal Server Error
Đã xử lý
|
|
3
thg 3 24
|
1251 | |
|
0
thg 7 20
|
4731 | ||
|
2
thg 3 15
|
10435 |