Hi Voker,

Absolutely 100% sure on that one.

i have no idea if this could be some kind of bug, all i know is that the render server doent work whether i use the pediapress server address or i try to use my own render server.

All other extensions work without any problems whatsoever.

Adam



On 31/05/2011 13:34, Volker Haas wrote:
Hi Adam

On 05/31/2011 02:28 PM, Adam Clamp wrote:
Hi Voker

Everything else on the wiki works just fine and i've not experienced any other errors apart from the collection related error.

The file api.php does not exist thats why it does not work.

Are you sure? http://205.153.116.94/~crinwiki/api.php
The output looks ok. Also certain api calls seem to work, e.g. http://205.153.116.94/~crinwiki/api.php?action=query&prop=revisions&titles=API|Main%20Page&rvprop=timestamp|user|comment|content


But accessing the siteinfo fails with the following error:

Fatal error: Call to a member function getPrefixedText() on a non-object in /home/crinwiki/public_html/includes/api/ApiQuerySiteinfo.php on line 110

Could this be some php/Mediawiki bug?

Volker



Adam






On 31/05/2011 13:14, Volker Haas wrote:
There seems to be a problem with the configuration of your wiki.

Accessing the siteinfo fails:

http://205.153.116.94/~crinwiki/api.php?action=query&meta=siteinfo

On 05/28/2011 12:02 PM, greenercomputing wrote:
We have just installed the Collection extension in our WIKI and it
works fine until the render stage. At this point we get the following:

An error occured on the render server: RuntimeError: RuntimeError:
command failed with returncode 256: ['mw-zip', '-o', u'cache/d0/
d0b96f725a28b1f9/collection.zip', '-m', u'cache/d0/d0b96f725a28b1f9/
metabook.json', '--status', u'qserve://localhost:14311/
d0b96f725a28b1f9:makezip', '--config', u'http://205.153.116.94/
~crinwiki', '--template-blacklist', u'MediaWiki:PDF Template
Blacklist', '--template-exclusion-category', u'Exclude in print', '--
print-template-prefix', u'Print', '--print-template-pattern', u'$1/
Print'] Last Output: 2.6-linux-x86_64.egg/mwlib/metabook.py:225:
DeprecationWarning: deprecated call get('mw_license_url') if
l.get('mw_license_url'): /home/tools/local/lib/python2.6/site-packages/
mwlib-0.12.14-py2.6-linux-x86_64.egg/mwlib/metabook.py:240:
DeprecationWarning: deprecated call get('mw_rights_text') if
l.get('mw_rights_text'): /home/tools/local/lib/python2.6/site-packages/
mwlib-0.12.14-py2.6-linux-x86_64.egg/mwlib/metabook.py:242:
DeprecationWarning: deprecated call get('mw_rights_page') if
l.get('mw_rights_page'): /home/tools/local/lib/python2.6/site-packages/
mwlib-0.12.14-py2.6-linux-x86_64.egg/mwlib/metabook.py:244:
DeprecationWarning: deprecated call get('mw_rights_url') if
l.get('mw_rights_url'): Unhandled error in Deferred: Traceback (most
recent call last): Failure: exceptions.RuntimeError: could not get
siteinfo fatal: could not get siteinfo [[Failure instance: Traceback:
<type 'exceptions.ValueError'>: No JSON object could be decoded /usr/
lib/python2.6/site-packages/twisted/internet/defer.py:
371:_runCallbacks /home/tools/local/lib/python2.6/site-packages/
mwlib-0.12.14-py2.6-linux-x86_64.egg/mwlib/net/mwapi.py:232:done /usr/
lib/python2.6/site-packages/twisted/internet/defer.py:280:callback /
usr/lib/python2.6/site-packages/twisted/internet/defer.py:
354:_startRunCallbacks ---<exception caught here>  --- /usr/lib/
python2.6/site-packages/twisted/internet/defer.py:371:_runCallbacks /
home/tools/local/lib/python2.6/site-packages/mwlib-0.12.14-py2.6-linux-
x86_64.egg/mwlib/net/mwapi.py:22:loads /usr/lib/python2.6/json/
__init__.py:307:loads /usr/lib/python2.6/json/decoder.py:319:decode /
usr/lib/python2.6/json/decoder.py:338:raw_decode ]] Traceback (most
recent call last): File "/usr/lib/python2.6/site-packages/twisted/
internet/defer.py", line 371, in _runCallbacks self.result =
callback(self.result, *args, **kw) File "/home/tools/local/lib/
python2.6/site-packages/mwlib-0.12.14-py2.6-linux-x86_64.egg/mwlib/net/
mwapi.py", line 232, in done d.callback(val) File "/usr/lib/python2.6/
site-packages/twisted/internet/defer.py", line 280, in callback
self._startRunCallbacks(result) File "/usr/lib/python2.6/site-packages/
twisted/internet/defer.py", line 354, in _startRunCallbacks
self._runCallbacks() ---<exception caught here>  --- File "/usr/lib/
python2.6/site-packages/twisted/internet/defer.py", line 371, in
_runCallbacks self.result = callback(self.result, *args, **kw) File "/
home/tools/local/lib/python2.6/site-packages/mwlib-0.12.14-py2.6-linux-
x86_64.egg/mwlib/net/mwapi.py", line 22, in loads return json.loads(s)
File "/usr/lib/python2.6/json/__init__.py", line 307, in loads return
_default_decoder.decode(s) File "/usr/lib/python2.6/json/decoder.py",
line 319, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.6/json/decoder.py", line 338, in raw_decode
raise ValueError("No JSON object could be decoded")
exceptions.ValueError: No JSON object could be decoded retrying: could
not fetch 'http://205.153.116.94/~crinwiki/api.php?
action=parse&redirects=1&oldid=670&format=json' removing tmpdir
u'cache/d0/d0b96f725a28b1f9/tmp5vrJHs' 1.08090895151% error Traceback
(most recent call last): File "/home/tools/local/bin/mw-zip", line 8,
in<module>  load_entry_point('mwlib==0.12.14', 'console_scripts', 'mw-
zip')() File "/home/tools/local/lib/python2.6/site-packages/
mwlib-0.12.14-py2.6-linux-x86_64.egg/mwlib/apps/buildzip.py", line
155, in main make_zip(output, options, env.metabook,
podclient=podclient, status=status) File "/home/tools/local/lib/
python2.6/site-packages/mwlib-0.12.14-py2.6-linux-x86_64.egg/mwlib/
apps/buildzip.py", line 58, in make_zip make_nuwiki(fsdir,
metabook=metabook, options=options, podclient=podclient,
status=status) File "/home/tools/local/lib/python2.6/site-packages/
mwlib-0.12.14-py2.6-linux-x86_64.egg/mwlib/apps/make_nuwiki.py", line
223, in make_nuwiki raise RuntimeError(str(val)) RuntimeError:
[Failure instance: Traceback (failure with no frames):<type
'exceptions.RuntimeError'>: could not get siteinfo ] in function
system, file ./code/sandbox/nslave.py, line 37 in function qaddw,
file /home/tools/local/lib/python2.6/site-packages/qs/slave.py, line
66



Can anyone please assist? We have tried this on 2 different servers
and still get the same problem.

Thanks in advance,

Adam







--
The Green IT Company
Creative Media Centre, 45 robertson Street
Hastings, East Sussex, TN34 1HL

Website: www.greenitcompany.co.uk <http://www.greenitcompany.co.uk>
Skype: greenitcompany <callto://greenitcompany>

GreenIT Consulting, 100% solar powered webhosting, Low voltage computer systems, IT support & Web Design

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