跳至内容
菜单
此问题已终结
8 回复
3155 查看

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
3795
1
12月 22
2125
3
11月 22
4311
1
11月 22
4606
1
5月 22
3921