>> > email to erpnext-developer-forum+unsub...@googlegroups.com.
>> > email to erpnext-developer-forum+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/6cf2027d-f6d8-423d-a98e-a073ae26efdd%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "ERPNext Developer Forum" group.To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/A3F422A4-4DA0-4B97-8AC8-15447C2BFF52%40iwebnotes.com.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/AOz790DYP_4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to erpnext-developer...@googlegroups.com.
On 28 Jul 2014 01:57, "John Hooks" <hook...@gmail.com> wrote:
>
> I'm using production. I was going to to stop nginx and supervisor but I didn't see where site_config.json is?
It's at frappe-bench/sites/SITENAME/site_config.json
You don't have restart gunicorn to change the site config.
>>>>> >> > email to erpnext-developer...@googlegroups.com.
>>>>> >> > To view this discussion on the web visit
>>>>> >> >
> To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAK6hC1WB0rksPgLzSXSBf%2ByiiShp5agwWqvBRbFZBoYWbTeOAg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAG8U0E%3D9rQphcbQtvZYQXEQggzfJESDxC-OuZ3oo7ZFiRmDpmw%40mail.gmail.com.
Traceback (innermost last): File "/home/john/frappe-bench/apps/frappe/frappe/app.py", line 54, in application response = frappe.api.handle() File "/home/john/frappe-bench/apps/frappe/frappe/api.py", line 42, in handle return frappe.handler.handle() File "/home/john/frappe-bench/apps/frappe/frappe/handler.py", line 66, in handle execute_cmd(cmd) File "/home/john/frappe-bench/apps/frappe/frappe/handler.py", line 84, in execute_cmd ret = frappe.call(method, **frappe.form_dict) File "/home/john/frappe-bench/apps/frappe/frappe/__init__.py", line 524, in call return fn(*args, **newargs) File "/home/john/frappe-bench/apps/frappe/frappe/templates/pages/print.py", line 91, in download_pdf frappe.local.response.filecontent = get_pdf(html) File "/home/john/frappe-bench/apps/frappe/frappe/utils/pdf.py", line 28, in get_pdf pdfkit.from_string(html, fname, options=options or {}) File "/home/john/frappe-bench/env/local/lib/python2.7/site-packages/pdfkit/api.py", line 68, in from_string return r.to_pdf(output_path) File "/home/john/frappe-bench/env/local/lib/python2.7/site-packages/pdfkit/pdfkit.py", line 109, in to_pdf raise IOError('wkhtmltopdf reported an error:\n' + stderr.decode('utf-8')) IOError: wkhtmltopdf reported an error: Loading pages (1/6) [> ] 0% [======> ] 10% [=========> ] 16% Warning: Failed to load http://site1.local/assets/frappe/css/bootstrap.css (ignore) [============================================================] 100% Counting pages (2/6) [============================================================] Object 1 of 1 Resolving links (4/6) [============================================================] Object 1 of 1 Loading headers and footers (5/6) Printing pages (6/6) [> ] Preparing [==============================> ] Page 1 of 2 [============================================================] Page 2 of 2 Done Exit with code 1 due to network error: HostNotFoundError
Traceback (innermost last): File "/home/john/frappe-bench/apps/frappe/frappe/app.py", line 54, in application response = frappe.api.handle() File "/home/john/frappe-bench/apps/frappe/frappe/api.py", line 42, in handle return frappe.handler.handle() File "/home/john/frappe-bench/apps/frappe/frappe/handler.py", line 66, in handle execute_cmd(cmd) File "/home/john/frappe-bench/apps/frappe/frappe/handler.py", line 84, in execute_cmd ret = frappe.call(method, **frappe.form_dict) File "/home/john/frappe-bench/apps/frappe/frappe/__init__.py", line 524, in call return fn(*args, **newargs) File "/home/john/frappe-bench/apps/frappe/frappe/templates/pages/print.py", line 91, in download_pdf frappe.local.response.filecontent = get_pdf(html) File "/home/john/frappe-bench/apps/frappe/frappe/utils/pdf.py", line 28, in get_pdf pdfkit.from_string(html, fname, options=options or {}) File "/home/john/frappe-bench/env/local/lib/python2.7/site-packages/pdfkit/api.py", line 68, in from_string return r.to_pdf(output_path) File "/home/john/frappe-bench/env/local/lib/python2.7/site-packages/pdfkit/pdfkit.py", line 109, in to_pdf raise IOError('wkhtmltopdf reported an error:\n' + stderr.decode('utf-8')) IOError: wkhtmltopdf reported an error: Loading pages (1/6) [> ] 0% [======> ] 10% [=========> ] 16% [=========================> ] 43% [============================================================] 100% Counting pages (2/6) [============================================================] Object 1 of 1 Resolving links (4/6) [============================================================] Object 1 of 1 Loading headers and footers (5/6) Printing pages (6/6) [> ] Preparing [============================================================] Page 1 of 1 Done Exit with code 1 due to network error: HostNotFoundError
Pratik,
--
Note:
If you are posting an issue,
1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
---
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAK6hC1V0coZCm%3DeOc4iDGW2%2BEEjnSyNgti29ajtMACWe0zN6nA%40mail.gmail.com.
You received this message because you are subscribed to a topic in the Google Groups "ERPNext Developer Forum" group.To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAAQzbF3hHiH3u4jDi10sw-ZhVuqKvzJAhqPWwGDryYmv9Shdzw%40mail.gmail.com.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/AOz790DYP_4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to erpnext-developer...@googlegroups.com.