On Thu, Jul 16, 2009 at 8:34 AM, Alex Bernier<[email protected]> wrote:
>
> Hello Ralf and all,
>
> (Sorry, I can't continue the last thread; I can't reply to the Ralfs's mail
> because I didn't recieve it... semms there is a problem betwenn my ISP and
> Google).
>
> Now when I try : $ mw-render  -c http://en.wikipedia.org/w Pythagoras 
> --writer rl --output foo
>
> I get :
> 2009-07-16T08:23:58 mwlib.utils.info >> fetching 
> 'http://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&format=json'
> 2009-07-16T08:23:59 mwapidb.error >> Got exception: AttributeError("'module' 
> object has no attribute 'loads'",)

do you have a json module installed?

try

import json
print json.__file__
print json.loads

in an interactive python interpreter

- Ralf

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