ciao,

we've installed mediawiki 1.19.2 on ubuntu 12.04.1 server, here
http://hoepliwikicico.alekos.net:8080/

Collection extension 1.19, also tried development version

mwlib install goes fine following 
http://mwlib.readthedocs.org/en/latest/installation.html#ubuntu-install
also AcDc.pdf test file works

but when we try to render our wiki pages, and make pdf, e.g. the main page, 
we get this error:


Si รจ verificato un errore sul server di conversione: RuntimeError: 
> RuntimeError: command failed with returncode 256: ['mw-zip', '-o', 
> '/home/pp/cache/51/51f6743cb3abc9f0/collection.zip', '-m', 
> '/home/pp/cache/51/51f6743cb3abc9f0/metabook.json', '--status', 
> 'qserve://localhost:14311/51f6743cb3abc9f0:makezip', 
> '--template-blacklist', 'MediaWiki:PDF Template Blacklist', 
> '--template-exclusion-category', 'Escludi dalla stampa', 
> '--print-template-prefix', 'Stampa', '--print-template-pattern', 
> '$1/Stampa'] Last Output: 2012-09-28T16:45:42 mwlib.options.warn >> Both 
> --print-template-pattern and --print-template-prefix (deprecated) 
> specified. Using --print-template-pattern only. 1% creating nuwiki in 
> u'/home/pp/cache/51/51f6743cb3abc9f0/tmpz4eYqL/nuwiki' removing tmpdir 
> u'/home/pp/cache/51/51f6743cb3abc9f0/tmpz4eYqL' memory used: res=16.4 
> virt=123.1 1% error Traceback (most recent call last): File 
> "/home/pp/local/bin/mw-zip", line 9, in <module> 
> load_entry_point('mwlib==0.13.10', 'console_scripts', 'mw-zip')() File 
> "/home/pp/local/lib/python2.7/site-packages/mwlib/apps/buildzip.py", line 
> 155, in main make_zip(output, options, env.metabook, podclient=podclient, 
> status=status) File 
> "/home/pp/local/lib/python2.7/site-packages/mwlib/apps/buildzip.py", line 
> 50, in make_zip make_nuwiki(fsdir, metabook=metabook, options=options, 
> podclient=podclient, status=status) File 
> "/home/pp/local/lib/python2.7/site-packages/mwlib/apps/make_nuwiki.py", 
> line 152, in make_nuwiki assert x.wikiident in id2wiki, "no wikiconf for %r 
> (%s)" % (x.wikiident, x) AssertionError: no wikiconf for None (<article 
> {'_env': <mwlib.wiki.Environment object at 0xf94810>, 'content_type': 
> u'text/x-wiki', 'title': u'Pagina principale', 'timestamp': u'1348508658', 
> 'type': 'article', 'revision': u'30'}>) in function system, file 
> ./bin/nslave.py, line 64 in function qaddw, file 
> /home/pp/local/lib/python2.7/site-packages/qs/slave.py, line 66 


maybe a PATH error, as we have no pp user, but the code says "home/pp" as 
path, so a virtualenv error?
or other mw-zip error, but where?
we're not good in pyhton...
no clues found in groups archive

thanks for attention and any help will be appreciate

A.S.

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