mw-render works on my linux server. And i've used Network Monitor to get the http&tcp package. I found my wiki server has got the content of the pdf file. So the problem should be on my wiki server configuration. Do i need to do any privilege configurations? I've added following LocalSettings: $wgGroupPermissions['user']['collectionsaveasuserpage'] = true; $wgGroupPermissions['autoconfirmed']['collectionsaveascommunitypage'] = true; $wgEnableAPI = true; $wgEnableWriteAPI = true;
Not clear where does mediawiki put the downloaded pd file before send to user browser. Is it in memory? thanks, leif 2010/4/20 Ralf Schmitt <[email protected]> > leif wang <[email protected]> writes: > > > Ralf, > > > > Now i cannot get pdf correctly on my wiki. > > > > The following is the output log on my linux console: > > 2010-04-19T10:48:23 mwlib.serve.info >> queuing ['mw-render', > '--logfile', '/var/cache/mw-serve/46/ > > 46ff8e1cd5d8cc7b/mw-render.log.rl', '--error-file', > '/var/cache/mw-serve/46/46ff8e1cd5d8cc7b/errors.rl', > > '--status-file', '/var/cache/mw-serve/46/46ff8e1cd5d8cc7b/status.rl', > '--writer', 'rl', '--output', '/ > > var/cache/mw-serve/46/46ff8e1cd5d8cc7b/output.rl', '--pid-file', > '/var/cache/mw-serve/46/ > > 46ff8e1cd5d8cc7b/pid.rl', '--metabook', > '/var/cache/mw-serve/46/46ff8e1cd5d8cc7b/metabook.json', > > '--keep-zip', '/var/cache/mw-serve/46/46ff8e1cd5d8cc7b/collection.zip', > '--config', 'http://T00241-179/ > > koinos', '--template-blacklist', 'MediaWiki:PDF Template Blacklist', > '--template-exclusion-category', > > 'Exclude in print', '--print-template-prefix', 'Print', > '--print-template-pattern', '$1/Print', > > '--script-extension', '.php', '--language', 'en'] > > > > And i've checked the cache folder, "collection.zip" is generated while > there are no files with *.pdf in > > the zip file. On the wiki side, the download link shows me to download > "collection.pdf" file. After i > > saved locally, the pdf file is 0 byte. > > Please test rendering by running the following: > > ,---- > | mw-render -c :en -o test.pdf -w rl ACDC > `---- > > if that works, please show us mw-watch output. > > -- > You received this message because you are subscribed to the Google Groups > "mwlib" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected] <mwlib%[email protected]>. > For more options, visit this group at > http://groups.google.com/group/mwlib?hl=en. > > -- You received this message because you are subscribed to the Google Groups "mwlib" group. 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.
