Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
8460 Lượt xem

Hi!

Have brand new installation Centos 8, Python 3.6.8, Odoo 13, Postgresql 10.6.

Tring to add LDAP user authentication. When enabled - any user login causes server crash with 
odoo.service.server: Thread <Thread(odoo.service.http.request.140498400159488, started 140498400159488)> virtual real time limit (154/120s) reached.

.....

odoo[25516]: ModuleNotFoundError: No module named 'PyPDF2'

From venv:

#pip3 list |grep PyPDF2

PyPDF2            1.26.0

 

Seems like some bug. Anyone has any clue?

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Thank you, but I'm on Centos

Ảnh đại diện
Huỷ bỏ

Answer updated, please check now

Tác giả

Problem is in venv, so when you start server within venv, then make LDAP request it needs libs and Py packages installed system wide. When I did installation I installed all Python3 dependent packages in venv only, but not system wide.

More over, Centos 8 does not privide all dependent packages from standart repos, nor from Odoo, Epel, etc. So I think Centos 8 should not be mentioned in official Howtos and manuals as a supported OS.

I resolved issue with installing Odoo on Fedora31. Installation was smooth and easy, just with couple commands.

Câu trả lời hay nhất

Hi

If pip is installed, try this

pip install PyPDF2

or download the package from https://pypi.org/project/PyPDF2/#files and install


Hope this helps

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 6 20
3600
1
thg 1 20
6318
4
thg 5 24
12605
1
thg 4 24
3244
0
thg 11 23
1986