콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
3076 화면

I have started getting an error when login as admin. I haven't installed any new modules or made changes to the website. It happens on the site you're redirected to when logging in.

The error is

Odoo Server Error
Traceback (most recent call last): File "/opt/odoo/odoo10/odoo/http.py", line 638, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/odoo/odoo10/odoo/http.py", line 675, in dispatch result = self._call_function(**self.params) File "/opt/odoo/odoo10/odoo/http.py", line 331, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/odoo/odoo10/odoo/service/model.py", line 119, in wrapper return f(dbname, *args, **kwargs) File "/opt/odoo/odoo10/odoo/http.py", line 324, in checked_call result = self.endpoint(*a, **kw) File "/opt/odoo/odoo10/odoo/http.py", line 933, in __call__ return self.method(*args, **kw) File "/opt/odoo/odoo10/odoo/http.py", line 504, in response_wrap response = f(*args, **kw) File "/opt/odoo/odoo10/addons/web/controllers/main.py", line 885, in call_kw return self._call_kw(model, method, args, kwargs) File "/opt/odoo/odoo10/addons/web/controllers/main.py", line 877, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/opt/odoo/odoo10/odoo/api.py", line 681, in call_kw return call_kw_multi(method, model, args, kwargs) File "/opt/odoo/odoo10/odoo/api.py", line 670, in call_kw_multi recs = self.with_context(context or {}).browse(ids) File "/opt/odoo/odoo10/odoo/models.py", line 4881, in with_context context = dict(args[0] if args else self._context, **kwargs) ValueError: dictionary update sequence element #0 has length 9; 2 is required

I can still use the site. The problem is that I have no clue what is causing it. Has anyone an idea how to figure out what is the problem or how to figure out what the problem is? It's a live site on a production odoo server, so my options of debugign are limited. 

 

아바타
취소

Activate inspect element from browser, go to console tab and refresh the page. You may get some clues

작성자

thanks Hem, but it only shows the same message as the Odoo Error popup. The wierd thing is that it happens only on the page you're redirected when logging in or when you install/update module. Everything else works fine.

베스트 답변

Hi,
I had this same issue I've solved by updating to custom module dependency, check once with you're module dependencies. else you can check with custom module that you're trying to install.

아바타
취소
작성자

there are no custom modules installed on it, only Odoos and a licensed. The licensed one is the website theme.

Sorry I can't say anything exactly, but you really need to look into theme you've installed

작성자

the theme is fine... if it was something I've installed I would know what to check. The site is up for more than a year, but this error started appearing only in the last few weeks. We use the same theme on a few different sites and there are no problems with it.

관련 게시물 답글 화면 활동
5
2월 24
24203
0
7월 18
2681
2
11월 17
4574
3
5월 23
15740
1
1월 23
1977