コンテンツへスキップ
Odoo メニュー
  • サインイン
  • 無料で15日試す
  • アプリ
    財務
    • 会計
    • 請求
    • 経費
    • スプレッドシート(BI)
    • ドキュメント管理
    • 署名
    販売
    • CRM
    • 販売
    • POS店舗
    • POSレストラン
    • サブスクリプション
    • レンタル
    ウェブサイト
    • ウェブサイトビルダー
    • eコマース
    • ブログ
    • フォーラム
    • ライブチャット
    • eラーニング
    サプライチェーン
    • 在庫
    • 製造
    • 製品ライフサイクル管理 (PLM)
    • 購買
    • 整備
    • 品質
    人事業務
    • 従業員管理
    • 採用
    • 休暇管理
    • 人事評価
    • リファラル
    • フリート
    マーケティング
    • ソーシャルマーケティング
    • メールマーケティング
    • SMSマーケティング
    • イベント
    • マーケティングオートメーション
    • アンケート調査
    サービス
    • プロジェクト管理
    • タイムシート
    • フィールドサービス
    • ヘルプデスク
    • 計画
    • アポイントメント
    生産性向上ツール
    • ディスカッション
    • 承認
    • IoT
    • VoIP
    • ナレッジ
    • WhatsApp
    サードパーティアプリ Odooスタジオ Odooクラウドプラットホーム
  • インダストリー(業種別ソリューション)
    小売
    • 書店
    • アパレルショップ
    • 家具専門店
    • 食料品店
    • 金物店
    • 玩具店
    飲食・ホスピタリティ業界
    • バー・パブ
    • レストラン
    • ファストフード
    • ゲストハウス
    • 飲料販売代理店
    • ホテル
    不動産
    • 不動産会社
    • 建築事務所
    • 建設
    • 不動産管理
    • 造園
    • 住宅所有者組合
    コンサルティング
    • 会計事務所
    • Odooパートナー
    • マーケティングエージェンシー
    • 法律事務所
    • 人材派遣
    • 監査・認証
    製造
    • テキスタイル
    • 金属
    • 家具
    • 飲食
    • 醸造所
    • コーポレートギフト
    ヘルス & フィットネス
    • スポーツクラブ
    • 眼鏡店
    • フィットネスセンター
    • ウェルネス専門家
    • 薬局
    • ヘアサロン
    業種
    • 便利屋
    • IT ハードウェア・サポート
    • 太陽エネルギーシステム
    • 靴メーカー
    • クリーニングサービス
    • 空調設備サービス
    その他
    • 非営利団体
    • 環境機関
    • ビルボードレンタル
    • 写真
    • 自転車リース
    • ソフトウェアリセラー
    すべての業種を見る
  • コミュニティ
    学ぶ
    • チュートリアル
    • ドキュメンテーション
    • 認定
    • トレーニング
    • ブログ
    • ポッドキャスト
    教育サポート
    • 教育プログラム
    • Scale Up! ビジネスゲーム
    • Odooオフィス訪問
    ソフトを入手
    • ダウンロード
    • エディションを比較
    • リリース
    コラボレーション
    • Github
    • フォーラム
    • イベント
    • 翻訳
    • パートナーになる
    • パートナー様向けサービス
    • 会計事務所を登録
    サービス利用
    • パートナー一覧
    • 会計事務所一覧
    • 今すぐ相談する
    • 導入支援サービス
    • お客様一覧
    • サポート
    • アップグレード
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    製品デモを利用する
  • 料金
  • ヘルプ

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

  • CRM
  • e-Commerce
  • 会計
  • 在庫
  • PoS
  • プロジェクト
  • MRP
All apps
コミュニティで交流するには登録する必要があります。
全てのポスト 人々 バッジ
タグ (全て表示)
odoo accounting v14 pos v15
このフォーラムについて
コミュニティで交流するには登録する必要があります。
全てのポスト 人々 バッジ
タグ (全て表示)
odoo accounting v14 pos v15
このフォーラムについて
ヘルプ

openerp V8 wkhtmltopdf 0.12.0 error/bug ?

購読

この投稿に活動があった際に通知を受け取ります

この質問にフラグが付けられました
17 返信
36305 ビュー
アバター
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
アバター
破棄
アバター
swapnil wagh
最善の回答

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
アバター
破棄
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/

アバター
Lucas Huber
最善の回答

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
アバター
破棄
アバター
Hugo Santos
最善の回答

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
アバター
破棄
アバター
Timo Goosen
最善の回答

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
アバター
破棄
アバター
Jerome Sonnet
最善の回答

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

0
アバター
破棄
アバター
Rachid
最善の回答

Go to system parameters

then add a new key  :report.url

and the value :

http://localhost:8069/

0
アバター
破棄
アバター
Avash
最善の回答

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
アバター
破棄
アバター
Rui Andrada
最善の回答

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
アバター
破棄
アバター
Christian Parent
最善の回答

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
アバター
破棄
アバター
最善の回答

It could possibly be a memory allocation problem.

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

 

 

0
アバター
破棄
アバター
SonnyV
最善の回答

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
アバター
破棄
アバター
klacus
最善の回答

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
アバター
破棄
アバター
Yves Goldberg
最善の回答

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
アバター
破棄
Yves Goldberg

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

アバター
Vũ Quốc Hoàng
最善の回答

Which protocol that you guys are using?

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

-1
アバター
破棄
ディスカッションを楽しんでいますか?読むだけでなく、参加しましょう!

今すぐアカウントを作成して、限定機能を利用したり、素晴らしいコミュニティと交流しましょう!

登録
コミュニティ
  • チュートリアル
  • ドキュメンテーション
  • フォーラム
オープンソース
  • ダウンロード
  • Github
  • Runbot
  • 翻訳
サービス
  • Odoo.shホスティング
  • サポート
  • アップグレード
  • カスタム開発
  • 教育プログラム
  • 会計事務所一覧
  • パートナー一覧
  • パートナーになる
企業情報
  • 会社概要
  • ブランドアセット
  • お問い合わせ
  • 採用情報
  • イベント
  • ポッドキャスト
  • ブログ
  • お客様一覧
  • リーガル情報 • プライバシーポリシー
  • セキュリティ
الْعَرَبيّة 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(オドゥー)は、CRM、eコマース、会計、在庫管理、POS、プロジェクト管理など、企業のさまざまな業務を一つのシステムで管理できる、ベルギー発のオープンソースのERPソフトウェアです。

高機能で使いやすく、完全に統合されたERPとして、ユニークな価値を提供しています。

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