Found that call('wkhtmltopdf .....') not work Nginx, Thank you Ariya
On Thursday, January 15, 2015 at 8:54:25 PM UTC+7, Ariya Owam-aram wrote: > > Hi Bruno, > > I install wkhtmltopdf and integrate with web2py by using subprocess.call, > it work very well on my macbook (rocket server). But I can't success > running subprocess.call on production server (Ngix). I also test > subprocess.call wkthtmltopdf from web2py's shell (admin) it return non-zero > number as output. (nothing comeout) > > But suprocess.call wkhtmltopdf is working well in the web2py shell (python > web2py.py -S app -M). > > Now I don't know where to go next? > > Can you please tell me what I missing. > > Thank you in advanced. > Ariya > > On Thursday, December 6, 2012 at 3:36:50 AM UTC+7, rochacbruno wrote: >> >> I found this excellent command line tool: >> http://code.google.com/p/wkhtmltopdf/ >> >> It generates the PDF qith a very nice quality and I see it is easy to >> integrate on web2py applications using pysh or subprocess. >> >> http://code.google.com/p/wkhtmltopdf/ >> >> >> *Bruno Cezar Rocha** - @rochacbruno* >> rocha...@gmail.com | Mobile: +55 (11) 99210-8821 >> www.CursoDePython.com.br | www.rochacbruno.com.br >> Blog: microblog app <http://rochacbruno.com.br/microblog-app/> >> Get a signature like this. >> <http://r1.wisestamp.com/r/landing?promo=18&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_18> >> Click >> here. >> <http://r1.wisestamp.com/r/landing?promo=18&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_18> >> >> >> > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.