Bỏ qua để đến Nội dung
Odoo Menu
  • Đăng nhập
  • Dùng thử miễn phí
  • Ứng dụng
    Tài chính
    • Kế toán
    • Hóa đơn
    • Chi phí
    • Bảng tính (BI)
    • Tài liệu
    • Ký tên
    Bán hàng
    • CRM
    • Bán hàng
    • POS Cửa hàng
    • POS Nhà hàng
    • Đăng ký
    • Cho thuê
    Trang web
    • Trình tạo trang web
    • Thương mại điện tử
    • Blog
    • Diễn đàn
    • Trò chuyện trực tiếp
    • Học trực tuyến
    Chuỗi cung ứng
    • Tồn kho
    • Sản xuất
    • PLM
    • Mua hàng
    • Bảo dưỡng
    • Chất lượng
    Nhân sự
    • Nhân viên
    • Tuyển dụng
    • Ngày nghỉ
    • Đánh giá
    • Giới thiệu
    • Đội xe
    Marketing
    • Marketing trên MXH
    • Marketing qua email
    • Marketing qua SMS
    • Sự kiện
    • Tự động hóa Marketing
    • Khảo sát
    Dịch vụ
    • Dự án
    • Bảng chấm công
    • Dịch vụ hiện trường
    • Hỗ trợ
    • Kế hoạch
    • Lịch hẹn
    Năng suất
    • Thảo luận
    • Phê duyệt
    • IoT
    • VoIP
    • Kiến thức
    • WhatsApp
    Ứng dụng của bên thứ ba Studio Odoo Nền tảng Đám mây Odoo
  • Ngành
    Bán lẻ
    • Nhà sách
    • Cửa hàng quần áo
    • Cửa hàng nội thất
    • Cửa hàng tạp hóa
    • Cửa hàng đồ kim khí
    • Cửa hàng đồ chơi
    Ẩm thực & Dịch vụ lưu trú
    • Bar và quán rượu
    • Nhà hàng
    • Đồ ăn nhanh
    • Guest house
    • Nhà phân phối đồ uống
    • Khách sạn
    Bất động sản
    • Công ty môi giới bất động sản
    • Công ty kiến trúc
    • Xây dựng
    • Quản lý bất động sản
    • Làm vườn
    • Hiệp hội chủ sở hữu bất động sản
    Tư vấn
    • Công ty kế toán
    • Đối tác Odoo
    • Công ty marketing
    • Công ty luật
    • Tuyển dụng
    • Thanh tra & chứng nhận
    Sản xuất
    • Dệt may
    • Kim loại
    • Nội thất
    • Ẩm thực
    • Nhà máy bia
    • Quà tặng doanh nghiệp
    Sức khoẻ & fitness
    • CLB thể thao
    • Cửa hàng kính mắt
    • Trung tâm fitness
    • Chuyên gia chăm sóc sức khỏe
    • Hiệu thuốc
    • Tiệm làm tóc
    Thương mại
    • Dịch vụ sửa chữa
    • Phần cứng CNTT & Hỗ trợ
    • Hệ thống năng lượng mặt trời
    • Công ty sản xuất giày
    • Dịch vụ vệ sinh
    • Dịch vụ HVAC
    Khác
    • Tổ chức phi lợi nhuận
    • Cơ quan môi trường
    • Cho thuê biển quảng cáo
    • Nhiếp ảnh
    • Cho thuê xe đạp
    • Đại lý phần mềm
    Xem tất cả ngành
  • Cộng đồng
    Học tập
    • Khóa học
    • Tài liệu
    • Chứng chỉ
    • Đào tạo
    • Blog
    • Podcast
    Thúc đẩy đào tạo
    • Chương trình đào tạo
    • Trò chơi kinh doanh Scale Up!
    • Tham quan Odoo
    Nhận phần mềm
    • Tải xuống
    • So sánh các phiên bản
    • Phiên bản
    Hợp tác
    • Github
    • Diễn đàn
    • Sự kiện
    • Dịch thuật
    • Trở thành đối tác
    • Dịch vụ dành cho Đối tác
    • Đăng ký công ty kế toán của bạn
    Nhận dịch vụ
    • Tìm đối tác
    • Tìm kế toán
    • Gặp chuyên gia hỗ trợ
    • Dịch vụ Triển khai
    • Khách hàng tham khảo
    • Hỗ trợ
    • Nâng cấp
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Nhận một buổi demo
  • Bảng giá
  • Trợ giúp

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Kế toán
  • Tồn kho
  • PoS
  • Dự án
  • MRP
All apps
Bạn cần phải đăng ký để tương tác với cộng đồng.
Tất cả bài viết Người Huy hiệu
Thẻ (Xem tất cả)
odoo accounting v14 pos v15
Về diễn đàn này
Bạn cần phải đăng ký để tương tác với cộng đồng.
Tất cả bài viết Người Huy hiệu
Thẻ (Xem tất cả)
odoo accounting v14 pos v15
Về diễn đàn này
Hỗ trợ

openerp V8 wkhtmltopdf 0.12.0 error/bug ?

Đăng ký nhận tin

Nhận thông báo khi có hoạt động trên bài viết này

Câu hỏi này đã bị gắn cờ
17 Trả lời
36299 Lượt xem
Ảnh đại diện
Tomasz Twardowski

Hi, i've got wkhtmltopdf 0.12.0 version, I can't print invoices, quotation, rfq etc. I've got following error :

Report (PDF) wkhtmltopdf failed with error code = -11. Message: Loading pages (1/6) [> ] 0% [======> ] 10%

Any ideas ?

Thanks in advance .

6
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
swapnil wagh
Câu trả lời hay nhất

Please follow below steps

 

1) Download wkhtmltopdf version from wkhtmltopdf.org depend on your system arch (32 or 64 bit)

   

    wget wget http://downloads.sourceforge.net/project/wkhtmltopdf/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb

 

2) Install the package using commnad :

 

   sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb 

 

3) Copy binary or wkhtmltopdf to /usr/bin location from ./usr/local/bin use command

     

    sudo cp /usr/local/bin/wkhtmltopdf /usr/bin/

 

4) Restart Odoo server and try once again.

12
Ảnh đại diện
Huỷ bỏ
Fadel Damen Schreiner

I need install modulo webkit before reinstall wkhtmltopdf

Francesco Faleschini

Please notice files are now placed at http://download.gna.org/wkhtmltopdf/0.12/0.12.1/

Ảnh đại diện
Lucas Huber
Câu trả lời hay nhất

I did have the same problem on a site with a lot of consuming modules. The solution in my case was to increase the Multiprocessing options. Here is what I have now, but it is not optimized yet. Could easy be that not all of this is necessary.

##############################################
# Multiprocessing options
# Specify the number of workers, 0 disable prefork mode.
workers = 2
# Maximum allowed virtual memory per worker, when reached the worker be reset after the current request (default 671088640 aka 640MB)
limit_memory_soft = 888777666
# Maximum allowed virtual memory per worker, when reached, any memory allocation will fail (default 805306368 aka 768MB)
limit_memory_hard = 1999888777
# Maximum allowed CPU time per request (default 60)
limit_time_cpu = 80
# Maximum allowed Real time per request (default 120)
limit_time_real = 120
# Maximum number of request to be processed per worker (default 8192)
limit_request = 12000
# port for gevent processes has  worker (default 8072)
# reverse proxy 8072 port to the external 80, only for location /longpolling (in nginx this is done with a second location)
longpolling_port = 8083

 

2
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
Timo Goosen
Câu trả lời hay nhất

Try this:

 

Solution: (Look in the comments)
http://www.theopensourcerer.com/2014/09/how-to-install-openerp-odoo-8-on-ubuntu-server-14-04-lts/comment-page-1/#comment-351536 Install Odoo8 on Ubuntu 14.04

Here is the solution from the comments:

#to solve wkhtmltopdf issue (report are empty or version error) use this :
$ sudo wget http://jaist.dl.sourceforge.net/project/wkhtmltopdf/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb
$ sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb
$ sudo cp /usr/local/bin/wkhtmltopdf /usr/bin
$ sudo cp /usr/local/bin/wkhtmltoimage /usr/bin
</pre>

You might still have the error popup after this, but the pdf's will print out correctly.

1
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
Hugo Santos
Câu trả lời hay nhất

I think this problem is related to the use of multicorn workers.
If I print any webkit report with 0.12.1 wkhtmltopdf and 0 workers works perfectly. If I use workers throws the mentioned error (The command 'wkhtmltopdf' failed with error code = -11. Message: No diagnosis message was provided).

Using wkhtmltopdf in version 0.11.0rc1 works with and without workers.

I've debugged the code of report_webkit module and that error is throwed in the call of wkhtmltopdf command, but showing the command that is going to be called and executing it in a terminal works perfect to.

1
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
Jerome Sonnet
Câu trả lời hay nhất

This problem has disappeared for me by increasing limit-memory-hard parameter in config file.

0
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
Rachid
Câu trả lời hay nhất

Go to system parameters

then add a new key  :report.url

and the value :

http://localhost:8069/

0
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
Avash
Câu trả lời hay nhất

Did follow the steps and now it does not show error when I print PDF button from Odoo app but it generates the PDF file with Zero KB size. However running wkhtmltopdf http://www.odoo.com test.pdf from terminal it works fine.

Any idea?

0
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
Rui Andrada
Câu trả lời hay nhất

I think the best way to get wkhtmltopdf working on Ubuntu 14.04(or other version) is get the lastest version from website project from http://wkhtmltopdf.org/downloads.html

Get the right version for your system Like Ubuntu 64 bits or 32 bits, or your for system you didn't mentioned.
use "sudo dpkg" to install the package 

sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb # if you downloaded for 64 bits

maybe you got errors because of libc6, if happens try to fix it with:

sudo apt-get -f install

After that, you have the updated version of wkhtmltopdf from package wkhtmltox which  removes wkhtmltopdf package if installed.

You can check if wkhtmltopdf is working with:

wkhtmltopdf http://www.odoo.com test-odoo.pdf

Check out pdf file is odoo website.

After that, restart Odoo server and try again.

0
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
SonnyV
Câu trả lời hay nhất

Many good answers here about manually installing the latest version from wkhtmltopdf. The only thing I'd recommend is using 'ln -s /usr/local/bin/wkhtmltopdf /usr/bin/wkhtmltopdf' after installing the deb. Instead of copying the files it makes a symbolic link. So if you remove wkhtml or upgrade it, the symbolic link will change accordingly.

Regards

 

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

It could possibly be a memory allocation problem.

This problem has disappeared for me by increasing limit-memory-hard parameter in config file.

 

 

0
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
Christian Parent
Câu trả lời hay nhất

On ubuntu, install wkhtltopdf thru apt then, download the latest version from the wkhtml website extract the file and overwrite the wkhtmltopdf file in /usr/bin/ with the one extracted ! 

0
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
klacus
Câu trả lời hay nhất

Please post this result.

cat /var/log/syslog | grep wkhtmltopdf

After we can see what is the root cause..

you can check by root mode with the follwoing command

sudo  /usr/local/bin/wkhtmltopdf google.com /tmp/teszt.pdf

if will run, without problem in terminal you have some permission problem...

 

 

-1
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
Vũ Quốc Hoàng
Câu trả lời hay nhất

Which protocol that you guys are using?

Normally it works well in http but getting errors with https.

-1
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
Yves Goldberg
Câu trả lời hay nhất

thank you Christian. It did for me but how do you get rid of the error message that "you should upgrade to....." that pops up each time you print a report?

cheers.

-1
Ảnh đại diện
Huỷ bỏ
Yves Goldberg

Yes, I did the same and I am not having problem in Ubuntu 14.04.

Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!

Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!

Đăng ký
Cộng đồng
  • Khóa học
  • Tài liệu
  • Diễn đàn
Open source
  • Tải xuống
  • Github
  • Runbot
  • Dịch thuật
Dịch vụ
  • Lưu trữ Odoo.sh
  • Hỗ trợ
  • Nâng cấp
  • Phát triển tùy chỉnh
  • Đào tạo
  • Tìm kế toán
  • Tìm đối tác
  • Trở thành đối tác
Giới thiệu công ty
  • Công ty của chúng tôi
  • Tài sản thương hiệu
  • Liên hệ
  • Việc làm
  • Sự kiện
  • Podcast
  • Blog
  • Khách hàng
  • Pháp lý • Riêng tư
  • Bảo mật
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo là bộ ứng dụng kinh doanh có open source đáp ứng tất cả các nhu cầu của công ty bạn: CRM, thương mại điện tử, kế toán, tồn kho, POS, quản lý dự án, v.v.

Định hướng giá trị riêng biệt của Odoo là tích hợp hoàn toàn và dễ dàng sử dụng.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now