क्या कोई मुझे बता सकता है कि निम्नलिखित मुद्दों को कैसे हल करें?wkhtmltopdf का उपयोग करते समय ContentNotFoundError से कैसे निपटें?
wkhtmltopdf भी पिछले संस्करणों और इसकी प्रणाली का उपयोग नहीं $ http_proxy और $ https_proxy env चर के विपरीत प्रॉक्सी जानकारी (-p या --proxy) पारित करने के लिए विकल्प नहीं है।
wkhtmltopdf साथ HTTPS/SSL काम नहीं कर रहा है, भले ही मैं libssl.so के लिए और libcrypto.so
[[email protected] ~]$ wkhtmltopdf https://www.google.co.in google.pdf loaded the Generic plugin Loading page (1/2) Error: Failed loading page https://www.google.co.in (sometimes it will work just to ignore this error with --load-error-handling ignore) Exit with code 1 due to network error: UnknownNetworkError
और
[[email protected] ~]$ wkhtmltoimage https://www.google.co.in sample.jpg loaded the Generic plugin Loading page (1/2) Error: Failed loading page https://www.google.co.in (sometimes it will work just to ignore this error with --load-error-handling ignore) Exit with code 1 due to network error: UnknownNetworkError
HTTP के साथ आंशिक रूप से काम कर रहे wkhtmltopdf LD_LIBRARY_PATH निर्धारित किया है। आउटपुट पीडीएफ फाइलें कुछ सामग्री/पृष्ठभूमि/पदों को याद करती हैं।
[[email protected] ~]$ wkhtmltopdf http://localhost:8880/ sample.pdf loaded the Generic plugin Loading page (1/2) Printing pages (2/2) Done Exit with code 1 due to network error: ContentNotFoundError [[email protected] ~]$ wkhtmltoimage http://localhost:8880/ sample.jpg loaded the Generic plugin Loading page (1/2) Rendering (2/2) Done Exit with code 1 due to network error: ContentNotFoundError
नोट: इम wkhtmltopdf-0.12.1-1.fc20.x86_64 और क्यूटी-4.8.6-10.fc20.x86_64
ये वास्तव में ऐसी चीजों की तरह लगते हैं जिन्हें गिथब इश्यू ट्रैकर में अशकुलज़ द्वारा सबसे अच्छा जवाब दिया जाएगा, मुझे लगता है कि आपका सबसे अच्छा भाग्य वहां से पूछेगा। – Nenotlep
देखें: [नेटवर्क त्रुटि के कारण कोड 1 से बाहर निकलें: ContentNotFoundError # 2051] (https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2051) – kenorb