Dear all,

I tried to install a local copy of mwlib and mwlib.rl to have better
PDF exporting options on my wiki. I installed mwlib and mwlib.rl using
easy_install (on Ubuntu 11.10). Even though I have installed python-
pyfribidi and ttf-* with apt, I get this (even this is not my problem
up to now)
===========
$ mw-render --list-writersodf   OpenDocument Text
/usr/local/lib/python2.7/dist-packages/mwlib.ext-0.12.4-py2.7-linux-
i686.egg/mwlib/ext/reportlab/pdfbase/pdfmetrics.py:35: UserWarning:
pyfribidi is not installed - RTL not supported
  warnings.warn('pyfribidi is not installed - RTL not supported')
/usr/local/lib/python2.7/dist-packages/mwlib.ext-0.12.4-py2.7-linux-
i686.egg/mwlib/ext/reportlab/pdfgen/textobject.py:23: UserWarning:
pyfribidi is not installed - RTL not supported
  warnings.warn('pyfribidi is not installed - RTL not supported')
font not found: arphic/uming.ttc
font not found: ttf-farsiweb/nazli.ttf
font not found: unfonts/UnBatang.ttf
font not found: ttf-thai-arundina/ArundinaSans.ttf
font not found: ttf-telugu-fonts/lohit_te.ttf
font not found: ttf-devanagari-fonts/Sarai_07.ttf
font not found: ttf-indic-fonts-core/lohit_pa.ttf
font not found: ttf-oriya-fonts/lohit_or.ttf
font not found: ttf-malayalam-fonts/AnjaliOldLipi.ttf
font not found: ttf-kannada-fonts/Kedage-n.ttf
font not found: ttf-bengali-fonts/LikhanNormal.ttf
font not found: ttf-indic-fonts-core/lohit_ta.ttf
rl      PDF documents (using ReportLab)
===========

The problem is that whatever exporting I try (zip, odf, pdf) this:
===========
$ mw-render -c :en -w odf -o nasa.odt NASA
creating nuwiki in '/tmp/tmpGIVaBm/nuwiki'
2011-11-01T11:21:47 mwlib.utils.info >> fetching 'http://
en.wikipedia.org/w/index.php?title=Help:Books/
License&action=raw&templates=expand'
Traceback (most recent call last):
  File "core.pyx", line 337, in gevent.core.__simple_handler (gevent/
core.c:4494)
SystemError: NULL result without error in PyObject_Call
Failed to execute callback for active_event fd=-1 flags=INIT
  cb  = <built-in method switch of Greenlet object at 0xa2031ec>
  arg = ((), { })

Traceback (most recent call last):
  File "core.pyx", line 337, in gevent.core.__simple_handler (gevent/
core.c:4494)
SystemError: NULL result without error in PyObject_Call
Failed to execute callback for active_event fd=-1 flags=INIT
  cb  = <built-in method switch of Greenlet object at 0xa2032ac>
  arg = ((), { })
===========

and the program does not exit (no CPU usage, though).

Does anyone have some suggestions? Thanks.

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