Ok,
I currently dont have access to another machine that I can install to :
(
Here's the line from LocalSettings. Logging in as PDFUSER works fine
$wgCollectionMWServeCredentials = ( "PDFUSER:USERPDF" );
On Sep 15, 1:36 pm, Johannes Beigel <[EMAIL PROTECTED]>
wrote:
> Am 12.09.2008 um 11:49 schrieb [EMAIL PROTECTED]:
>
>
>
>
>
> > I have installed the extention and it works. However, I tried to
> > "Download as PDF" using the public server (as I have no access other
> > than ftp to upload web stuff) and all i get is the forrowing error
> > text:
>
> > An error occured on the render server: Traceback (most recent call
> > last):
> [...]
>
> > if not self.login(username, password, domain=domain):
> > File "/home/tools/py25/lib/python2.5/site-packages/mwlib-0.8.4.dev-
> > py2.5-linux-x86_64.egg/mwlib/mwapidb.py", line 547, in login
> > return self.api_helper.login(username, password, domain=domain)
> > File "/home/tools/py25/lib/python2.5/site-packages/mwlib-0.8.4.dev-
> > py2.5-linux-x86_64.egg/mwlib/mwapidb.py", line 209, in login
> > result = simplejson.loads(result)
> > File "build/bdist.linux-x86_64/egg/simplejson/__init__.py", line 313,
> > in loads
> > File "build/bdist.linux-x86_64/egg/simplejson/decoder.py", line 321,
> > in decode
> > obj, end = self.raw_decode(s, idx=_w(s, 0).end())
> > File "build/bdist.linux-x86_64/egg/simplejson/decoder.py", line 340,
> > in raw_decode
> > raise ValueError("No JSON object could be decoded")
>
> > ValueError: No JSON object could be decoded
>
> There's some problem when logging in to your wiki. As I don't have
> login credentials, the problem is quite difficult to debug.
>
> Do have the possibility to install mwlib ("easy_install mwlib") on a
> machine and try if this works?:
>
> $ mw-zip -chttp://YOUR/WIKI--login USER:PASSWORD -o test.zip "Some
> Article"
>
> Regards,
> Johannes- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---