تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
941 أدوات العرض

Hi! Here Tastant, new here in the forum and in odoo,

I'm new on odoo and I get fine across the installation on my VPS with no problems. Then, when I add the openeducat module I get an "Internal Server Error" and odoo keeps unaccessible. Here is the log of my last attempt to acces odoo. I don't know what problem is there, and also don't know how to uninstall the module without having acces to odoo panel. 


Thanks in advance!


Traceback (most recent call last):

File "<1184>", line 1415, in template_1184

File "<1184>", line 984, in template_1184_content

KeyError: 'main_object'


The above exception was the direct cause of the following exception:


Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/odoo/http\.py",\ line\ 1998,\ in\ __call__

\ \ \ \ response\ =\ request\._serve_db\(\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/http\.py",\ line\ 1584,\ in\ _serve_db

\ \ \ \ return\ service_model\.retrying\(self\._serve_ir_http,\ self\.env\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/service/model\.py",\ line\ 133,\ in\ retrying

\ \ \ \ result\ =\ func\(\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/http\.py",\ line\ 1611,\ in\ _serve_ir_http

\ \ \ \ response\ =\ self\.dispatcher\.dispatch\(rule\.endpoint,\ args\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/http\.py",\ line\ 1725,\ in\ dispatch

\ \ \ \ return\ self\.request\.registry\['ir\.http'\]\._dispatch\(endpoint\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/ir_http\.py",\ line\ 156,\ in\ _dispatch

\ \ \ \ result\.flatten\(\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/http\.py",\ line\ 1099,\ in\ flatten

\ \ \ \ self\.response\.append\(self\.render\(\)\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/http\.py",\ line\ 1091,\ in\ render

\ \ \ \ return\ request\.env\["ir\.ui\.view"\]\._render_template\(self\.template,\ self\.qcontext\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/ir_ui_view\.py",\ line\ 2128,\ in\ _render_template

\ \ \ \ return\ self\.env\['ir\.qweb'\]\._render\(template,\ values\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/tools/profiler\.py",\ line\ 292,\ in\ _tracked_method_render

\ \ \ \ return\ method_render\(self,\ template,\ values,\ \*\*options\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/ir_qweb\.py",\ line\ 580,\ in\ _render

\ \ \ \ result\ =\ ''\.join\(rendering\)

\ \ File\ "<185>",\ line\ 242,\ in\ template_185

\ \ File\ "<185>",\ line\ 231,\ in\ template_185_content

\ \ File\ "<184>",\ line\ 51,\ in\ template_184

\ \ File\ "<184>",\ line\ 40,\ in\ template_184_content

\ \ File\ "<1184>",\ line\ 1421,\ in\ template_1184

odoo\.addons\.base\.models\.ir_qweb\.QWebException:\ Error\ while\ render\ the\ template

KeyError:\ 'main_object'

Template:\ website\.layout

Path:\ /t/t\[2\]

Node:\ website.id if website else None, \'data-edit_translations\': \'1\' if edit_translations else None, \'data-main-object\': repr(main_object) if main_object else None, \'data-seo-object\': repr(seo_object) if seo_object else None, }"/>


الصورة الرمزية
إهمال
الكاتب

Hi Mehjabin, thanks for your answer, I'll do it. 

أفضل إجابة

Hi,


As it is an issue with third party app, you can report the issue with the module author or report it in their support channels.


Thanks

الصورة الرمزية
إهمال