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

Hello
I have installed Odoo 13. I have generated one new Database. But, when I am clicking on database I got some error like : "yield inside async function".
Can anyone please help with this?

Thanks in advance

아바타
취소

it will be nice if you can add an image of error or more details about the log

작성자

Sure I will give you the image

작성자

I have set the image in question

Please provide the complete traceback in the log, not only a screenshot which does not provide the most important information. Also provide information about your installation method and your operating system and use a meaningful title, which relates to the error message. When using the the official installation directives, this should not happen.

작성자

Hello @Ermin Trevisan

I am very disappointed that without understanding much, you have closed my question. Its not good. First of all, I am not saying that its fault of odoo. and I have not provide the details of installation because I am installing it in local and I think it may common issue that comes to some people so that I can get the quick answer. If I am doing it on server and got some major issue, I am definitely mentioned all the things.

If you can not got any proper information, I think you should tell me that provide some more information rather then close my question.

작성자

Here is the full log

2020-04-15 09:56:25,610 3143 INFO odoo_13_shipping werkzeug: 127.0.0.1 - - [15/Apr/2020 09:56:25] "GET /web?db=odoo_13_shipping HTTP/1.1" 303 - 1 0.000 0.004

2020-04-15 09:56:25,967 3143 WARNING odoo_13_shipping odoo.addons.base.models.assetsbundle: Failed to import the site module

Traceback (most recent call last):

File "/usr/lib/python3.6/site.py", line 79, in <module>

import os

File "/usr/lib/python3.6/os.py", line 652, in <module>

from _collections_abc import MutableMapping

File "/usr/lib/python3.6/_collections_abc.py", line 64

async def _ag(): yield

^

SyntaxError: 'yield' inside async function

This error occured while compiling the bundle 'web.assets_common' containing:

- /web/static/lib/bootstrap/scss/_functions.scss

- /web/static/lib/bootstrap/scss/_mixins.scss

- /web/static/src/scss/bs_mixins_overrides.scss

- /web/static/src/scss/utils.scss

- /web/static/src/scss/primary_variables.scss

- /web_editor/static/src/scss/web_editor.variables.scss

- /web_editor/static/src/scss/secondary_variables.scss

- /web/static/src/scss/secondary_variables.scss

- /web/static/lib/bootstrap/scss/_variables.scss

- /web/static/lib/tempusdominus/tempusdominus.scss

- /web/static/src/scss/fonts.scss

- /web/static/src/scss/ui.scss

- /web/static/src/scss/ui_extra.scss

- /web/static/src/scss/navbar.scss

- /web/static/src/scss/mimetypes.scss

- /web/static/src/scss/modal.scss

- /web/static/src/scss/animation.scss

- /web/static/src/scss/rainbow.scss

- /web/static/src/scss/datepicker.scss

- /web/static/src/scss/daterangepicker.scss

- /web/static/src/scss/banner.scss

- /web/static/src/scss/colorpicker.scss

- /web/static/src/scss/translation_dialog.scss

- /web/static/src/scss/keyboard.scss

- /web/static/src/scss/name_and_signature.scss

- /web/static/src/scss/web.zoomodoo.scss

- /web/static/src/scss/fontawesome_overridden.scss

- /web_tour/static/src/scss/tip.scss

- /web_tour/static/src/scss/keyframes.scss

2020-04-15 09:56:26,098 3143 WARNING odoo_13_shipping odoo.addons.base.models.assetsbundle: Failed to import the site module

Traceback (most recent call last):

File "/usr/lib/python3.6/site.py", line 79, in <module>

import os

File "/usr/lib/python3.6/os.py", line 652, in <module>

from _collections_abc import MutableMapping

File "/usr/lib/python3.6/_collections_abc.py", line 64

async def _ag(): yield

^

SyntaxError: 'yield' inside async function

This error occured while compiling the bundle 'web.assets_frontend' containing:

- /web/static/lib/bootstrap/scss/_functions.scss

- /web/static/lib/bootstrap/scss/_mixins.scss

- /web/static/src/scss/bs_mixins_overrides.scss

- /web/static/src/scss/utils.scss

- /web/static/src/scss/primary_variables.scss

- /web_editor/static/src/scss/web_editor.variables.scss

- /web_editor/static/src/scss/secondary_variables.scss

- /web/static/src/scss/secondary_variables.scss

- /web_editor/static/src/scss/bootstrap_overridden.scss

- /web/static/src/scss/bootstrap_overridden_frontend.scss

- /web/static/lib/bootstrap/scss/_variables.scss

- /web/static/src/scss/import_bootstrap.scss

- /web/static/src/scss/bootstrap_review.scss

- /web/static/src/scss/lazyloader.scss

- /web/static/src/scss/navbar_mobile.scss

- /web/static/src/scss/notification.scss

- /web_editor/static/src/scss/web_editor.common.scss

- /web_editor/static/src/scss/web_editor.frontend.scss

작성자

I am using it in ubuntu 18.04

작성자 베스트 답변

Now, it had fixed. I have install and upgrade some python libraries as per requirements.txt and it works.

아바타
취소
관련 게시물 답글 화면 활동
2
9월 23
3845
1
12월 22
2153
3
11월 22
4351
1
11월 22
4655
1
5월 22
3961