Sven <[email protected]> writes:
> Hi.
>
> I am running mw-lib on a 150,000 page sample of the German Wikipedia.
> Nice results, thanks a million!
>
> Is an error rate (almost all of the AttributeError type reported below) of
> 2% expected
> or am I messing up things?
I'm pretty sure it's a bug, not a feature.
>
> ...
> mw-render -c de/wikiconf.txt -o xhtml/193 -w xhtml "Apple"
> ...
>
> "/usr/local/lib/python2.7/site-packages/mwlib-0.12.17-py2.7-linux-x86_64.egg/mwlib/templ/magics.py",
>
> line 444, in IFEXIST
> exists =
> bool(self.wikidb.normalize_and_get_image_path(name.split(":")[1]))
it looks like your wikidb doesn't have a normalize_and_get_image_path
attribute. Are you using cdbwiki?
> File
> "/usr/local/lib/python2.7/site-packages/mwlib-0.12.17-py2.7-linux-x86_64.egg/mwlib/nuwiki.py",
>
> line 330, in __getattr__
> raise AttributeError()
> AttributeError
>
> Sven
--
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.