On 28 Jul 2014 01:57, "John Hooks" <ho...@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.
>
>
> On Sat, Jul 26, 2014 at 11:48 PM, Anand Doshi <an...@iwebnotes.com> wrote:
>>
>> John. Are you using bench/honcho start or production setup?
>>
>> It not prod setup,
>> set "host_name": "http://yoursite:8000" I'm site_config.json and try.
>>
>> Sent from my phone
>>
>> On 27-Jul-2014, at 5:06, John Hooks <ho...@gmail.com> wrote:
>>
>>> By the way, the new print preview looks awesome!
>>>
>>> On Saturday, July 26, 2014 7:31:00 PM UTC-4, John Hooks wrote:
>>>>
>>>> Pratik,
>>>> I did an update and noticed that the pdf now isn't pulling in the html formatting correctly. The preview on the print screen looks correct but the pdf comes out with everything aligned on the left and the table has no borders.
>>>>
>>>> On Friday, July 25, 2014 3:15:09 PM UTC-4, Pratik Vyas wrote:
>>>>>
>>>>> On Sat, Jul 26, 2014 at 12:28 AM, John Hooks <ho…@gmail.com> wrote:
>>>>> > Pratik,
>>>>> > which wkhtmltopdf reports /usr/bin/wkhtmltopdf. I also cleared the
>>>>> > cache to make sure that wasn't the issue. Still gives me the same error.
>>>>> > Is there anything else to try?
>>>>>
>>>>> You could try restarting gunicorn
>>>>>
>>>>> You can also run wkhtmltopdf <a href="https://en.wikipedia.org">https://en.wikipedia.org</a> /dev/null
to
>>>>> see if it's producing any errors (maybe missing some dependencies like
>>>>> libxext or libxrender).
>>>>>
>>>>> >
>>>>> > On Friday, July 25, 2014 2:51:46 PM UTC-4, Pratik Vyas wrote:
>>>>> >>
>>>>> >> On Sat, Jul 26, 2014 at 12:18 AM, John Hooks <ho…@gmail.com> wrote:
>>>>> >> > I installed wkhtmltopdf and copied the fonts from the repo (I'm using
>>>>> >> > ubuntu) but I get Error generating PDF, attachment sent as HTML. Is
>>>>> >> > there
>>>>> >> > something else I have to do? thanks!
>>>>> >> >
>>>>> >> Hi John,
>>>>> >>
>>>>> >> wkhtmltopdf might not be in the path. If which wkhtmltopdf
returns a
>>>>> >> path in /usr/local/bin then, either you'll have to add it in the PATH
>>>>> >> in supervisor or symlink it in /usr/bin
>>>>> >>
>>>>> >> eg,
>>>>> >>
>>>>> >> ln -s /usr/local/bin/wkhtmltopdf /usr/bin/wkhtmltopdf
>>>>> >>
>>>>> >>
>>>>> >> > –
>>>>> >> > 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-forum+un…@googlegroups.com.
>>>>> >> > To view this discussion on the web visit
>>>>> >> >
>>>>> >> > https://groups.google.com/d/msgid/erpnext-developer-forum/4361fa63-9ae9-45ca-8ddd-25b51ea7f1bb%40googlegroups.com.
>>>>> >> > For more options, visit https://groups.google.com/d/optout.
>>>>> >>
>>>>> >>
>>>>> >>
>>>>> >> –
>>>>> >> Pratik
>>>>> >> erpnext
>>>>> >
>>>>> > –
>>>>> > 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-forum+un…@googlegroups.com.
>>>>> > To view this discussion on the web visit
>>>>> > https://groups.google.com/d/msgid/erpnext-developer-forum/cb7a2380-a0a2-444a-a000-f75522ad9981%40googlegroups.com.
>>>>> >
>>>>> > For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>>
>>>>>
>>>>> –
>>>>> Pratik
>>>>> erpnext
>>>
>>> –
>>> 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-forum+un…@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.
>>> For more options, visit https://groups.google.com/d/optout.
>>
>> –
>> 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 a topic in the Google Groups "ERPNext Developer Forum" group.
>> 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-forum+un…@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/A3F422A4-4DA0-4B97-8AC8-15447C2BFF52%40iwebnotes.com.
>>
>> For more options, visit https://groups.google.com/d/optout.
>
>
> –
> 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-forum+un…@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAK6hC1WB0rksPgLzSXSBf%2ByiiShp5agwWqvBRbFZBoYWbTeOAg%40mail.gmail.com.
>
> For more options, visit https://groups.google.com/d/optout.