コンテンツへスキップ
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
このフォーラムについて
ヘルプ

Webkit Error: No such file or directory

購読

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

この質問にフラグが付けられました
webkit
12 返信
19089 ビュー
アバター
Mohammad Zi

I tried to open a sample webkit report but I am encountering a new error message.

I am enclosing the server and client side.

I am not sure from where I need to start. All components seem to be installed properly.

Thanks.

Client side error:

2 No such file or directory

(<type 'exceptions.oserror'="">, OSError(2, 'No such file or directory'), <traceback object="" at="" 0x7fd540a16830="">)

Terminal (Server side)

3 09:29:49] "POST /web/dataset/call_button HTTP/1.1" 200 -
2013-07-25 09:29:49,883 54841 ERROR db financial.reports.webkit: cannot remove file /tmp/webkit.tmp.tq1d5j.pdf: [Errno 2] No such file or directory: '/tmp/webkit.tmp.tq1d5j.pdf'
2013-07-25 09:29:49,883 54841 ERROR db openerp.service.web_services: Exception: [Errno 2] No such file or directory
Traceback (most recent call last):
  File "/opt/openerp/server/openerp/service/web_services.py", line 712, in go
    (result, format) = obj.create(cr, uid, ids, datas, context)
  File "/opt/openerp/server/openerp/addons/report_webkit/webkit_report.py", line 333, in create
    result = self.create_source_pdf(cursor, uid, ids, data, report_xml, context)
  File "/opt/openerp/server/openerp/report/report_sxw.py", line 513, in create_source_pdf
    return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
  File "/opt/openerp/server/openerp/addons/account_financial_report_webkit/report/webkit_parser_header_fix.py", line 233, in create_single_pdf
    pdf = self.generate_pdf(bin, report_xml, head, foot, htmls)
  File "/opt/openerp/server/openerp/addons/account_financial_report_webkit/report/webkit_parser_header_fix.py", line 121, in generate_pdf
    status = subprocess.call(command, stderr=stderr_fd)
  File "/usr/lib/python2.7/subprocess.py", line 493, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1259, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
2013-07-25 09:29:49,899 54841 ERROR db openerp.netsvc: 2
No such file or directory
(<type 'exceptions.OSError'>, OSError(2, 'No such file or directory'), <traceback object at 0x7fd4ac7f9ea8>)
Traceback (most recent call last):
  File "/opt/openerp/server/openerp/netsvc.py", line 293, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/opt/openerp/server/openerp/service/web_services.py", line 654, in dispatch
    res = fn(db, uid, *params)
  File "/opt/openerp/server/openerp/service/web_services.py", line 760, in exp_report_get
    return self._check_report(report_id)
  File "/opt/openerp/server/openerp/service/web_services.py", line 738, in _check_report
    netsvc.abort_response(exc, exc.message, 'warning', exc.traceback)
  File "/opt/openerp/server/openerp/netsvc.py", line 72, in abort_response
    raise openerp.osv.osv.except_osv(description, details)
except_osv: (u'2\nNo such file or directory', (<type 'exceptions.OSError'>, OSError(2, 'No such file or directory'), <traceback object at 0x7fd4ac7f9ea8>))
2013-07-25 09:29:49,902 54841 INFO db werkzeug: 127.0.0.1 - - [25/Jul/2013 09:29:49] "POST /web/report HTTP/1.1" 500 -
3
アバター
破棄
Erdem Uney

Did you able to solve the problem? I got the same thing...

Atchuthan - Technical Consultant, Sodexis Inc

Hi Mohammed, I am also facing the same issue. Were you able to solve it? If yes, please let us know.

アバター
Aristóbulo Meneses
最善の回答

Just in case anyone else gets this error, here is how I solved it for an Odoo 6.1 instance:


  1. Go to http://download.gna.org/wkhtmltopdf/0.12/0.12.1/ and download the right package for your distribution.

  2. Install it with dpkg -i (on Debian or Ubuntu) 

  3. Go to System Parameters and check your webkit_path, it should match your wkhtmltopdf binary path. To know where is it on your system: which wkhtmltopdf


Hope it helps.

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

Same error. I'm running 7.0-20130918-231035 on Debian 7.1 and have installed report_webkit and account_financial_report_webkit. wkhtmltopdf (static/amd64) lays in /usr/local/bin. webkit_paht is defined to /usr/local/bin.

Error is:

financial.reports.webkit: cannot remove file /tmp/webkit.tmp.BNXnn5.pdf: [Errno 2] No such file or directory: '/tmp/webkit.tmp.BNXnn5.pdf'
2013-10-09 10:46:40,268 5930 ERROR bemavino_live_20130919 openerp.service.web_services: Exception: [Errno 13] Permission denied
Traceback (most recent call last):
  File "/opt/openerp/openerp-7.0-20130918-231035/openerp/service/web_services.py", line 712, in go
    (result, format) = obj.create(cr, uid, ids, datas, context)
  File "/opt/openerp/server/openerp/addons/report_webkit/webkit_report.py", line 340, in create
    result = self.create_source_pdf(cursor, uid, ids, data, report_xml, context)
  File "/opt/openerp/openerp-7.0-20130918-231035/openerp/report/report_sxw.py", line 513, in create_source_pdf
    return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
  File "/opt/openerp/server/openerp/addons/account_financial_report_webkit/report/webkit_parser_header_fix.py", line 233, in create_single_pdf
    pdf = self.generate_pdf(bin, report_xml, head, foot, htmls)
  File "/opt/openerp/server/openerp/addons/account_financial_report_webkit/report/webkit_parser_header_fix.py", line 121, in generate_pdf
    status = subprocess.call(command, stderr=stderr_fd)
  File "/usr/lib/python2.7/subprocess.py", line 493, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1259, in _execute_child
    raise child_exception
OSError: [Errno 13] Permission denied
2013-10-09 10:46:40,497 5930 ERROR bemavino_live_20130919 openerp.netsvc: 13
Permission denied
(<type 'exceptions.OSError'>, OSError(13, 'Permission denied'), <traceback object at 0x56d0878>)
Traceback (most recent call last):
  File "/opt/openerp/openerp-7.0-20130918-231035/openerp/netsvc.py", line 292, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/opt/openerp/openerp-7.0-20130918-231035/openerp/service/web_services.py", line 654, in dispatch
    res = fn(db, uid, *params)
  File "/opt/openerp/openerp-7.0-20130918-231035/openerp/service/web_services.py", line 760, in exp_report_get
    return self._check_report(report_id)
  File "/opt/openerp/openerp-7.0-20130918-231035/openerp/service/web_services.py", line 738, in _check_report
    netsvc.abort_response(exc, exc.message, 'warning', exc.traceback)
  File "/opt/openerp/openerp-7.0-20130918-231035/openerp/netsvc.py", line 71, in abort_response
    raise openerp.osv.osv.except_osv(description, details)
except_osv: (u'13\nPermission denied', (<type 'exceptions.OSError'>, OSError(13, 'Permission denied'), <traceback object at 0x56d0878>))

So it seems that permission to /tmp folder is denied. Tried with full access to /tmp and /addons folder wiht no changes to the error. So I can't find out what went wrong at the moment.

I don't think that this is Bug#1102991.

0
アバター
破棄
Mathias Neef

Now I reproduced this error on a newly made local system with test data.

アバター
Serpent Consulting Services Pvt. Ltd.
最善の回答

One has to make sure to use wkhtmltopdf version 0.11 min.

Thanks.

0
アバター
破棄
アバター
Simplify it!
最善の回答

Try this guide:

Google Docs - Webkit Installation Guide OpenERP7

0
アバター
破棄
Mathias Neef

Thank you for your reply. I've done all things from the guide before your post, so I checked twice. Everything looks right. wkthmltopdf have full permissions to every user. But the error stays. The debug modus for html output works fine.

アバター
Laurent Olivier
最善の回答

Hi,

Be aware of giving the path WITH the name of the wkhtmltopdf in the webkit_path Eg /usr/local/bin/wkhtmltopdf-i386 in my case.

Hope it helps

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

You might have encountered Bug#1102991. If this is so, a workaround is to grant write access to the addons directory.

PS: you didn't give a proper traceback to let us figure out exactly where the proble is ...

0
アバター
破棄
Mohammad Zi
著作者

@Daniel, Thanks for your feedback and I updated the question just now.

Mohammad Zi
著作者

I have given full access right to all users of my server to read and write in the addons directory but the error still exist.

ディスカッションを楽しんでいますか?読むだけでなく、参加しましょう!

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

登録
関連投稿 返信 ビュー 活動
Reset header/footer templates in odoo17 on-premise. 解決済
webkit
アバター
アバター
アバター
2
4月 24
3166
webkit line returns for text fields 解決済
webkit
アバター
アバター
アバター
アバター
アバター
11
12月 21
16989
Where is the file 06n92k.mov demonstrating report_webkit ?
webkit
アバター
アバター
1
3月 15
7218
Where to get a webkit-template for delivery-order report?
webkit
アバター
アバター
1
3月 15
4603
Is webkit Invoice report working in openerp7 ?
webkit
アバター
アバター
アバター
2
3月 15
6691
コミュニティ
  • チュートリアル
  • ドキュメンテーション
  • フォーラム
オープンソース
  • ダウンロード
  • 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