I check tcp stream(HTTP Response) when normal case and problem case.
===Normal download case with defalut render server==== HTTP/1.1 200 OK Date: Wed, 27 Jun 2012 09:05:55 GMT Server: Apache X-Powered-By: PHP/5.3.14 P3P: CP="ALL CURa ADMa DEVa TAIa OUR BUS IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC OTC" X-Content-Type-Options: nosniff Vary: Accept-Encoding Content-Length: 60970 Content-Disposition: inline; filename=collection.pdf Keep-Alive: timeout=15, max=99 Connection: Keep-Alive Content-Type: application/pdf %PDF-1.4 %뱦떈 ReportLab Generated PDF document http://www.reportlab.com % 'BasicFonts': class PDFDictionary 1 0 obj % The standard fonts dictionary << /F1+0 16 0 R (skip rest of stream) ============================================ ======Problem case with own render server============ HTTP/1.1 200 OK Date: Wed, 27 Jun 2012 08:32:58 GMT Server: Apache X-Powered-By: PHP/5.3.14 P3P: CP="ALL CURa ADMa DEVa TAIa OUR BUS IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC OTC" X-Content-Type-Options: nosniff Content-language: en X-Frame-Options: DENY Vary: Accept-Encoding,Cookie Expires: Thu, 01 Jan 1970 00:00:00 GMT Cache-Control: no-cache, no-store, max-age=0, must-revalidate Pragma: no-cache Content-Encoding: gzip Content-Length: 5259 Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8 ? ?ks珉쿊C轢 넬썘?`p?캅圄됥??앁=??i I?뜉9벋切{ z ?N跨?最諦c벨{ ?陳遵??뱣 ??풥@즥?멌<_?@ 눡 M뮒?>땊#淑뎰?鎚K?`洶Bpq罔/돤륤J? ?例??CZ???c 1A%?x$ u???炊>i7?싴J#햮\&? ?뤯?|훱€?떲룱D? 稈춗?캱?H w[?l??M삗 _?. [n2k)T? 룁S? 훦?? .쩁J? qkDo凋 U 0*?C? ? 푃Ο? "t㈖ W?B읹낥?i? ?R ???M$ ? i ]??? m/肋礬冶뢦? 뎉恁N1懶G2~?6?纘? ??? ?J??X'`#?yA 햇" / 뷿 ?pBM?? ( 1?쩀i?緋"f췖껒G?녈 X K?놇Kl旻?뒘 (skip rest of stream) ============================================ Content type is different.. Any idea? Thanks, On Saturday, June 23, 2012 1:36:09 AM UTC+9, cabalero wrote: > > Hi All, > > I installed mwlib 0.13.8 on my server and I checked exporting PDF > worked well with 'mw-render' command. > > But exporting PDF through collection extension with my render server > doesn't work well. > Rendering worked well. But after rendering finish, when I click > download link. > 'File not found' error message occured. > > I checked render server. And I can found collect.zip file is in tmp > folder. > It seems that the zip file did not converted to pdf file, so 'file not > found' message occur. > (mediawiki version is 1.19 and I received collection from git ) > > About render server, I just execute below four basic commands. > $ nserve.py > $ mw-qserve > $ nslave.py --cachedir={{cache url}} > $ postman.py -cachedir={{cache url}} > > > I think above error might related with render server setting, cause > when I set render server as default (http://tools.pediapress.com/mw- > serve/ <http://tools.pediapress.com/mw-serve/>) > exporting worked well. > > Anyone can help me to set render server well or let me know other > cause? > > Thanks, -- You received this message because you are subscribed to the Google Groups "mwlib" group. To view this discussion on the web visit https://groups.google.com/d/msg/mwlib/-/EfMqzjvOR6cJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/mwlib?hl=en.
