hi,

as admin of my company´s mediawiki am new to the mwlib / collection
stuff.

we have mediawiki 1.14 on linux and the mwlib render-server installed
(2 days ago) on another linux server.

it works fine with pdf but i don´t get images in odt-files.

LocalSettings.php:
************************

require_once("$IP/extensions/Collection/Collection.php");
$wgEnableApi = true;
$wgCollectionMWServeURL = "http://xxx.xxx.co.at:8899";;

$wgCollectionFormats = array(
           'rl' => 'PDF',
           'odf' => 'ODT',
       );

mwlib´s messages when generating an odt with a picture:
**********************************************************************

mw-render: error: bad --print-template-pattern argument [must contain
$1, but u'/Druck' does not]
2010-03-17T14:03:49 mwlib.options.warn >> Both --print-template-
pattern and --print-template-prefix (deprecated) specified. Using --
print-template-pattern only.
Warning: unknown writer option 'lang'
1%  /usr/lib/python2.5/site-packages/mwlib-0.12.12-py2.5-linux-
i686.egg/mwlib/metabook.py:214: DeprecationWarning: deprecated call
get('mw_license_url')
  if l.get('mw_license_url'):
/usr/lib/python2.5/site-packages/mwlib-0.12.12-py2.5-linux-i686.egg/
mwlib/metabook.py:229: DeprecationWarning: deprecated call
get('mw_rights_text')
  if l.get('mw_rights_text'):
/usr/lib/python2.5/site-packages/mwlib-0.12.12-py2.5-linux-i686.egg/
mwlib/metabook.py:231: DeprecationWarning: deprecated call
get('mw_rights_page')
  if l.get('mw_rights_page'):
/usr/lib/python2.5/site-packages/mwlib-0.12.12-py2.5-linux-i686.egg/
mwlib/metabook.py:233: DeprecationWarning: deprecated call
get('mw_rights_url')
  if l.get('mw_rights_url'):
creating nuwiki in u'/var/cache/mw-serve/b8/b8f22fdc152eae77/tmpTgbk5Y/
nuwiki'
1% fetching 1% fetching 1% fetching 1% fetching 1% fetching 1%
fetching 1% fetching 1% fetching 1% fetching 1% fetching 1% fetching
1% fetching 1% fetching 1% fetching 1% fetching 1% fetching 1%
fetching 1% fetching 1% fetching 1% fetching 1% fetching 1% fetching
1% fetching Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/Twisted-10.0.0-py2.5-linux-
i686.egg/twisted/internet/defer.py", line 371, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib/python2.5/site-packages/mwlib-0.12.12-py2.5-linux-
i686.egg/mwlib/net/mwapi.py", line 134, in doit
    d.callback(None)
  File "/usr/lib/python2.5/site-packages/Twisted-10.0.0-py2.5-linux-
i686.egg/twisted/internet/defer.py", line 280, in callback
    self._startRunCallbacks(result)
  File "/usr/lib/python2.5/site-packages/Twisted-10.0.0-py2.5-linux-
i686.egg/twisted/internet/defer.py", line 354, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib/python2.5/site-packages/Twisted-10.0.0-py2.5-linux-
i686.egg/twisted/internet/defer.py", line 371, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib/python2.5/site-packages/mwlib-0.12.12-py2.5-linux-
i686.egg/mwlib/net/fetch.py", line 548, in _cb_got_api
    assert api
exceptions.AssertionError:
retrying: could not fetch 'http://info/w/api.php?
action=query&meta=siteinfo&siprop=general&format=json'
retrying: could not fetch 'http://info/wiki/api.php?
action=query&meta=siteinfo&siprop=general&format=json'
retrying: could not fetch 'http://info/api.php?
action=query&meta=siteinfo&siprop=general&format=json'
1% fetching 1% fetching
removing tmpdir u'/var/cache/mw-serve/b8/b8f22fdc152eae77/tmpTgbk5Y'
reading /tmp/tmpgAFf87/revisions-1.txt
34% parsing Sandbox67% parsing 67% preprocessing 73% rendering /usr/
lib/python2.5/site-packages/mwlib-0.12.12-py2.5-linux-i686.egg/mwlib/
odfwriter.py:142: DeprecationWarning: deprecated call get('title')
 
self.doc.meta.addElement(dc.Title(text=self.env.metabook.get("title",
"")))
2010-03-17T14:03:53 odfwriter >> u'processing article Sandbox'
2010-03-17T14:03:53 odfwriter >> writing to u'/var/cache/mw-serve/b8/
b8f22fdc152eae77/tmp3_dm-s'
100% finished removing '/tmp/tmpgAFf87'

can anybody help me, what is wrong here - if you need additional
information on our installation please let me know.

regards

Thomas


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