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

Dear experts,

we use v15 on Ubuntu and the documents module. Uploaded files are indexed and available via fulltext search in indexed content (Word, Excel, Powerpoint) but not PDFs!

I have tried different PDFs, it never worked. 

I searched a lot and found that the utlity pdftotext is used to index PDFs. Is this the case for v15? 

How can I check what the probem is with PDF indexing? (I am new to Odoo)


Thank you,

Johannes

아바타
취소
베스트 답변

Hi Johannes:

Odoo uses "pdfminer.six" to index PDF files. Check whether it is installed on your server. If not, you can install it using the following command.

pip3 install pdfminer.six

Also, make sure the "attachment_indexation" module in Odoo is installed. This module is dependent on pdfminer.six and provides the pdf indexation functionality. You can check whether it's installed by going to Apps and searching for the module.

아바타
취소
작성자 베스트 답변

Hello Samir, there is no error. I can upload the PDF. I can search for the PDF name and find it.

but searching for PDF content returns no results

Thank you,

Johannes


아바타
취소

If you go through your odoo logs, you will see this error:

odoo.addons.attachment_indexation.models.ir_attachment: Attachment indexation of PDF documents is unavailable because the 'pdfminer' Python library cannot be found on the system. You may install it from https://pypi.org/project/pdfminer.six/ (e.g. `pip3 install pdfminer.six`)

That was my first indication that this module was missing in my Odoo 16 installation.

베스트 답변

Dear Sir

IT is simply can upload PDF File , Can send me a screenshot of error 

아바타
취소
관련 게시물 답글 화면 활동
3
5월 24
2396
4
7월 23
5812
1
12월 21
2679
0
6월 25
1744
0
5월 20
2572