Hi, I've installed Collection in this wiki:
http://www.eoi.es/wiki/

but when I try to download in PDF format it give an error [1].
However the download in ODT works well.

I have another error [2] when I try to save a book to share it.

The wiki is closed for edit (only can edit the authorized authors) and
open to view.
I'm using the pediapress server.

The configuration in LocalSettings.php it's the following (of course
I've changed the account and password here):

require_once("$IP/extensions/Collection/Collection.php");
$wgEnableWriteAPI = true;
$wgCollectionMWServeURL="http://tools.pediapress.com/mw-serve/";;
$wgCollectionMWServeCert="null";
$wgCollectionMWServeCredentials="useraccount:password";
$wgGroupPermissions['user']['collectionsaveasuserpage'] = true;
$wgGroupPermissions['user']['collectionsaveascommunitypage'] = true;
$wgCollectionFormats = array(
          'rl' => 'PDF',
          'odf' => 'ODT',
      );

This wiki is installed in a folder with its specific name
(mywikifolder/) but in the URL you see only wiki/

It's the first time that I use Collection in a wiki project. It seems
to be a very interesting extension, specially for this project where
several authors work together in a wiki to produce books that then
will be accessible for anybody to download.

Any help about how to resolve the problem will be welcome.
I'm feeling lost right now.
Thanks in advance

- David.

[1] ERROR TRYING TO DOWNLOAD PDF
Error del servidor de procesado

Ha ocurrido un error en el servidor de procesado: RuntimeError:
command failed with returncode 256: ['mw-render', '-w', u'rl', '-c',
u'/home/pp/cache/1b/1b482b13e9b38bb4/collection.zip', '-o', u'/home/pp/
cache/1b/1b482b13e9b38bb4/output.rl', '--status', u'qserve://localhost:
14311/1b482b13e9b38bb4:render-rl', '--template-blacklist',
u'MediaWiki:PDF Template Blacklist', '--template-exclusion-category',
u'Excluir al imprimir', '--print-template-prefix', u'Imprimir', '--
print-template-pattern', u'$1/Imprimir', '--username', u'LibreroEOI',
'--password', '{OMITTED}', '--language', u'es'] Last Output:
2012-02-16T15:13:57 mwlib.options.warn >> Both --print-template-
pattern and --print-template-prefix (deprecated) specified. Using --
print-template-pattern only. MISSING FONTS: 'AR PL UMing
HK','Nazli','UnBatang','Arundina Serif','Lohit Telugu','Sarai','Lohit
Punjabi','Lohit Oriya','AnjaliOldLipi','Kedage','LikhanNormal','Lohit
Tamil','Khmer' 1% reading /tmp/tmpFP8rsN/revisions-1.txt 1% laying out
2012-02-16T15:13:58 rlwriter.info >> rendering: u'http://www.eoi.es/
wiki/index.php?oldid=3375' 1% laying out Oportunidades de negocio para
la ecoinnovación2012-02-16T15:13:58 rlwriter.info >> scaling down text
in wide table by factor of 0.85 25.6666666667% laying out
Oportunidades de negocio para la ecoinnovación2012-02-16T15:13:58
rlwriter.info >> rendering: u'http://www.eoi.es/wiki/index.php?
oldid=3386' 25.6666666667% laying out Negocios en clave de
sostenibilidad para la empresa. en Oportunidades de negocio para la
ecoinnovación50.3333333333% laying out Negocios en clave de
sostenibilidad para la empresa. en Oportunidades de negocio para la
ecoinnovación2012-02-16T15:13:58 rlwriter.info >> rendering: u'http://
www.eoi.es/wiki/index.php?oldid=3203' 50.3333333333% laying out
Entorno en Oportunidades de negocio para la
ecoinnovación50.3333333333% error Entorno en Oportunidades de negocio
para la ecoinnovaciónremoving '/tmp/tmpFP8rsN' Traceback (most recent
call last): File "/home/pp/local/bin/mw-render", line 9, in <module>
load_entry_point('mwlib==0.13.3', 'console_scripts', 'mw-render')()
File "/home/pp/local/lib/python2.7/site-packages/mwlib/apps/
render.py", line 211, in main return Main()() File "/home/pp/local/lib/
python2.7/site-packages/mwlib/apps/render.py", line 176, in __call__
writer(env, output=tmpout, status_callback=self.status,
**writer_options) File "/home/pp/local/lib/python2.7/site-packages/
mwlib/rl/rlwriter.py", line 2186, in writer r.writeBook(output=output,
coverimage=coverimage, status_callback=status_callback) File "/home/pp/
local/lib/python2.7/site-packages/mwlib/rl/rlwriter.py", line 480, in
writeBook art_elements = self.writeArticle(art) File "/home/pp/local/
lib/python2.7/site-packages/mwlib/rl/rlwriter.py", line 811, in
writeArticle elements.extend(self.renderMixed(article)) File "/home/pp/
local/lib/python2.7/site-packages/mwlib/rl/rlwriter.py", line 1090, in
renderMixed res = self.write(c) File "/home/pp/local/lib/python2.7/
site-packages/mwlib/rl/rlwriter.py", line 335, in write res = m(obj)
File "/home/pp/local/lib/python2.7/site-packages/mwlib/rl/
rlwriter.py", line 2044, in writeTable t.colwidths =
rltables.optimizeWidths(t.min_widths, t.max_widths, avail_width,
stretch=stretch) File "/home/pp/local/lib/python2.7/site-packages/
mwlib/rl/rltables.py", line 242, in optimizeWidths return [ w+w/
total_current*remaining for w in max_widths] ZeroDivisionError:
division by zero in function system, file ./bin/nslave.py, line 63

[2] ERROR TRYING TO SAVE THE BOOK

Unexpected non-MediaWiki exception encountered, of type
"UsageException"
badtoken: Invalid token

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

Reply via email to