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

I have odoo 12 in centOS7 server 

odoo service fails randomly and show some error messages like this

Started Odoo12.
Dec 05 10:37:02 ............... odoo12[8493]: Traceback (most recent call last):
Dec 05 10:37:02 ............... odoo12[8493]: File "/home/testodoo/odoo12/odoo-bin", line 5, in <module>
Dec 05 10:37:02 ............... odoo12[8493]: import odoo
Dec 05 10:37:02 ............... odoo12[8493]: File "/home/testodoo/odoo12/odoo/__init__.py", line 73, in <module>
Dec 05 10:37:02 ............... odoo12[8493]: import babel
Dec 05 10:37:02 ............... odoo12[8493]: ModuleNotFoundError: No module named 'babel'
Dec 05 10:37:02 ............... systemd[1]: odoo12.service: main process exited, code=exited, status=1/FAILURE
Dec 05 10:37:02 ............... systemd[1]: Unit odoo12.service entered failed state.
Dec 05 10:37:02 ............... systemd[1]: odoo12.service failed.

i already installed the module babel

 how this happens; please help me to fix this

and give tips to run odoo fast and efficiently without fail

形象
丢弃
Bro i can't see your post

On Thu, Dec 5, 2019 at 4:39 PM Boubaker Abdallah <boubakerdev@gmail.com> wrote:

A new question Server Down Issue on Help has been posted. Click here to access the question :

See question

Sent by Odoo S.A. using Odoo.

最佳答案

Hi,

For ModuleNotFoundError: No module named 'babel' issue you can solve installing the python package babel for python3

sudo pip3 install babel or 
sudo apt-get install python3-babel

Hope it helps

形象
丢弃
相关帖文 回复 查看 活动
0
8月 25
3
0
7月 25
2
0
3月 25
1133
2
12月 23
14670
0
10月 23
33