Hello,

Everything seems to work if I set the following.
$wgServer="ingimar-desktop";
$wgCollectionMWServeURL = "http://ingimar-desktop:8899";;

It is now possible to connect to the 'server' ( ingimar-desktop )
using the ip-number.
for instance: http://10.101.1.252/mediawiki/

But using a browser on the host( ingimar-desktop ) and trying to use
'localhost' is not possible.

So:
this is OK. : remote computer : http://10.101.1.252/mediawiki/
this is NOT-OK : same host : http://localhost/mediawiki/

Not that it matters, but it caused me to frown - did not see this bug
right away.

Best regards, Ink
On 28 Juli, 13:53, "Mr.Ink" <[email protected]> wrote:
> Hello,
>
> Did manage to install the mw-render-software and was able to create my
> own book.
> But then something went wrong, it probably has to do with the
> following line in LocalSettings.php.
> -> $wgServer="ingimar-desktop";
> that is the name of my host.
> Would it matter where I place it within the file, does there as to be
> any order ?
>
> putting the following last in Localsettings.php
> -> $wgCollectionMWServeURL = "http://localhost:8899";;
>
> - So this is not working anymore, could anyone give me advice here on
> a 'proper' Localsettings.php file ?
>
> would like to render my material so I try the pediapress server and I
> get the following error:
>
> RuntimeError: RuntimeError: command failed: ['mw-zip', '-o', u'cache/
> 31/318baac14e2bbfa6/collection.zip', '-m', u'cache/31/318baac14e2bbfa6/
> metabook.json', '--status', u'qserve://localhost:
> 14311/318baac14e2bbfa6:makezip', '--config', u'http://10.101.1.252/
> mediawiki', '--template-blacklist', u'MediaWiki:PDF Template
> Blacklist', '--template-exclusion-category', u'Uteslut vid utskrift',
> '--print-template-prefix', u'Utskrift', '--print-template-pattern',
> u'$1/Skriv ut'] in function system, file ./code/sandbox/nslave.py,
> line 36 in function qaddw, file /home/tools/code/mwlib/async/slave.py,
> line 64
>
> regards, Ink

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