This is server side TCP stream..
 
I cannot understand why bookcmd='download' request is received and ended as 
'render_status' command on server..
 
===================================
POST / HTTP/1.0
Host: 118.33.113.13:8899
Accept: */*
Accept-Encoding: deflate, gzip
Referer: https://www.pentasecurity.com/csw/index.php/Special:Book
User-Agent: MediaWiki/1.19.1
Content-Length: 370
Content-Type: multipart/form-data; 
boundary=----------------------------4d40e8b16a8c
------------------------------4d40e8b16a8c
Content-Disposition: form-data; name="collection_id"
70096f4af14a150c
------------------------------4d40e8b16a8c
Content-Disposition: form-data; name="writer"
rl
------------------------------4d40e8b16a8c
Content-Disposition: form-data; name="command"
render_status
------------------------------4d40e8b16a8c--

HTTP/1.0 200 OK
Content-Length: 264
Content-Type: application/json
Connection: close
Date: Wed, 27 Jun 2012 10:19:55 GMT
{"content_length": 83224, "state": "finished", "content_type": 
"application/pdf", "url": "
http://192.168.3.135:8898/cache/70/70096f4af14a150c/output.rl";, 
"collection_id": "70096f4af14a150c", "writer": "rl", "content_disposition": 
"inline; filename=collection.pdf"}
======================================================
 

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,


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,


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,


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/-/oi2j2WLB2WgJ.
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.

Reply via email to