Skip to Content
Odoo Menu
  • Zaloguj się
  • Wypróbuj za darmo
  • Aplikacje
    Finanse
    • Księgowość
    • Fakturowanie
    • Wydatki
    • Arkusz kalkulacyjny (BI)
    • Dokumenty
    • Podpisy
    Sprzedaż
    • CRM
    • Sprzedaż
    • PoS Sklep
    • PoS Restauracja
    • Subskrypcje
    • Wypożyczalnia
    Strony Internetowe
    • Kreator Stron Internetowych
    • eCommerce
    • Blog
    • Forum
    • Czat na Żywo
    • eLearning
    Łańcuch dostaw
    • Magazyn
    • Produkcja
    • PLM
    • Zakupy
    • Konserwacja
    • Jakość
    Zasoby Ludzkie
    • Pracownicy
    • Rekrutacja
    • Urlopy
    • Ocena pracy
    • Polecenia Pracownicze
    • Flota
    Marketing
    • Marketing Społecznościowy
    • E-mail Marketing
    • SMS Marketing
    • Wydarzenia
    • Automatyzacja Marketingu
    • Ankiety
    Usługi
    • Projekt
    • Ewidencja czasu pracy
    • Usługi Terenowe
    • Helpdesk
    • Planowanie
    • Spotkania
    Produktywność
    • Dyskusje
    • Zatwierdzenia
    • IoT
    • VoIP
    • Baza wiedzy
    • WhatsApp
    Aplikacje trzecich stron Studio Odoo Odoo Cloud Platform
  • Branże
    Sprzedaż detaliczna
    • Księgarnia
    • Sklep odzieżowy
    • Sklep meblowy
    • Sklep spożywczy
    • Sklep z narzędziami
    • Sklep z zabawkami
    Żywienie i hotelarstwo
    • Bar i Pub
    • Restauracja
    • Fast Food
    • Pensjonat
    • Dystrybutor napojów
    • Hotel
    Agencja nieruchomości
    • Agencja nieruchomości
    • Biuro architektoniczne
    • Budowa
    • Zarządzanie nieruchomościami
    • Ogrodnictwo
    • Stowarzyszenie właścicieli nieruchomości
    Doradztwo
    • Biuro księgowe
    • Partner Odoo
    • Agencja marketingowa
    • Kancelaria prawna
    • Agencja rekrutacyjna
    • Audyt i certyfikacja
    Produkcja
    • Tekstylia
    • Metal
    • Meble
    • Jedzenie
    • Browar
    • Prezenty firmowe
    Zdrowie & Fitness
    • Klub sportowy
    • Salon optyczny
    • Centrum fitness
    • Praktycy Wellness
    • Apteka
    • Salon fryzjerski
    Transakcje
    • Złota rączka
    • Wsparcie Sprzętu IT
    • Systemy energii słonecznej
    • Szewc
    • Firma sprzątająca
    • Usługi HVAC
    Inne
    • Organizacja non-profit
    • Agencja Środowiskowa
    • Wynajem billboardów
    • Fotografia
    • Leasing rowerów
    • Sprzedawca oprogramowania
    Przeglądaj wszystkie branże
  • Community
    Ucz się
    • Samouczki
    • Dokumentacja
    • Certyfikacje
    • Szkolenie
    • Blog
    • Podcast
    Pomóż w nauce innym
    • Program Edukacyjny
    • Scale Up! Gra biznesowa
    • Odwiedź Odoo
    Skorzystaj z oprogramowania
    • Pobierz
    • Porównaj edycje
    • Wydania
    Współpracuj
    • Github
    • Forum
    • Wydarzenia
    • Tłumaczenia
    • Zostań partnerem
    • Usługi dla partnerów
    • Zarejestruj swoją firmę rachunkową
    Skorzystaj z usług
    • Znajdź partnera
    • Znajdź księgowego
    • Spotkaj się z doradcą
    • Usługi wdrożenia
    • Opinie klientów
    • Wsparcie
    • Aktualizacje
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Zaplanuj demo
  • Cennik
  • Pomoc

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

  • CRM
  • e-Commerce
  • Księgowość
  • Zapasy
  • PoS
  • Projekt
  • MRP
All apps
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Pomoc

Webkit Error: No such file or directory

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
webkit
12 Odpowiedzi
19112 Widoki
Awatar
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
Awatar
Odrzuć
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.

Awatar
Aristóbulo Meneses
Najlepsza odpowiedź

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
Awatar
Odrzuć
Awatar
Mathias Neef
Najlepsza odpowiedź

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
Awatar
Odrzuć
Mathias Neef

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

Awatar
Serpent Consulting Services Pvt. Ltd.
Najlepsza odpowiedź

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

Thanks.

0
Awatar
Odrzuć
Awatar
Simplify it!
Najlepsza odpowiedź

Try this guide:

Google Docs - Webkit Installation Guide OpenERP7

0
Awatar
Odrzuć
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.

Awatar
Laurent Olivier
Najlepsza odpowiedź

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
Awatar
Odrzuć
Awatar
Daniel Reis
Najlepsza odpowiedź

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
Awatar
Odrzuć
Mohammad Zi
Autor

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

Mohammad Zi
Autor

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.

Podoba Ci się ta dyskusja? Dołącz do niej!

Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!

Zarejestruj się
Powiązane posty Odpowiedzi Widoki Czynność
Reset header/footer templates in odoo17 on-premise. Rozwiązane
webkit
Awatar
Awatar
Awatar
2
kwi 24
3203
webkit line returns for text fields Rozwiązane
webkit
Awatar
Awatar
Awatar
Awatar
Awatar
11
gru 21
17005
Where is the file 06n92k.mov demonstrating report_webkit ?
webkit
Awatar
Awatar
1
mar 15
7234
Where to get a webkit-template for delivery-order report?
webkit
Awatar
Awatar
1
mar 15
4620
Is webkit Invoice report working in openerp7 ?
webkit
Awatar
Awatar
Awatar
2
mar 15
6706
Społeczność
  • Samouczki
  • Dokumentacja
  • Forum
Open Source
  • Pobierz
  • Github
  • Runbot
  • Tłumaczenia
Usługi
  • Hosting Odoo.sh
  • Wsparcie
  • Aktualizacja
  • Indywidualne rozwiązania
  • Edukacja
  • Znajdź księgowego
  • Znajdź partnera
  • Zostań partnerem
O nas
  • Nasza firma
  • Zasoby marki
  • Skontaktuj się z nami
  • Oferty pracy
  • Wydarzenia
  • Podcast
  • Blog
  • Klienci
  • Informacje prawne • Prywatność
  • Bezpieczeństwo Odoo
الْعَرَبيّة 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 to pakiet aplikacji biznesowych typu open source, które zaspokoją wszystkie potrzeby Twojej firmy: CRM, eCommerce, księgowość, inwentaryzacja, punkt sprzedaży, zarządzanie projektami itp.

Unikalną wartością Odoo jest to, że jest jednocześnie bardzo łatwe w użyciu i w pełni zintegrowane.

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