Running my own render server against a private wiki.

mediawiki 1.15.1
mwlib 0.12.12
mwlib.rl 0.12.4

Relevant parts of my LocalSettings.php
require_once("$IP/extensions/Collection/Collection.php");

$wgCollectionMWServeURL = "http://my.renderserver.com:8899/";;
$wgCollectionMWServerCredentials = "username:password:local";
$wgEnableApi = true;
$wgLicenseURL = "http://mywiki.com/index.php?title=Help:Books/
License&action=raw&templates=expand";
$wgCollectionFormats = array (
                'rl' => 'PDF',
                'odf' => 'ODT',
);


2010-01-07T11:52:10 mwlib.options.warn >> Both --print-template-
pattern and --print-template-prefix (deprecated) specified. Using --
print-template-pattern only.
font not found: ttf-sil-ezra/SILEOT.ttf
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
1%  /usr/local/lib/python2.6/dist-packages/mwlib-0.12.12-py2.6-linux-
i686.egg/mwlib/metabook.py:214: DeprecationWarning: deprecated call get
('mw_license_url')
  if l.get('mw_license_url'):
/usr/local/lib/python2.6/dist-packages/mwlib-0.12.12-py2.6-linux-
i686.egg/mwlib/metabook.py:229: DeprecationWarning: deprecated call get
('mw_rights_text')
  if l.get('mw_rights_text'):
/usr/local/lib/python2.6/dist-packages/mwlib-0.12.12-py2.6-linux-
i686.egg/mwlib/metabook.py:231: DeprecationWarning: deprecated call get
('mw_rights_page')
  if l.get('mw_rights_page'):
/usr/local/lib/python2.6/dist-packages/mwlib-0.12.12-py2.6-linux-
i686.egg/mwlib/metabook.py:233: DeprecationWarning: deprecated call get
('mw_rights_url')
  if l.get('mw_rights_url'):
creating nuwiki in u'/data/mwcache/mwlibcache/df/df5d910c338d4d98/
tmpSoJY_v/nuwiki'
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/local/lib/python2.6/dist-packages/Twisted-9.0.0-py2.6-
linux-i686.egg/twisted/internet/defer.py", line 307, in
_startRunCallbacks
    self._runCallbacks()
  File "/usr/local/lib/python2.6/dist-packages/Twisted-9.0.0-py2.6-
linux-i686.egg/twisted/internet/defer.py", line 323, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/Twisted-9.0.0-py2.6-
linux-i686.egg/twisted/internet/defer.py", line 238, in callback
    self._startRunCallbacks(result)
  File "/usr/local/lib/python2.6/dist-packages/Twisted-9.0.0-py2.6-
linux-i686.egg/twisted/internet/defer.py", line 307, in
_startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/local/lib/python2.6/dist-packages/Twisted-9.0.0-py2.6-
linux-i686.egg/twisted/internet/defer.py", line 323, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/mwlib-0.12.12-py2.6-
linux-i686.egg/mwlib/net/mwapi.py", line 287, in got_result
    raise RuntimeError("%s: [fetching %s]" % (error.get("info", ""),
self._build_url(**kwargs)))
exceptions.RuntimeError: You need read permission to use this module:
[fetching
http://mywiki.com/api.php?tllimit=500&format=json&action=query&prop=revisions|templates|images&imlimit=500&revids=6&rvprop=ids]
1% fetching 1% fetching Unhandled error in Deferred:
Traceback (most recent call last):
Failure: exceptions.RuntimeError: could not get siteinfo
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/Twisted-9.0.0-py2.6-
linux-i686.egg/twisted/internet/defer.py", line 307, in
_startRunCallbacks
    self._runCallbacks()
  File "/usr/local/lib/python2.6/dist-packages/Twisted-9.0.0-py2.6-
linux-i686.egg/twisted/internet/defer.py", line 323, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/Twisted-9.0.0-py2.6-
linux-i686.egg/twisted/internet/defer.py", line 238, in callback
    self._startRunCallbacks(result)
  File "/usr/local/lib/python2.6/dist-packages/Twisted-9.0.0-py2.6-
linux-i686.egg/twisted/internet/defer.py", line 307, in
_startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/local/lib/python2.6/dist-packages/Twisted-9.0.0-py2.6-
linux-i686.egg/twisted/internet/defer.py", line 323, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/mwlib-0.12.12-py2.6-
linux-i686.egg/mwlib/net/mwapi.py", line 287, in got_result
    raise RuntimeError("%s: [fetching %s]" % (error.get("info", ""),
self._build_url(**kwargs)))
exceptions.RuntimeError: You need read permission to use this module:
[fetching 
http://mywiki.com/api.php?action=query&meta=siteinfo&siprop=general|namespaces|interwikimap&format=json]
fatal: could not get siteinfo [[Failure instance: Traceback: <type
'exceptions.RuntimeError'>: You need read permission to use this
module: [fetching 
http://mywiki.com/api.php?action=query&meta=siteinfo&siprop=general|namespaces|interwikimap&format=json]
/usr/local/lib/python2.6/dist-packages/Twisted-9.0.0-py2.6-linux-
i686.egg/twisted/internet/defer.py:307:_startRunCallbacks
/usr/local/lib/python2.6/dist-packages/Twisted-9.0.0-py2.6-linux-
i686.egg/twisted/internet/defer.py:323:_runCallbacks
/usr/local/lib/python2.6/dist-packages/Twisted-9.0.0-py2.6-linux-
i686.egg/twisted/internet/defer.py:238:callback
/usr/local/lib/python2.6/dist-packages/Twisted-9.0.0-py2.6-linux-
i686.egg/twisted/internet/defer.py:307:_startRunCallbacks
--- <exception caught here> ---
/usr/local/lib/python2.6/dist-packages/Twisted-9.0.0-py2.6-linux-
i686.egg/twisted/internet/defer.py:323:_runCallbacks
/usr/local/lib/python2.6/dist-packages/mwlib-0.12.12-py2.6-linux-
i686.egg/mwlib/net/mwapi.py:287:got_result
]]
removing tmpdir u'/data/mwcache/mwlibcache/df/df5d910c338d4d98/
tmpSoJY_v'
1% error Traceback (most recent call last):
  File "/usr/local/bin/mw-render", line 8, in <module>
    load_entry_point('mwlib==0.12.12', 'console_scripts', 'mw-render')
()
  File "/usr/local/lib/python2.6/dist-packages/mwlib-0.12.12-py2.6-
linux-i686.egg/mwlib/apps/render.py", line 210, in main
    return Main()()
  File "/usr/local/lib/python2.6/dist-packages/mwlib-0.12.12-py2.6-
linux-i686.egg/mwlib/apps/render.py", line 169, in __call__
    env = self.get_environment()
  File "/usr/local/lib/python2.6/dist-packages/mwlib-0.12.12-py2.6-
linux-i686.egg/mwlib/apps/render.py", line 101, in get_environment
    self.zip_filename = make_zip(output=self.options.keep_zip,
options=self.options, metabook=env.metabook, status=self.status)
  File "/usr/local/lib/python2.6/dist-packages/mwlib-0.12.12-py2.6-
linux-i686.egg/mwlib/apps/buildzip.py", line 58, in make_zip
    make_nuwiki(fsdir, metabook=metabook, options=options,
podclient=podclient, status=status)
  File "/usr/local/lib/python2.6/dist-packages/mwlib-0.12.12-py2.6-
linux-i686.egg/mwlib/apps/make_nuwiki.py", line 171, in make_nuwiki
    raise RuntimeError(str(val))
RuntimeError: [Failure instance: Traceback (failure with no frames):
<type 'exceptions.RuntimeError'>: could not get siteinfo
]
-- 
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